[PATCH] tools: Ensure tools copy of linux/filter.h exports the UAPI

Will Deacon will at kernel.org
Thu Aug 6 10:11:38 PDT 2026


On Wed, 05 Aug 2026 22:32:23 +0100, Mark Brown wrote:
> 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.
> 
> [...]

Applied to arm64 (for-next/selftests), thanks!

[1/1] tools: Ensure tools copy of linux/filter.h exports the UAPI
      https://git.kernel.org/arm64/c/7a1f400ff5e5

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list