diff options
| author | Yonghong Song <[email protected]> | 2022-02-03 19:17:32 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-02-03 21:06:04 +0000 |
| commit | cf1a4cbce63b766d3b7aa5eb57a56d9a2c45ca6c (patch) | |
| tree | 96a329a7e099c325022b6499c9ba8baf072b04fd /tools/lib/bpf/libbpf.c | |
| parent | bpf: Fix a btf decl_tag bug when tagging a function (diff) | |
| download | kernel-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
