X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2FKconfig;h=e9c9334507ddd57f2fd787f2faa3dac71edc18a7;hb=b8927721ae9d5ac0582d29d7b8c267d465ad5f00;hp=bd8056b5b246058a8c06190811f875a00f30df8d;hpb=0cda611386b2fcbf8bb32e9a5d82bfed4856fc36;p=karo-tx-linux.git diff --git a/arch/Kconfig b/arch/Kconfig index bd8056b5b246..e9c9334507dd 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -461,6 +461,15 @@ config CC_STACKPROTECTOR_STRONG endchoice +config HAVE_ARCH_WITHIN_STACK_FRAMES + bool + help + An architecture should select this if it can walk the kernel stack + frames to determine if an object is part of either the arguments + or local variables (i.e. that it excludes saved return addresses, + and similar) by implementing an inline arch_within_stack_frames(), + which is used by CONFIG_HARDENED_USERCOPY. + config HAVE_CONTEXT_TRACKING bool help