diff options
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 8e0d665c8d53..75dd23acf133 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -464,6 +464,10 @@ config GCC_PLUGIN_LATENT_ENTROPY | |||
464 | config GCC_PLUGIN_STRUCTLEAK | 464 | config GCC_PLUGIN_STRUCTLEAK |
465 | bool "Force initialization of variables containing userspace addresses" | 465 | bool "Force initialization of variables containing userspace addresses" |
466 | depends on GCC_PLUGINS | 466 | depends on GCC_PLUGINS |
467 | # Currently STRUCTLEAK inserts initialization out of live scope of | ||
468 | # variables from KASAN point of view. This leads to KASAN false | ||
469 | # positive reports. Prohibit this combination for now. | ||
470 | depends on !KASAN_EXTRA | ||
467 | help | 471 | help |
468 | This plugin zero-initializes any structures containing a | 472 | This plugin zero-initializes any structures containing a |
469 | __user attribute. This can prevent some classes of information | 473 | __user attribute. This can prevent some classes of information |