Skip to content

Commit 4ebddf3

Browse files
aspskKernel Patches Daemon
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]>
1 parent 6cf4995 commit 4ebddf3

File tree

1 file changed

+409
-0
lines changed

1 file changed

+409
-0
lines changed

0 commit comments

Comments
 (0)