hardening: Clarify Kconfig text for auto-var-init
authorKees Cook <keescook@chromium.org>
Tue, 20 Jul 2021 21:54:17 +0000 (14:54 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 21 Jul 2021 06:02:59 +0000 (23:02 -0700)
commitdcb7c0b9461c2a30f6616262736daac6f01ecb09
treefa77128f5e1d499cf582e6b6c998eea74a83e325
parenta82adfd5c7cb4b8bb37ef439aed954f9972bb618
hardening: Clarify Kconfig text for auto-var-init

Clarify the details around the automatic variable initialization modes
available. Specifically this details the values used for pattern init
and expands on the rationale for zero init safety. Additionally makes
zero init the default when available.

Cc: glider@google.com
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: linux-security-module@vger.kernel.org
Cc: clang-built-linux@googlegroups.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org>
security/Kconfig.hardening