From owner-cvs-all Sun Jan 14 9:50:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 004BF37B400; Sun, 14 Jan 2001 09:50:16 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0EHoFi58667; Sun, 14 Jan 2001 09:50:15 -0800 (PST) (envelope-from markm) Message-Id: <200101141750.f0EHoFi58667@freefall.freebsd.org> From: Mark Murray Date: Sun, 14 Jan 2001 09:50:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf options src/sys/alpha/conf GENERIC src/sys/i386/conf GENERIC NEWCARD NOTES src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/dev/random randomdev.c yarrow.c yarrow.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG markm 2001/01/14 09:50:15 PST Modified files: sys/conf options sys/alpha/conf GENERIC sys/i386/conf GENERIC NEWCARD NOTES sys/ia64/conf GENERIC sys/pc98/conf GENERIC sys/dev/random randomdev.c yarrow.c yarrow.h Log: 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 Revision Changes Path 1.243 +1 -4 src/sys/conf/options 1.104 +1 -2 src/sys/alpha/conf/GENERIC 1.298 +1 -2 src/sys/i386/conf/GENERIC 1.36 +1 -2 src/sys/i386/conf/NEWCARD 1.871 +1 -4 src/sys/i386/conf/NOTES 1.6 +1 -2 src/sys/ia64/conf/GENERIC 1.166 +1 -2 src/sys/pc98/conf/GENERIC 1.22 +53 -20 src/sys/dev/random/randomdev.c 1.28 +6 -1 src/sys/dev/random/yarrow.c 1.14 +2 -2 src/sys/dev/random/yarrow.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message