Thread (16 messages) 16 messages, 2 authors, 2022-04-06

Re: (subset) [PATCH v3 1/2] AARCH64: Add gcc Shadow Call Stack support

From: Kees Cook <hidden>
Date: 2022-03-10 18:17:12
Also in: linux-hardening, linux-kselftest, lkml, llvm

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help