diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2026-07-08 20:41:07 +0200 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-08 20:44:33 +0200 |
| commit | 43f129d2148983f69f8f9c34f2a64d27f888bef1 (patch) | |
| tree | 7bdb63d2a62e182c0a61e1fd57191238ad87e7ab /tools/perf/scripts/python | |
| parent | f3b1d8b7c9d29da675c37b7ce6d0c7a0d4613174 (diff) | |
selftests/bpf: Close fd on unexpected success in signed loader
The signature_enforced, signature_too_large, signature_zero_size and
signature_bad_keyring subtests load a program that must be rejected,
but leave the fd open if the kernel unexpectedly accepts the load:
test_progs asserts record the failure and continue, so the fd would
linger for the rest of the run. Just close it.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20260708184107.369182-1-daniel@iogearbox.net
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
