diff options
author | Kees Cook <keescook@chromium.org> | 2017-08-07 22:29:04 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-08-07 22:29:04 +0200 |
commit | ad05e6ca7b5fcf15ff178da662035ec7718f938c (patch) | |
tree | f4857cd9389a826a2c56a73b798cbe1bb269b81b /arch/Kconfig | |
parent | randstruct: Enable function pointer struct detection (diff) | |
parent | gcc-plugins: structleak: add option to init all vars used as byref args (diff) | |
download | linux-ad05e6ca7b5fcf15ff178da662035ec7718f938c.tar.xz linux-ad05e6ca7b5fcf15ff178da662035ec7718f938c.zip |
Merge branch 'for-next/gcc-plugin/structleak' into for-next/gcc-plugins
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 7 |
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 |