aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2022-02-03 11:17:32 -0800
committerAlexei Starovoitov <[email protected]>2022-02-03 13:06:04 -0800
commitcf1a4cbce63b766d3b7aa5eb57a56d9a2c45ca6c (patch)
tree96a329a7e099c325022b6499c9ba8baf072b04fd /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c
parentd7e7b42f4f956f2c68ad8cda87d750093dbba737 (diff)
selftests/bpf: Add a selftest for invalid func btf with btf decl_tag
Added a selftest similar to [1] which exposed a kernel bug. Without the fix in the previous patch, the similar kasan error will appear. [1] https://lore.kernel.org/bpf/[email protected]/ Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions