From: John Fastabend <john.fastabend@gmail•com>
To: Alexei Starovoitov <alexei.starovoitov@gmail•com>, davem@davemloft•net
Cc: daniel@iogearbox•net, andrii@kernel•org, martin.lau@kernel•org,
void@manifault•com, davemarchevsky@meta•com, tj@kernel•org,
memxor@gmail•com, netdev@vger•kernel.org, bpf@vger•kernel.org,
kernel-team@fb•com
Subject: RE: [PATCH bpf-next 0/3] bpf: Allow helpers access ptr_to_btf_id.
Date: Mon, 13 Mar 2023 22:33:15 -0700 [thread overview]
Message-ID: <6410071b7186f_425812083@john.notmuch> (raw)
In-Reply-To: <20230313235845.61029-1-alexei.starovoitov@gmail.com>
Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@kernel•org>
>
> Allow code like:
> bpf_strncmp(task->comm, 16, "foo");
>
> Alexei Starovoitov (3):
> bpf: Fix bpf_strncmp proto.
> bpf: Allow helpers access trusted PTR_TO_BTF_ID.
> selftests/bpf: Add various tests to check helper access into
> ptr_to_btf_id.
>
> kernel/bpf/helpers.c | 2 +-
> kernel/bpf/verifier.c | 15 ++++++++
> .../selftests/bpf/progs/task_kfunc_failure.c | 36 +++++++++++++++++++
> .../selftests/bpf/progs/task_kfunc_success.c | 4 +++
> 4 files changed, 56 insertions(+), 1 deletion(-)
>
> --
> 2.34.1
>
For the series,
Acked-by: John Fastabend <john.fastabend@gmail•com>
next prev parent reply other threads:[~2023-03-14 5:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 23:58 [PATCH bpf-next 0/3] bpf: Allow helpers access ptr_to_btf_id Alexei Starovoitov
2023-03-13 23:58 ` [PATCH bpf-next 1/3] bpf: Fix bpf_strncmp proto Alexei Starovoitov
2023-03-14 0:02 ` David Vernet
2023-03-13 23:58 ` [PATCH bpf-next 2/3] bpf: Allow helpers access trusted PTR_TO_BTF_ID Alexei Starovoitov
2023-03-14 0:07 ` David Vernet
2023-03-13 23:58 ` [PATCH bpf-next 3/3] selftests/bpf: Add various tests to check helper access into ptr_to_btf_id Alexei Starovoitov
2023-03-14 0:15 ` David Vernet
2023-03-14 0:19 ` Alexei Starovoitov
2023-03-14 5:33 ` John Fastabend [this message]
2023-03-14 6:40 ` [PATCH bpf-next 0/3] bpf: Allow helpers access ptr_to_btf_id patchwork-bot+netdevbpf
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=6410071b7186f_425812083@john.notmuch \
--to=john.fastabend@gmail$(echo .)com \
--cc=alexei.starovoitov@gmail$(echo .)com \
--cc=andrii@kernel$(echo .)org \
--cc=bpf@vger$(echo .)kernel.org \
--cc=daniel@iogearbox$(echo .)net \
--cc=davem@davemloft$(echo .)net \
--cc=davemarchevsky@meta$(echo .)com \
--cc=kernel-team@fb$(echo .)com \
--cc=martin.lau@kernel$(echo .)org \
--cc=memxor@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=tj@kernel$(echo .)org \
--cc=void@manifault$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox