Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1547777 > unrolled thread

[PATCH 6/8] random: fix comment for unused random_min_urandom_seed

Started byStephan Müller <smueller@chronox.de>
First post2016-12-27 23:50 +0100
Last post2016-12-27 23:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/8] random: fix comment for unused random_min_urandom_seed Stephan Müller <smueller@chronox.de> - 2016-12-27 23:50 +0100

#1547777 — [PATCH 6/8] random: fix comment for unused random_min_urandom_seed

FromStephan Müller <smueller@chronox.de>
Date2016-12-27 23:50 +0100
Subject[PATCH 6/8] random: fix comment for unused random_min_urandom_seed
Message-ID<sT8Jb-86X-1@gated-at.bofh.it>
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: Stephan Mueller <smueller@chronox.de>
---
 drivers/char/random.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/char/random.c b/drivers/char/random.c
index d19108c..89d67c0 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64;
 static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS;
 
 /*
- * The minimum number of seconds between urandom pool reseeding.  We
- * 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.
+ * Variable is currently unused by left for user space compatibility.
  */
 static int random_min_urandom_seed = 60;
 
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web