On Tue, Aug 01, 2023 at 08:28:14PM +0300, Mike Rapoport wrote:
On Tue, Aug 01, 2023 at 05:07:00PM +0000, Edgecombe, Rick P wrote:
So the question is not what mode should arm support, but should we have the flags match between x86 and ARM?
What if the flag will be called, say, SHADOW_STACK_DEFAULT_INIT? Then each arch can push whatever it likes to and from the userspace perspective the shadow stack will have some basic init state, no matter what architecture it is.
x86 might have some fun with that and the existing userspace binaries...