Source-Changes archive

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

CVS commit: src/sys/sys



Module Name:    src
Committed By:   riastradh
Date:           Mon Apr 13 15:39:20 UTC 2015

Modified Files:
        src/sys/sys: rnd.h
Added Files:
        src/sys/sys: rndio.h rndpool.h rndsource.h

Log Message:
Split <sys/rnd.h> into several header files.

It is silly that changing it causes ~the whole kernel to rebuild.
New header files:

- <sys/rndio.h> (user/kernel) for the ioctl interface.
- <sys/rndsource.h> (kernel-only) for the entropy source API.
- <sys/rndpool.h> (kernel-only) for the entropy pool algorithm.

(We already had <sys/rndsink.h> for the asynchronous reseed API.)

For now, <sys/rnd.h> includes all of these, until all users are
converted to include what they actually need.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/sys/rnd.h
cvs rdiff -u -r0 -r1.1 src/sys/sys/rndio.h src/sys/sys/rndpool.h \
    src/sys/sys/rndsource.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