Re: [PATCH v11 25/25] x86/cet/shstk: Add arch_prctl functions for shadow stack

From: Yu, Yu-cheng
Date: Tue Aug 25 2020 - 19:34:34 EST


On 8/25/2020 4:20 PM, Dave Hansen wrote:
On 8/25/20 2:04 PM, Yu, Yu-cheng wrote:
I think this is more arch-specific.  Even if it becomes a new syscall,
we still need to pass the same parameters.

Right, but without the copying in and out of memory.

Linux-api is already on the Cc list.  Do we need to add more people to
get some agreements for the syscall?
What kind of agreement are you looking for? I'd suggest just coding it
up and posting the patches. Adding syscalls really is really pretty
straightforward and isn't much code at all.


Sure, I will do that.

Thanks,
Yu-cheng