Re: [PATCH v10 03/40] mman: Add map_shadow_stack() flags

2024-08-15 Thread Catalin Marinas
On Thu, Aug 01, 2024 at 01:06:30PM +0100, Mark Brown wrote: > In preparation for adding arm64 GCS support make the map_shadow_stack() > SHADOW_STACK_SET_TOKEN flag generic and add _SET_MARKER. The existing > flag indicats that a token usable for stack switch should be added to Nit: indicates > di

[PATCH v10 03/40] mman: Add map_shadow_stack() flags

2024-08-01 Thread Mark Brown
In preparation for adding arm64 GCS support make the map_shadow_stack() SHADOW_STACK_SET_TOKEN flag generic and add _SET_MARKER. The existing flag indicats that a token usable for stack switch should be added to the top of the newly mapped GCS region while the new flag indicates that a top of stack