diff options
author | markm <markm@FreeBSD.org> | 2001-01-14 17:50:15 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-01-14 17:50:15 +0000 |
commit | fde03d4ba0b04f3dc0e504b99bf4b5a12359f122 (patch) | |
tree | 4a6216120f3cbda94e9ad852b391b1317252bac6 /sys/amd64/conf | |
parent | 6ea140035b15c1c3554f6526405c31ec69408c97 (diff) | |
download | FreeBSD-src-fde03d4ba0b04f3dc0e504b99bf4b5a12359f122.zip FreeBSD-src-fde03d4ba0b04f3dc0e504b99bf4b5a12359f122.tar.gz |
Remove NOBLOCKRANDOM as a compile-time option. Instead, provide
exactly the same functionality via a sysctl, making this feature
a run-time option.
The default is 1(ON), which means that /dev/random device will
NOT block at startup.
setting kern.random.sys.seeded to 0(OFF) will cause /dev/random
to block until the next reseed, at which stage the sysctl
will be changed back to 1(ON).
While I'm here, clean up the sysctls, and make them dynamic.
Reviewed by: des
Tested on Alpha by: obrien
Diffstat (limited to 'sys/amd64/conf')
-rw-r--r-- | sys/amd64/conf/GENERIC | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index f3aff62..e26923b 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -205,7 +205,6 @@ device wi # WaveLAN/IEEE 802.11 wireless NICs. # Pseudo devices - the number indicates how many units to allocated. device random # Entropy device -options NOBLOCKRANDOM # avoid any blocking on device random device loop # Network loopback device ether # Ethernet support device sl # Kernel SLIP |