Re: [PATCH 0/3] x86/shstk: ban ia32 sigreturn
From: Edgecombe, Rick P
Date: Thu Oct 08 2026 - 17:00:55 EST
On Thu, 2026-10-08 at 20:16 +0000, Richard Patel wrote:
> (This scenario is basically
> impossible to occur in the wild, but it's probably worth fixing
> nonetheless.)
The original purpose of limiting it at all vs just leaving it unimplemented was
to not have to think through the implications. Since there was an easy way to
dissuade almost all usage, it was closed. If it will require plugging a bunch of
loose ends then I think the cost/benefit needs to be revisited.
I'd also wonder if we couldn't do a shadow stack check in do_int80_emulation()
vs for each syscall that might grow shadow stack behavior someday.