Message ID | 20230313235845.61029-1-alexei.starovoitov@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Allow helpers access ptr_to_btf_id. | expand |
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>
Hello: This series was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: On Mon, 13 Mar 2023 16:58:42 -0700 you 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. > > [...] Here is the summary with links: - [bpf-next,1/3] bpf: Fix bpf_strncmp proto. https://git.kernel.org/bpf/bpf-next/c/c9267aa8b794 - [bpf-next,2/3] bpf: Allow helpers access trusted PTR_TO_BTF_ID. https://git.kernel.org/bpf/bpf-next/c/3e30be4288b3 - [bpf-next,3/3] selftests/bpf: Add various tests to check helper access into ptr_to_btf_id. https://git.kernel.org/bpf/bpf-next/c/f25fd6088216 You are awesome, thank you!
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(-)