commit | 7a9bb9762d3302bb407c7bdb0b5f754e5aa595a5 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri Apr 26 16:39:49 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Apr 27 09:07:05 2019 -0700 |
tree | 03964740cff0910b8d8e82a9cc554d0f547479cd | |
parent | 3f4d4c74101d60b88d23289bd4f5f6126c7235fc [diff] |
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>