linux/tools/testing/selftests/bpf
Thomas Graf 3f731d89e4 bpf: add additional verifier tests for BPF_PROG_TYPE_LWT_*
- direct packet read is allowed for LWT_*
 - direct packet write for LWT_IN/LWT_OUT is prohibited
 - direct packet write for LWT_XMIT is allowed
 - access to skb->tc_classid is prohibited for LWT_*

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-06 10:14:52 -05:00
..
.gitignore bpf: Preserve const register type on const OR alu ops 2016-12-05 13:40:05 -05:00
bpf_sys.h bpf: add initial suite for selftests 2016-10-18 11:35:55 -04:00
bpf_util.h bpf: fix multiple issues in selftest suite and samples 2016-11-27 20:38:47 -05:00
config bpf: add initial suite for selftests 2016-10-18 11:35:55 -04:00
Makefile bpf: Add tests for the LRU bpf_htab 2016-11-15 11:50:43 -05:00
test_kmod.sh bpf: add initial suite for selftests 2016-10-18 11:35:55 -04:00
test_lru_map.c bpf: fix multiple issues in selftest suite and samples 2016-11-27 20:38:47 -05:00
test_maps.c bpf: fix multiple issues in selftest suite and samples 2016-11-27 20:38:47 -05:00
test_verifier.c bpf: add additional verifier tests for BPF_PROG_TYPE_LWT_* 2016-12-06 10:14:52 -05:00