]> git.baikalelectronics.ru Git - kernel.git/commit
random: cap the rate which the /dev/urandom pool gets reseeded
authorTheodore Ts'o <tytso@mit.edu>
Sun, 22 Sep 2013 19:14:32 +0000 (15:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Oct 2013 18:32:19 +0000 (14:32 -0400)
commitf61f1a8d7a557757bf4b29844d17ab44cb368537
tree3acaa54c3f8e4dd55723b1c93ae36cbc648ad2bf
parent23c559972187b0c9e32a425da78650662a584db8
random: cap the rate which the /dev/urandom pool gets reseeded

In order to avoid draining the input pool of its entropy at too high
of a rate, enforce a minimum time interval between reseedings of the
urandom pool.  This is set to 60 seconds by default.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
drivers/char/random.c