Skip to content

Commit 218edd6

Browse files
aspskAlexei Starovoitov
authored andcommitted
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 <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent cbef91d commit 218edd6

File tree

1 file changed

+409
-0
lines changed

1 file changed

+409
-0
lines changed

0 commit comments

Comments
 (0)