[PATCH v2 6/6] lkdtm: Fix CFI_BACKWARD on RISC-V
Kees Cook
keescook at chromium.org
Tue Aug 15 16:39:58 PDT 2023
On Tue, Aug 15, 2023 at 08:34:49PM +0000, Sami Tolvanen wrote:
> 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 at google.com>
Acked-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-riscv
mailing list