diff options
| author | Martin KaFai Lau <[email protected]> | 2024-08-29 21:08:31 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-08-30 01:15:45 +0000 |
| commit | cada0bdcc471443dbd41bd63286f48be3dae0d89 (patch) | |
| tree | f51686d057312ce2b455de8613d6c8ea5668a89f /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
| parent | selftests/bpf: A pro/epilogue test when the main prog jumps back to the 1st insn (diff) | |
| download | kernel-cada0bdcc471443dbd41bd63286f48be3dae0d89.tar.gz kernel-cada0bdcc471443dbd41bd63286f48be3dae0d89.zip | |
selftests/bpf: Test epilogue patching when the main prog has multiple BPF_EXIT
This patch tests the epilogue patching when the main prog has
multiple BPF_EXIT. The verifier should have patched the 2nd (and
later) BPF_EXIT with a BPF_JA that goes back to the earlier
patched epilogue instructions.
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions
