diff options
author | John Fastabend <john.fastabend@gmail.com> | 2021-07-08 01:38:48 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-07-09 13:08:40 +0300 |
commit | 1fb5ba29ad0835c5cbfc69a27f9c2733cb65726e (patch) | |
tree | a5eb64721247147d3aa1ee5c3d26954ab6743588 /include/linux/bpf.h | |
parent | f263a81451c12da5a342d90572e317e611846f2c (diff) | |
download | linux-1fb5ba29ad0835c5cbfc69a27f9c2733cb65726e.tar.xz |
bpf: Selftest to verify mixing bpf2bpf calls and tailcalls with insn patch
This adds some extra noise to the tailcall_bpf2bpf4 tests that will cause
verify to patch insns. This then moves around subprog start/end insn
index and poke descriptor insn index to ensure that verify and JIT will
continue to track these correctly.
If done correctly verifier should pass this program same as before and
JIT should emit tail call logic.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210707223848.14580-3-john.fastabend@gmail.com
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions