From: Alexei Starovoitov <ast@xxxxxxxxxx> 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(-) -- 2.34.1