diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2026-08-06 19:15:46 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-06 13:13:00 +0000 |
| commit | eb78ef9cf77a156b4bdebc4417427ef99aab3125 (patch) | |
| tree | d54589a46fdc16feea06d6a9925afc3c7ae98b5d /tools/perf/scripts/python | |
| parent | 2b989c411ab98fa76b7bb3b87ba7a2a4c3b5e946 (diff) | |
kselftest/arm64: Fix abi test compilation errors
The arm64 ABI selftests fail to compile due to missing include paths
for kernel headers, causing errors like incomplete type struct sock_filter
and implicit BPF macro declarations.
Add $(KHDR_INCLUDES) and -I$(top_srcdir)/tools/include to CFLAGS
to resolve the header search path. Also remove the hardcoded __NR_write
macro and include <asm/unistd.h> to obtain the correct syscall number.
Fixes: 21e37da12071 ("kselftest/arm64: Add testcase for SECCOMP_RET_TRACE orig_x0 bypass")
Fixes: 2fcbc4adf997 ("kselftest/arm64: Add seccomp ptrace x0 bypass test")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202608021842.jp6IBrFi-lkp@intel.com/
Suggested-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
