random.4: Note maximum number of bytes returned by read(2) on /dev/random

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-02-04 10:25:33 +01:00
parent 866fa68185
commit 44da0e2405
1 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,13 @@ a
from
.IR /dev/urandom
will return at most 32 MB.
A
.BR read (2)
from
.IR /dev/random
will return at most 512 bytes
.\" SEC_XFER_SIZE in drivers/char/random.c
(340 bytes on Linux kernels before version 2.6.12).
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