aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2024-08-23 01:06:43 -0700
committerAlexei Starovoitov <[email protected]>2024-08-23 07:29:02 -0700
commitc52a1e6eb74ffe4f217e9b53ed75440a45b08c4c (patch)
tree3e175f766146311b759b6da87e1d47466064fcd3 /lib/test_fortify/write_overflow-strncpy-src.c
parentec1f77f6557b46639fa47c6980ef9d38995c1e05 (diff)
selftests/bpf: match both retq/rethunk in verifier_tailcall_jit
Depending on kernel parameters, x86 jit generates either retq or jump to rethunk for 'exit' instruction. The difference could be seen when kernel is booted with and without mitigations=off parameter. Relax the verifier_tailcall_jit test case to match both variants. Fixes: e5bdd6a8be78 ("selftests/bpf: validate jit behaviour for tail calls") Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions