Source-Changes archive

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

CVS commit: [tls-earlyentropy] src/sys



Module Name:    src
Committed By:   tls
Date:           Mon Apr  7 02:20:00 UTC 2014

Modified Files:
        src/sys/kern [tls-earlyentropy]: init_main.c kern_rndq.c kern_sysctl.c
            subr_autoconf.c subr_prf.c
        src/sys/sys [tls-earlyentropy]: kprintf.h

Log Message:
Get more entropy into the system early:

        1) Add device attach timings from autoconf.
        2) Accumulate the output of kernel printf (as well as the times
           when it's called) and add this periodically.  To avoid issues
           with recursion through diagnostic printfs, we use SHA512 to
           accumulate the printf output, then mix in its output.
        3) Add all sysctl settings -- mixes in the hostname and likely a
           bit more.


To generate a diff of this commit:
cvs rdiff -u -r1.454 -r1.454.2.1 src/sys/kern/init_main.c
cvs rdiff -u -r1.23.2.1 -r1.23.2.2 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.249 -r1.249.2.1 src/sys/kern/kern_sysctl.c
cvs rdiff -u -r1.230 -r1.230.2.1 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.153 -r1.153.2.1 src/sys/kern/subr_prf.c
cvs rdiff -u -r1.11 -r1.11.26.1 src/sys/sys/kprintf.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