diff options
author | 2023-09-27 22:48:04 +0000 | |
---|---|---|
committer | 2023-10-27 14:43:10 -0700 | |
commit | 245561ba6d5de42bf73d501f910b181bc7fa5601 (patch) | |
tree | cdb1e0ca68e70b2ba8e0f0258adfdedf28733a9b /tools/perf/scripts/python/check-perf-trace.py | |
parent | riscv: Use separate IRQ shadow call stacks (diff) | |
download | wireguard-linux-245561ba6d5de42bf73d501f910b181bc7fa5601.tar.xz wireguard-linux-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 <samitolvanen@google.com>
Acked-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20230927224757.1154247-14-samitolvanen@google.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions