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/i386 | |
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/i386')
-rw-r--r-- | sys/i386/conf/GENERIC | 1 | ||||
-rw-r--r-- | sys/i386/conf/NEWCARD | 1 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index f3aff62..e26923b 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/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 diff --git a/sys/i386/conf/NEWCARD b/sys/i386/conf/NEWCARD index 06cc1b4..f5bd712 100644 --- a/sys/i386/conf/NEWCARD +++ b/sys/i386/conf/NEWCARD @@ -219,7 +219,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 diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 936e11d..364543f 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -773,9 +773,6 @@ options ENABLE_VFS_IOOPT # Cryptographically secure random number generator; /dev/[u]random device random -# Avoid blocking the random device -options NOBLOCKRANDOM - ##################################################################### # POSIX P1003.1B |