aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/str_error.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-05-07 00:13:31 +0000
committerMartin KaFai Lau <[email protected]>2024-05-07 23:21:59 +0000
commit9d66d60e968d85742569d025a2fb509cb57333bb (patch)
tree0056133a1840fba0679ecead0f07574264f7a33f /tools/lib/bpf/str_error.c
parentlibbpf: handle yet another corner case of nulling out struct_ops program (diff)
downloadkernel-9d66d60e968d85742569d025a2fb509cb57333bb.tar.gz
kernel-9d66d60e968d85742569d025a2fb509cb57333bb.zip
selftests/bpf: add another struct_ops callback use case test
Add a test which tests the case that was just fixed. Kernel has full type information about callback, but user explicitly nulls out the reference to declaratively set BPF program reference. Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions