On Fri, Jul 25, 2025 at 04:13:27PM +0000, Sami Tolvanen wrote: > On Thu, Jul 24, 2025 at 04:37:03PM -0700, Deepak Gupta wrote: > > If shadow stack have memory protections from underlying cpu, use those > > protections. arches can define PAGE_KERNEL_SHADOWSTACK to vmalloc such shadow > > stack pages. Hw assisted shadow stack pages grow downwards like regular > > stack. Clang based software shadow call stack grows low to high address. > Is this the case for all the current hardware shadow stack > implementations? If not, we might want a separate config for the > shadow stack direction instead. It's true for arm64.