summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-08-07 13:29:04 -0700
committerKees Cook <keescook@chromium.org>2017-08-07 13:29:04 -0700
commitad05e6ca7b5fcf15ff178da662035ec7718f938c (patch)
treef4857cd9389a826a2c56a73b798cbe1bb269b81b /arch/Kconfig
parent9225331b310821760f39ba55b00b8973602adbb5 (diff)
parentf7dd2507893cc3425d3ffc2369559619960befb0 (diff)
downloadlinux-ad05e6ca7b5fcf15ff178da662035ec7718f938c.tar.bz2
Merge branch 'for-next/gcc-plugin/structleak' into for-next/gcc-plugins
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 4ada3209146a..596f0e66e69f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -458,6 +458,13 @@ config GCC_PLUGIN_STRUCTLEAK
* https://grsecurity.net/
* https://pax.grsecurity.net/
+config GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
+ bool "Force initialize all struct type variables passed by reference"
+ depends on GCC_PLUGIN_STRUCTLEAK
+ help
+ Zero initialize any struct type local variable that may be passed by
+ reference without having been initialized.
+
config GCC_PLUGIN_STRUCTLEAK_VERBOSE
bool "Report forcefully initialized variables"
depends on GCC_PLUGIN_STRUCTLEAK