diff options
author | Jiri Olsa <[email protected]> | 2023-05-15 15:37:54 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-05-16 22:09:23 -0700 |
commit | f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b (patch) | |
tree | c17f2d702cbb5404b91d8f83fa1b80bb09fc70e1 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
parent | b23b385fa18f2196872bc3337c98ddd221c2827b (diff) |
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/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions