On Wed, 2 Mar 2022 23:43:23 -0800, Dan Li wrote: > Shadow call stacks will be available in GCC >= 12, this patch makes > the corresponding kernel configuration available when compiling > the kernel with the gcc. > > Note that the implementation in GCC is slightly different from Clang. > With SCS enabled, functions will only pop x30 once in the epilogue, > like: > > [...] I'm taking this one now so it'll make the merge window. We can hammer out the lkdtm test after that. Applied to for-next/hardening, thanks! [1/2] arm64: Add gcc Shadow Call Stack support https://git.kernel.org/kees/c/afcf5441b9ff -- Kees Cook