[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87jzzh9edv.fsf@toke.dk>
Date: Thu, 16 Mar 2023 11:31:08 +0100
From: Toke Høiland-Jørgensen <toke@...hat.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/2] bpf: Add detection of kfuncs.
Alexei Starovoitov <alexei.starovoitov@...il.com> writes:
> From: Alexei Starovoitov <ast@...nel.org>
>
> Allow BPF programs detect at load time whether particular kfunc exists.
>
> Alexei Starovoitov (2):
> bpf: Allow ld_imm64 instruction to point to kfunc.
> selftests/bpf: Add test for bpf_kfunc_exists().
>
> kernel/bpf/verifier.c | 7 +++++--
> tools/lib/bpf/bpf_helpers.h | 3 +++
> .../selftests/bpf/progs/task_kfunc_success.c | 14 +++++++++++++-
> 3 files changed, 21 insertions(+), 3 deletions(-)
Nice!
For the series:
Reviewed-by: Toke Høiland-Jørgensen <toke@...hat.com>
Powered by blists - more mailing lists