aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2023-09-27 22:48:04 +0000
committerPalmer Dabbelt <[email protected]>2023-10-27 21:43:10 +0000
commit245561ba6d5de42bf73d501f910b181bc7fa5601 (patch)
treecdb1e0ca68e70b2ba8e0f0258adfdedf28733a9b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentriscv: Use separate IRQ shadow call stacks (diff)
downloadkernel-245561ba6d5de42bf73d501f910b181bc7fa5601.tar.gz
kernel-245561ba6d5de42bf73d501f910b181bc7fa5601.zip
lkdtm: Fix CFI_BACKWARD on RISC-V
On RISC-V, the return address is before the current frame pointer, unlike on most other architectures. Use the correct offset on RISC-V to fix the CFI_BACKWARD test. Signed-off-by: Sami Tolvanen <[email protected]> Acked-by: Kees Cook <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions