diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-09 23:20:16 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-09 17:05:47 -0700 |
commit | fb2abb73e575b6fcb428f803faf928ef04d5bb1e (patch) | |
tree | cb15ca8b67f832fede7ec54d05a7d68664aa0591 /tools/bpf/bpftool/btf_dumper.c | |
parent | 817998afa038c156bbc1a6e69c48aa26282cc41f (diff) | |
download | linux-fb2abb73e575b6fcb428f803faf928ef04d5bb1e.tar.bz2 |
bpf, selftest: test {rd, wr}only flags and direct value access
Extend test_verifier with various test cases around the two kernel
extensions, that is, {rd,wr}only map support as well as direct map
value access. All passing, one skipped due to xskmap not present
on test machine:
# ./test_verifier
[...]
#948/p XDP pkt read, pkt_meta' <= pkt_data, bad access 1 OK
#949/p XDP pkt read, pkt_meta' <= pkt_data, bad access 2 OK
#950/p XDP pkt read, pkt_data <= pkt_meta', good access OK
#951/p XDP pkt read, pkt_data <= pkt_meta', bad access 1 OK
#952/p XDP pkt read, pkt_data <= pkt_meta', bad access 2 OK
Summary: 1410 PASSED, 1 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/btf_dumper.c')
0 files changed, 0 insertions, 0 deletions