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

Mark Brown broonie at kernel.org
Tue Aug 15 14:01:57 PDT 2023


On Tue, Aug 15, 2023 at 08:42:52PM +0000, Edgecombe, Rick P wrote:
> On Mon, 2023-08-07 at 23:00 +0100, Mark Brown wrote:
> > +       if (flags & ~(SHADOW_STACK_SET_TOKEN |
> > SHADOW_STACK_SET_MARKER))
> > +               return -EINVAL;

> Thanks for adding SHADOW_STACK_SET_MARKER. I don't see where it is
> defined in these patches though. Might have been left out on accident?

I added it to the dependency patches I've got which pull bits out of the
x86 series prior to you having rebased it, the ABI bits are mixed in
with the x86 architecture changes which I didn't feel like dealing with
the rebasing for so I pulled out the ABI portions.  I'll resolve this
properly when I rebase back onto the x86 series (ideally after the next
merge window it'll be in mainline!).  For these that'll probably boil
down to adding defines to prctl.h for the generic prctl API.
-------------- 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/20230815/b1f9265d/attachment.sig>


More information about the linux-riscv mailing list