aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_maps.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2019-04-26 16:39:49 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-04-27 09:07:05 -0700
commit7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5 (patch)
tree03964740cff0910b8d8e82a9cc554d0f547479cd /tools/testing/selftests/bpf/test_maps.c
parentbpf: Refactor BTF encoding macro to test_btf.h (diff)
downloadlinux-dev-7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5.tar.xz
linux-dev-7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5.zip
bpf: Add verifier tests for the bpf_sk_storage
This patch adds verifier tests for the bpf_sk_storage: 1. ARG_PTR_TO_MAP_VALUE_OR_NULL 2. Map and helper compatibility (e.g. disallow bpf_map_loookup_elem) It also takes this chance to remove the unused struct btf_raw_data and uses the BTF encoding macros from "test_btf.h". Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_maps.c')
0 files changed, 0 insertions, 0 deletions