diff options
author | 2024-04-05 09:30:41 -0500 | |
---|---|---|
committer | 2024-04-05 10:58:10 -0700 | |
commit | 1bc724af00cc48ef03e3fa6d7a2f6731ac915c37 (patch) | |
tree | 654f4867da71174bdb8586e55af19feae16fd6f8 /include/linux/bpf.h | |
parent | bpf: Allow invoking kfuncs from BPF_PROG_TYPE_SYSCALL progs (diff) | |
download | wireguard-linux-1bc724af00cc48ef03e3fa6d7a2f6731ac915c37.tar.xz wireguard-linux-1bc724af00cc48ef03e3fa6d7a2f6731ac915c37.zip |
selftests/bpf: Verify calling core kfuncs from BPF_PROG_TYPE_SYCALL
Now that we can call some kfuncs from BPF_PROG_TYPE_SYSCALL progs, let's
add some selftests that verify as much. As a bonus, let's also verify
that we can't call the progs from raw tracepoints. Do do this, we add a
new selftest suite called verifier_kfunc_prog_types.
Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240405143041.632519-3-void@manifault.com
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions