CVSROOT:        /cvs
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008/11/24 03:30:12

Modified files:
        sys/dev        : rnd.c 

Log message:
Seed the random pool with the dmesg buffer at randomattach().
This lets early arc4random() calls to return at least non-uniqe values
on different machines. The dmesg will have different MAC addresses,
etc. Also ignore the entropy count in arc4_stir, and just take what's
there. sizeof(struct timeval) should be sizof(struct timespec)
This was forgotten when we switched to nanotime.
With help from mickey.
OK djm@, deraadt@

Reply via email to