Star64_linux/tools/testing/selftests/bpf
Josef Bacik 29200c199c bpf: test for AND edge cases
These two tests are based on the work done for f23cc643f9.  The first test is
just a basic one to make sure we don't allow AND'ing negative values, even if it
would result in a valid index for the array.  The second is a cleaned up version
of the original testcase provided by Jann Horn that resulted in the commit.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-06 22:35:58 -05:00
..
.gitignore bpf: Add tests for the lpm trie map 2017-01-23 16:10:38 -05:00
bpf_sys.h
bpf_util.h bpf: fix multiple issues in selftest suite and samples 2016-11-27 20:38:47 -05:00
config
Makefile bpf: add prog tag test case to bpf selftests 2017-01-24 14:46:06 -05:00
test_kmod.sh selftests: do not require bash to run bpf tests 2017-01-05 13:19:47 -07:00
test_lpm_map.c bpf: Add tests for the lpm trie map 2017-01-23 16:10:38 -05:00
test_lru_map.c bpf: Fix test_lru_sanity5() in test_lru_map.c 2017-01-17 15:39:39 -05:00
test_maps.c bpf: fix multiple issues in selftest suite and samples 2016-11-27 20:38:47 -05:00
test_tag.c bpf: use prefix_len in test_tag when reading fdinfo 2017-01-25 23:15:28 -05:00
test_verifier.c bpf: test for AND edge cases 2017-02-06 22:35:58 -05:00