random: make CPU trust a boot parameter
authorKees Cook <keescook@chromium.org>
Mon, 27 Aug 2018 21:51:54 +0000 (14:51 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Sep 2018 16:51:54 +0000 (12:51 -0400)
commit9b25436662d5fb4c66eb527ead53cab15f596ee0
treef81de29079d0cd3e4816cae947a0a3b0b3c4767a
parent9a47249d444d344051c7c0e909fad0e88515a5c2
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>
Documentation/admin-guide/kernel-parameters.txt
drivers/char/Kconfig
drivers/char/random.c