Kconfig (d08b9f0ca6605e13dcb48f04e55a30545b3c71eb) Kconfig (ddc9863e9e9025e2fc0c8dba31cc060cd626606f)
1# SPDX-License-Identifier: GPL-2.0
2#
3# General architecture dependent options
4#
5
6#
7# Note: arch/$(SRCARCH)/Kconfig needs to be included first so that it can
8# override the default values in this file.

--- 529 unchanged lines hidden (view full) ---

538 help
539 An architecture should select this if it supports Clang's Shadow
540 Call Stack, has asm/scs.h, and implements runtime support for shadow
541 stack switching.
542
543config SHADOW_CALL_STACK
544 bool "Clang Shadow Call Stack"
545 depends on CC_IS_CLANG && ARCH_SUPPORTS_SHADOW_CALL_STACK
1# SPDX-License-Identifier: GPL-2.0
2#
3# General architecture dependent options
4#
5
6#
7# Note: arch/$(SRCARCH)/Kconfig needs to be included first so that it can
8# override the default values in this file.

--- 529 unchanged lines hidden (view full) ---

538 help
539 An architecture should select this if it supports Clang's Shadow
540 Call Stack, has asm/scs.h, and implements runtime support for shadow
541 stack switching.
542
543config SHADOW_CALL_STACK
544 bool "Clang Shadow Call Stack"
545 depends on CC_IS_CLANG && ARCH_SUPPORTS_SHADOW_CALL_STACK
546 depends on DYNAMIC_FTRACE_WITH_REGS || !FUNCTION_GRAPH_TRACER
546 help
547 This option enables Clang's Shadow Call Stack, which uses a
548 shadow stack to protect function return addresses from being
549 overwritten by an attacker. More information can be found in
550 Clang's documentation:
551
552 https://clang.llvm.org/docs/ShadowCallStack.html
553

--- 438 unchanged lines hidden ---
547 help
548 This option enables Clang's Shadow Call Stack, which uses a
549 shadow stack to protect function return addresses from being
550 overwritten by an attacker. More information can be found in
551 Clang's documentation:
552
553 https://clang.llvm.org/docs/ShadowCallStack.html
554

--- 438 unchanged lines hidden ---