diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-01-14 22:09:51 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-18 14:26:42 -0800 |
commit | 0201b80772ac2b712bbbfe783cdb731fdfb4247e (patch) | |
tree | bc10106b0dccb734df9251722a9c3ae25834e008 /tools/testing/selftests/bpf/prog_tests/kfunc_call.c | |
parent | 87091063df5d4845d1db0761a9ed5510c4756a96 (diff) |
selftests/bpf: Add test_verifier support to fixup kfunc call insns
This allows us to add tests (esp. negative tests) where we only want to
ensure the program doesn't pass through the verifier, and also verify
the error. The next commit will add the tests making use of this.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20220114163953.1455836-9-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/kfunc_call.c')
0 files changed, 0 insertions, 0 deletions