X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2FKconfig;h=98f64ad1caf1817e5535a223f84412422c20c1ed;hb=f0ef2ed2d5b309a989cfb42bfef4c3d3686579c7;hp=31a318a56d98ff6d74c672c906a711d024abb8db;hpb=9fe9bdd75b2ad9ed25152fce02f41fe63c542e8a;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/Kconfig b/arch/Kconfig index 31a318a56d98..98f64ad1caf1 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -423,6 +423,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