Subject: CVS commit: [netbsd-3] src/sys/dev
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 12/15/2005 20:03:00
Module Name: src
Committed By: tron
Date: Thu Dec 15 20:03:00 UTC 2005
src/sys/dev [netbsd-3]: rnd.c
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 -r220.127.116.11 src/sys/dev/rnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.