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

From: Will Deacon

Date: Thu Aug 06 2026 - 13:27:13 EST


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