summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-08-27 14:51:54 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-09-01 12:51:54 -0400
commit9b25436662d5fb4c66eb527ead53cab15f596ee0 (patch)
treef81de29079d0cd3e4816cae947a0a3b0b3c4767a /Documentation
parent9a47249d444d344051c7c0e909fad0e88515a5c2 (diff)
downloadlinux-stable-9b25436662d5fb4c66eb527ead53cab15f596ee0.tar.gz
linux-stable-9b25436662d5fb4c66eb527ead53cab15f596ee0.tar.bz2
linux-stable-9b25436662d5fb4c66eb527ead53cab15f596ee0.zip
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 'Documentation')
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 0c8f7889efa1..227c5c6fa4c1 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3390,6 +3390,12 @@
ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
See Documentation/blockdev/ramdisk.txt.
+ random.trust_cpu={on,off}
+ [KNL] Enable or disable trusting the use of the
+ CPU's random number generator (if available) to
+ fully seed the kernel's CRNG. Default is controlled
+ by CONFIG_RANDOM_TRUST_CPU.
+
ras=option[,option,...] [KNL] RAS-specific options
cec_disable [X86]