[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6410071b7186f_425812083@john.notmuch>
Date: Mon, 13 Mar 2023 22:33:15 -0700
From: John Fastabend <john.fastabend@...il.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>,
davem@...emloft.net
Cc: daniel@...earbox.net, andrii@...nel.org, martin.lau@...nel.org,
void@...ifault.com, davemarchevsky@...a.com, tj@...nel.org,
memxor@...il.com, netdev@...r.kernel.org, bpf@...r.kernel.org,
kernel-team@...com
Subject: RE: [PATCH bpf-next 0/3] bpf: Allow helpers access ptr_to_btf_id.
Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@...nel.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@...il.com>
Powered by blists - more mailing lists