aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/lru_bug.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2022-11-18 07:26:13 +0530
committerAlexei Starovoitov <ast@kernel.org>2022-11-17 19:22:15 -0800
commitdc2df7bf4c8a24a55ef02ef45dd3e49abc105f76 (patch)
treee229d9fa59c325963245e61c3c505f086895515d /tools/testing/selftests/bpf/prog_tests/lru_bug.c
parent300f19dcdb99b708353d9e46fd660a4765ab277d (diff)
selftests/bpf: Add BTF sanity tests
Preparing the metadata for bpf_list_head involves a complicated parsing step and type resolution for the contained value. Ensure that corner cases are tested against and invalid specifications in source are duly rejected. Also include tests for incorrect ownership relationships in the BTF. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20221118015614.2013203-24-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/lru_bug.c')
0 files changed, 0 insertions, 0 deletions