Re: [PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
From: Catalin Marinas
Date: Wed Nov 09 2022 - 05:27:06 EST
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