aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-12-14 17:13:34 -0800
committerAlexei Starovoitov <[email protected]>2023-12-19 18:06:47 -0800
commitf0a5056222f2cfa6d40b4c888cb6b01e8569e282 (patch)
tree48f3b6ea5e3a22eed329e643098b62564b85e910 /kernel/bpf/memalloc.c
parent0a0ffcac92d5b41133c97d260ad1f320572783a5 (diff)
selftests/bpf: add freplace of BTF-unreliable main prog test
Add a test validating that freplace'ing another main (entry) BPF program fails if the target BPF program doesn't have valid/expected func proto BTF. We extend fexit_bpf2bpf test to allow to specify expected log message for negative test cases (where freplace program is expected to fail to load). Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/memalloc.c')
0 files changed, 0 insertions, 0 deletions