[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166798958453.3807941.18336415954221459051.b4-ty@arm.com>
Date: Wed, 9 Nov 2022 10:26:29 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Andrii Nakryiko <andrii@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kuniyuki Iwashima <kuniyu@...zon.com>,
Will Deacon <will@...nel.org>,
Alexei Starovoitov <ast@...nel.org>
Cc: Kuniyuki Iwashima <kuni1840@...il.com>,
linux-kernel@...r.kernel.org, Akihiro HARAI <jharai0815@...il.com>,
bpf@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Jiri Olsa <jolsa@...nel.org>
Subject: Re: [PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
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
Powered by blists - more mailing lists