From 866fa681855e27197034b26c62f07cfe5e4767cf Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 4 Feb 2015 10:16:43 +0100 Subject: [PATCH] random.4: Since Linux 3.16, reads from /dev/urandom return at most 32 MB See https://bugs.debian.org/775328 and https://bugzilla.kernel.org/show_bug.cgi?id=80981#c9 Reported-by: Mathieu Malaterre Signed-off-by: Michael Kerrisk --- man4/random.4 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/man4/random.4 b/man4/random.4 index 352f1a845..f98fef0f0 100644 --- a/man4/random.4 +++ b/man4/random.4 @@ -81,7 +81,15 @@ for the device .IR /dev/urandom , signals will not be handled until after the requested random bytes have been generated. -.LP + +Since Linux 3.16, +.\" commit 79a8468747c5f95ed3d5ce8376a3e82e0c5857fc +a +.BR read (2) +from +.IR /dev/urandom +will return at most 32 MB. + Writing to \fI/dev/random\fP or \fI/dev/urandom\fP will update the entropy pool with the data written, but this will not result in a higher entropy count.