diff options
author | 2023-12-14 17:13:34 -0800 | |
---|---|---|
committer | 2023-12-19 18:06:47 -0800 | |
commit | f0a5056222f2cfa6d40b4c888cb6b01e8569e282 (patch) | |
tree | 48f3b6ea5e3a22eed329e643098b62564b85e910 /net/core/dev.c | |
parent | selftests/bpf: add global subprog annotation tests (diff) | |
download | linux-rng-f0a5056222f2cfa6d40b4c888cb6b01e8569e282.tar.xz linux-rng-f0a5056222f2cfa6d40b4c888cb6b01e8569e282.zip |
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 <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231215011334.2307144-11-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions