Searched hist:f26ebdd3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | f26ebdd3 Mon May 15 08:37:54 CDT 2023 Jiri Olsa <jolsa@kernel.org> 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 <void@manifault.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20230515133756.1658301-9-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|