Merge branch 'for-next/gcc-plugin/structleak' into for-next/gcc-plugins

This commit is contained in:
Kees Cook 2017-08-07 13:29:04 -07:00
commit ad05e6ca7b
3 changed files with 19 additions and 2 deletions

View file

@ -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