(subset) [PATCH v3 1/2] AARCH64: Add gcc Shadow Call Stack support
Kees Cook
keescook at chromium.org
Thu Mar 10 10:15:37 PST 2022
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
More information about the linux-arm-kernel
mailing list