summaryrefslogtreecommitdiff
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-08-28 00:51:54 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-09-01 19:51:54 +0300
commit9b25436662d5fb4c66eb527ead53cab15f596ee0 (patch)
treef81de29079d0cd3e4816cae947a0a3b0b3c4767a /drivers/char/Kconfig
parent9a47249d444d344051c7c0e909fad0e88515a5c2 (diff)
downloadlinux-9b25436662d5fb4c66eb527ead53cab15f596ee0.tar.xz
random: make CPU trust a boot parameter
Instead of forcing a distro or other system builder to choose at build time whether the CPU is trusted for CRNG seeding via CONFIG_RANDOM_TRUST_CPU, provide a boot-time parameter for end users to control the choice. The CONFIG will set the default state instead. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index ce277ee0a28a..40728491f37b 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -566,5 +566,5 @@ config RANDOM_TRUST_CPU
that CPU manufacturer (perhaps with the insistence or mandate
of a Nation State's intelligence or law enforcement agencies)
has not installed a hidden back door to compromise the CPU's
- random number generation facilities.
-
+ random number generation facilities. This can also be configured
+ at boot with "random.trust_cpu=on/off".