diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-05-06 17:13:34 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-07 16:21:59 -0700 |
commit | 41df0733ea414a49094258adab4d600db0420731 (patch) | |
tree | aeec94caec6a45199bcc6668e4b00da233894564 /lib/kfifo.c | |
parent | c78420bafe7cf9ce14fa7ceb40ce62e1372e661d (diff) |
selftests/bpf: validate struct_ops early failure detection logic
Add a simple test that validates that libbpf will reject isolated
struct_ops program early with helpful warning message.
Also validate that explicit use of such BPF program through BPF skeleton
after BPF object is open won't trigger any warnings.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240507001335.1445325-7-andrii@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions