All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Kuniyuki Iwashima <kuniyu@amazon.com>,
	Will Deacon <will@kernel.org>,
	Alexei Starovoitov <ast@kernel.org>
Cc: Kuniyuki Iwashima <kuni1840@gmail.com>,
	linux-kernel@vger.kernel.org,
	Akihiro HARAI <jharai0815@gmail.com>,
	bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Jiri Olsa <jolsa@kernel.org>
Subject: Re: [PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
Date: Wed,  9 Nov 2022 10:26:29 +0000	[thread overview]
Message-ID: <166798958453.3807941.18336415954221459051.b4-ty@arm.com> (raw)
In-Reply-To: <20221031215728.50389-1-kuniyu@amazon.com>

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


WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Kuniyuki Iwashima <kuniyu@amazon.com>,
	Will Deacon <will@kernel.org>,
	Alexei Starovoitov <ast@kernel.org>
Cc: Kuniyuki Iwashima <kuni1840@gmail.com>,
	linux-kernel@vger.kernel.org,
	Akihiro HARAI <jharai0815@gmail.com>,
	bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Jiri Olsa <jolsa@kernel.org>
Subject: Re: [PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
Date: Wed,  9 Nov 2022 10:26:29 +0000	[thread overview]
Message-ID: <166798958453.3807941.18336415954221459051.b4-ty@arm.com> (raw)
In-Reply-To: <20221031215728.50389-1-kuniyu@amazon.com>

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-11-09 10:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 21:57 [PATCH] arm64/syscall: Include asm/ptrace.h in syscall_wrapper header Kuniyuki Iwashima
2022-10-31 21:57 ` Kuniyuki Iwashima
2022-11-04 21:12 ` Andrii Nakryiko
2022-11-04 21:12   ` Andrii Nakryiko
2022-11-09 10:26 ` Catalin Marinas [this message]
2022-11-09 10:26   ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=166798958453.3807941.18336415954221459051.b4-ty@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jharai0815@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kuni1840@gmail.com \
    --cc=kuniyu@amazon.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.