summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-11-13 21:18:24 +0000
committermarkm <markm@FreeBSD.org>1995-11-13 21:18:24 +0000
commit8c16ebd604343892ac26445d63e7e3ba9eb9eb80 (patch)
tree660609db169a78418c96cf9f87ce1fc6ba137de0 /etc
parent446da0733178e92a1f6fae74ce45a9428b6ea86b (diff)
downloadFreeBSD-src-8c16ebd604343892ac26445d63e7e3ba9eb9eb80.zip
FreeBSD-src-8c16ebd604343892ac26445d63e7e3ba9eb9eb80.tar.gz
Put in a user-configurable variable to allow root to select interrupts to be
used in the entropy-gathering for /dev/random.
Diffstat (limited to 'etc')
-rw-r--r--etc/sysconfig22
1 files changed, 21 insertions, 1 deletions
diff --git a/etc/sysconfig b/etc/sysconfig
index 268ebfb..20e3bb0 100644
--- a/etc/sysconfig
+++ b/etc/sysconfig
@@ -4,7 +4,7 @@
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
-# $Id: sysconfig,v 1.26 1995/09/29 20:10:40 wollman Exp $
+# $Id: sysconfig,v 1.27 1995/10/28 12:41:40 peter Exp $
######################### Start Of Local Configuration Section ###########
@@ -197,3 +197,23 @@ ibcs2=NO
# Set to YES if you want Linux (a.out) emulation loaded at startup
linux=NO
+
+# Set to a string representing the interrupts you are going to use
+# for generating entropy in the kernel (or NO to ignore).
+# The keyboard (IRQ 1) is good if it used a lot.
+# If the machine is networked, the ethernet card is good.
+# The IRQ on an intelligent hard disk controller is good.
+# The IRQ's on most sound devices are good.
+#
+# The following choices are BAD:
+# THe IRQ's on COM-ports (SIO devices), the IRQ used by an IDE
+# disk or CDROM, and the IRQ on the system clock.
+#
+# Experiment with the rest. The best interrupts are the ones that
+# happen fairly irregularly, and never occur in very high-speed bursts.
+#
+# You'll have it right when you have a good supply of numbers from
+# /dev/random, and no problems on your system, like slowdowns,
+# Sluggish net/disk activity, perhaps even errors.
+
+rand_irqs="-s 1"
OpenPOWER on IntegriCloud