svn commit: r256094 - in projects/random_number_generator/sys: boot/forth conf dev/random kern sys

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 7 18:56:56 UTC 2013


On Sun, Oct 06, 2013 at 10:45:03PM +0000, Mark Murray wrote:
> Author: markm
> Date: Sun Oct  6 22:45:02 2013
> New Revision: 256094
> URL: http://svnweb.freebsd.org/changeset/base/256094
> 
> Log:
>   Snapshot.
>   
>   Looking pretty good; this mostly works now. New code includes:
>   
>   * Read cached entropy at startup, both from files and from loader(8) preloaded entropy. Failures are soft, but announced. Untested.
>   
>   * Use EVENTHANDLER to do above just before we go multiuser. Untested.
[...]
> +int randomdev_read_file(const char *filename, void *buf);
> +int randomdev_write_file(const char *filename, void *buf);

Can we pass buffer sizes explicitely and not just assume it is PAGE_SIZE?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20131007/d2cdda88/attachment.sig>


More information about the svn-src-projects mailing list