Commit 5d0e5ea3 authored by Stephan Müller's avatar Stephan Müller Committed by Theodore Ts'o

random: fix comment for unused random_min_urandom_seed

The variable random_min_urandom_seed is not needed any more as it
defined the reseeding behavior of the nonblocking pool. Though it is not
needed any more, it is left in the code for user space interface
compatibility.
Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 43d8a72c
...@@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64; ...@@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64;
static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS; static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS;
/* /*
* The minimum number of seconds between urandom pool reseeding. We * Variable is currently unused by left for user space compatibility.
* do this to limit the amount of entropy that can be drained from the
* input pool even if there are heavy demands on /dev/urandom.
*/ */
static int random_min_urandom_seed = 60; static int random_min_urandom_seed = 60;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment