]> git.baikalelectronics.ru Git - kernel.git/commit
x86, rdrand: When nordrand is specified, disable RDSEED as well
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 12 May 2014 03:25:20 +0000 (20:25 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 12 May 2014 03:25:20 +0000 (20:25 -0700)
commitc4bd4d7f8f9f9dd014b684b39139a5744ccbaef4
tree5539029ddca915b6c5d1e4e688e2943393c3f811
parent992383c95ec7ad652d78c0258f849d6a422720f4
x86, rdrand: When nordrand is specified, disable RDSEED as well

One can logically expect that when the user has specified "nordrand",
the user doesn't want any use of the CPU random number generator,
neither RDRAND nor RDSEED, so disable both.

Reported-by: Stephan Mueller <smueller@chronox.de>
Cc: Theodore Ts'o <tytso@mit.edu>
Link: http://lkml.kernel.org/r/21542339.0lFnPSyGRS@myon.chronox.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Documentation/kernel-parameters.txt
arch/x86/kernel/cpu/rdrand.c