mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
tools: Ensure tools copy of linux/filter.h exports the UAPI
Normally when there is an include/foo.h and an include/uapi/foo.h the non-UAPI copy includes the UAPI copy. This is the case for the in kernel copy of linux/filter.h but not for the copy in tools/ which results in build breaks for the newly added arm64 seccomp_ptrace_x0_bypass selftest. Add an explicit include of the uapi to fix the test and avoid future surprises. Fixes:2fcbc4adf9("kselftest/arm64: Add seccomp ptrace x0 bypass test") Fixes:f143c11bb7("tools: bpf: Use local copy of headers including uapi/linux/filter.h") Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
eb78ef9cf7
commit
7a1f400ff5
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue