aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-12-07 12:16:48 -0800
committerAlexei Starovoitov <[email protected]>2022-12-07 17:01:22 -0800
commit26c386ecf0212affb50f02dabcb0152995b99b07 (patch)
tree8a40af6940b5d1f40d5c9f89dba4490141ff8f44 /kernel/bpf/helpers.c
parent537c3f66eac137a02ec50a40219d2da6597e5dc9 (diff)
selftests/bpf: convert dynptr_fail and map_kptr_fail subtests to generic tester
Convert big chunks of dynptr and map_kptr subtests to use generic verification_tester. They are switched from using manually maintained tables of test cases, specifying program name and expected error verifier message, to btf_decl_tag-based annotations directly on corresponding BPF programs: __failure to specify that BPF program is expected to fail verification, and __msg() to specify expected log message. Acked-by: John Fastabend <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions