Subject: CVS commit: [netbsd-3] src/sys/dev
To: None <>
From: Matthias Scheler <>
List: source-changes
Date: 12/15/2005 20:03:00
Module Name:	src
Committed By:	tron
Date:		Thu Dec 15 20:03:00 UTC 2005

Modified Files:
	src/sys/dev [netbsd-3]: rnd.c

Log Message:
Pull up following revision(s) (requested by chs in ticket #1046):
	sys/dev/rnd.c: revision 1.47
Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)

To generate a diff of this commit:
cvs rdiff -r1.46 -r1.46.2.1 src/sys/dev/rnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.