[PATCH v6 00/33] riscv control-flow integrity for usermode
Mark Brown
broonie at kernel.org
Wed Oct 9 04:05:57 PDT 2024
On Tue, Oct 08, 2024 at 03:36:42PM -0700, Deepak Gupta wrote:
> Equivalent to landing pad (zicfilp) on x86 is `ENDBRANCH` instruction in Intel
> CET [3] and branch target identification (BTI) [4] on arm.
> Similarly x86's Intel CET has shadow stack [5] and arm64 has guarded control
> stack (GCS) [6] which are very similar to risc-v's zicfiss shadow stack.
> x86 already supports shadow stack for user mode and arm64 support for GCS in
> usermode [7] is ongoing.
FWIW the arm64 support is now in -next, including these:
> Mark Brown (2):
> mm: Introduce ARCH_HAS_USER_SHADOW_STACK
> prctl: arch-agnostic prctl for shadow stack
shared changes to generic code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20241009/903d687b/attachment.sig>
More information about the linux-riscv
mailing list