]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/char/random.c
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)
commitf5c2742c23886e707f062881c5f206c1fc704782
tree3acaa54c3f8e4dd55723b1c93ae36cbc648ad2bf
parentc59974aea43fd292a0784dbf7b3d7347e2caf4e9
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