Thread (31 messages) flat view 31 messages, 2 authors, 2020-12-29

Re: [PATCH v16 02/26] x86/cet/shstk: Add Kconfig option for user-mode control-flow protection

From: Borislav Petkov <bp@alien8.de>
Date: 2020-12-29 12:42:09
Also in: linux-arch, linux-doc, linux-mm, lkml

On Wed, Dec 09, 2020 at 02:22:56PM -0800, Yu-cheng Yu wrote:
Shadow Stack provides protection against function return address
corruption.  It is active when the processor supports it, the kernel has
CONFIG_X86_CET_USER, and the application is built for the feature.
		     ^
		   enabled.
This is only implemented for the 64-bit kernel.  When it is enabled, legacy
non-Shadow Stack applications continue to work, but without protection.

Signed-off-by: Yu-cheng Yu <redacted>
---
 arch/x86/Kconfig           | 22 ++++++++++++++++++++++
 arch/x86/Kconfig.assembler |  5 +++++
 2 files changed, 27 insertions(+)
Rest looks good, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help