diff options
author | Martin KaFai Lau <kafai@fb.com> | 2019-04-26 16:39:49 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-27 09:07:05 -0700 |
commit | 7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5 (patch) | |
tree | 03964740cff0910b8d8e82a9cc554d0f547479cd /lib/stackdepot.c | |
parent | 3f4d4c74101d60b88d23289bd4f5f6126c7235fc (diff) | |
download | linux-7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5.tar.gz linux-7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5.tar.bz2 linux-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 'lib/stackdepot.c')
0 files changed, 0 insertions, 0 deletions