random: Mix cputime from each thread that exits to the pool
authorNick Kossifidis <mickflemm@gmail.com>
Mon, 17 Dec 2012 03:18:11 +0000 (22:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 Dec 2012 03:18:11 +0000 (22:18 -0500)
When a thread exits mix it's cputime (userspace + kernelspace) to the entropy pool.

We don't know how "random" this is, so we use add_device_randomness that doesn't mess
with entropy count.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found