summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/hashmap.c
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2025-11-05 09:04:02 +0000
committerAlexei Starovoitov <ast@kernel.org>2025-11-05 17:53:18 -0800
commit218edd6db6b984d09d9965553b1742f42138754b (patch)
tree7b035c6cceb077bf62d2e8b06e5dbd0f722edd14 /tools/testing/selftests/bpf/prog_tests/hashmap.c
parentcbef91de0271b3d0c965a9eee5c33d49db24cd20 (diff)
selftests/bpf: add selftests for new insn_array map
Add the following selftests for new insn_array map: * Incorrect instruction indexes are rejected * Two programs can't use the same map * BPF progs can't operate the map * no changes to code => map is the same * expected changes when instructions are added * expected changes when instructions are deleted * expected changes when multiple functions are present Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251105090410.1250500-5-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/hashmap.c')
0 files changed, 0 insertions, 0 deletions