[PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.

Catalin Marinas catalin.marinas at arm.com
Wed Nov 9 02:26:29 PST 2022


On Mon, 31 Oct 2022 14:57:28 -0700, Kuniyuki Iwashima wrote:
> Add the same change for ARM64 as done in the commit 9440c4294160
> ("x86/syscall: Include asm/ptrace.h in syscall_wrapper header") to
> make sure all syscalls see 'struct pt_regs' definition and resulted
> BTF for '__arm64_sys_*(struct pt_regs *regs)' functions point to
> actual struct.
> 
> Without this patch, the BPF verifier refuses to load a tracing prog
> which accesses pt_regs.
> 
> [...]

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

[1/1] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
      https://git.kernel.org/arm64/c/acfc35cfcee5

-- 
Catalin




More information about the linux-arm-kernel mailing list