summaryrefslogtreecommitdiff
path: root/include/linux/bpf.h
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2021-07-08 01:38:48 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2021-07-09 13:08:40 +0300
commit1fb5ba29ad0835c5cbfc69a27f9c2733cb65726e (patch)
treea5eb64721247147d3aa1ee5c3d26954ab6743588 /include/linux/bpf.h
parentf263a81451c12da5a342d90572e317e611846f2c (diff)
downloadlinux-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