Re: [PATCH v6 16/33] riscv/shstk: If needed allocate a new shadow stack on clone

From: Mark Brown
Date: Wed Oct 09 2024 - 06:25:53 EST


On Tue, Oct 08, 2024 at 10:55:29PM +0000, Edgecombe, Rick P wrote:

> A lot of this patch and the previous one is similar to x86's and arm's. It great
> that we can have consistency around this behavior.

> There might be enough consistency to refactor some of the arch code into a
> kernel/shstk.c.

> Should we try?

I think so - I think we discussed it before. I was thinking of looking
at it once the clone3() stuff settles down, I don't want to trigger any
unneeded refectorings there and cause further delays.

Attachment: signature.asc
Description: PGP signature