diff options
author | David Vernet <void@manifault.com> | 2024-04-05 09:30:41 -0500 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-04-05 10:58:10 -0700 |
commit | 1bc724af00cc48ef03e3fa6d7a2f6731ac915c37 (patch) | |
tree | 654f4867da71174bdb8586e55af19feae16fd6f8 /tools/lib/bpf | |
parent | a8e03b6bbb2cc7cf387d1ce335e4ce4c3bdfef9b (diff) |
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 'tools/lib/bpf')
0 files changed, 0 insertions, 0 deletions