[PATCH v4 21/36] arm64/mm: Implement map_shadow_stack()

Mark Brown broonie at kernel.org
Fri Aug 18 10:08:52 PDT 2023


On Fri, Aug 11, 2023 at 05:38:24PM +0100, Catalin Marinas wrote:

> Given that we won't have an mmap(PROT_SHADOW_STACK), are we going to
> have restrictions on mprotect()? E.g. it would be useful to reject a
> PROT_EXEC on the shadow stack.

mprotect() uses arch_validate_flags() which we're already having cover
this so it's already covered.
-------------- 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-arm-kernel/attachments/20230818/8c9a55a0/attachment-0001.sig>


More information about the linux-arm-kernel mailing list