Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/sys



Module Name:    src
Committed By:   riz
Date:           Wed Oct 17 21:27:12 UTC 2012

Modified Files:
        src/sys/kern [netbsd-6]: kern_rndq.c subr_cprng.c
        src/sys/sys [netbsd-6]: rnd.h

Log Message:
Pull up following revision(s) (requested by tls in ticket #558):
        sys/sys/rnd.h: revision 1.33
        sys/kern/subr_cprng.c: revision 1.10
        sys/kern/kern_rndq.c: revision 1.4
        sys/kern/subr_cprng.c: revision 1.11
        sys/kern/kern_rndq.c: revision 1.5
Try to help embedded systems a _little_ bit: stir in the system boot time
as early as possible.  On systems with no cycle counter (or very very
predictable cycle counts early in boot) at least this will cause some
difference across boots.
Don't wait until the pool *fills* to rekey anything that was keyed with
insufficient entropy at boot: key it as soon as it makes any request after
we hit the minimum entropy threshold.
This too should help avoid predictable output at boot time.
Fix kern/46911: note that we rekeyed the cprng so we don't keep doing so.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.5.2.3 -r1.5.2.4 src/sys/kern/subr_cprng.c
cvs rdiff -u -r1.29.2.2 -r1.29.2.3 src/sys/sys/rnd.h

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




Home | Main Index | Thread Index | Old Index