diff options
| author | Jiri Olsa <[email protected]> | 2023-05-15 13:37:54 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-05-17 05:09:23 +0000 |
| commit | f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b (patch) | |
| tree | c17f2d702cbb5404b91d8f83fa1b80bb09fc70e1 /tools/bpf/bpftool/prog.c | |
| parent | selftests/bpf: Load bpf_testmod for verifier test (diff) | |
| download | kernel-f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b.tar.gz kernel-f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b.zip | |
selftests/bpf: Allow to use kfunc from testmod.ko in test_verifier
Currently the test_verifier allows test to specify kfunc symbol
and search for it in the kernel BTF.
Adding the possibility to search for kfunc also in bpf_testmod
module when it's not found in kernel BTF.
To find bpf_testmod btf we need to get back SYS_ADMIN cap.
Acked-by: David Vernet <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
