aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2022-02-03 19:17:32 +0000
committerAlexei Starovoitov <[email protected]>2022-02-03 21:06:04 +0000
commitcf1a4cbce63b766d3b7aa5eb57a56d9a2c45ca6c (patch)
tree96a329a7e099c325022b6499c9ba8baf072b04fd /tools/lib/bpf/libbpf.c
parentbpf: Fix a btf decl_tag bug when tagging a function (diff)
downloadkernel-cf1a4cbce63b766d3b7aa5eb57a56d9a2c45ca6c.tar.gz
kernel-cf1a4cbce63b766d3b7aa5eb57a56d9a2c45ca6c.zip
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/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions