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/alpha/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/alpha/conf')
-rw-r--r-- | sys/alpha/conf/GENERIC | 1 | ||||
-rw-r--r-- | sys/alpha/conf/NOTES | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/alpha/conf/GENERIC b/sys/alpha/conf/GENERIC index d5cbe3a..6ffae61 100644 --- a/sys/alpha/conf/GENERIC +++ b/sys/alpha/conf/GENERIC @@ -153,7 +153,6 @@ device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # 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/alpha/conf/NOTES b/sys/alpha/conf/NOTES index d5cbe3a..6ffae61 100644 --- a/sys/alpha/conf/NOTES +++ b/sys/alpha/conf/NOTES @@ -153,7 +153,6 @@ device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # 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 |