mirror of https://github.com/mkerrisk/man-pages
getrandom.2: Minor tweaks to Heinrich's text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
11353d7b62
commit
2c7135dbfb
|
@ -173,7 +173,7 @@ This system call is Linux-specific.
|
||||||
As of Linux 3.19 the following limits apply:
|
As of Linux 3.19 the following limits apply:
|
||||||
.IP * 3
|
.IP * 3
|
||||||
When reading from
|
When reading from
|
||||||
.I /dev/urandom
|
.IR /dev/urandom ,
|
||||||
a maximum of 33554431 bytes is returned by a single call to
|
a maximum of 33554431 bytes is returned by a single call to
|
||||||
.BR getrandom ()
|
.BR getrandom ()
|
||||||
on a system where
|
on a system where
|
||||||
|
@ -181,13 +181,13 @@ on a system where
|
||||||
has a size of 32 bits.
|
has a size of 32 bits.
|
||||||
.IP *
|
.IP *
|
||||||
When reading from
|
When reading from
|
||||||
.I /dev/random
|
.IR /dev/random ,
|
||||||
a maximum of 512 bytes is returned.
|
a maximum of 512 bytes is returned.
|
||||||
.SS Initilization of the entropy pool
|
.SS Initialization of the entropy pool
|
||||||
The kernel collects bits of entropy from environment.
|
The kernel collects bits of entropy from environment.
|
||||||
When a sufficient number of random bits has been collected the
|
When a sufficient number of random bits has been collected, the
|
||||||
.I /dev/urandom
|
.I /dev/urandom
|
||||||
entropy pool is set to initialized.
|
entropy pool is considered to be initialized.
|
||||||
.SS Interruption by a signal handler
|
.SS Interruption by a signal handler
|
||||||
A call to
|
A call to
|
||||||
.BR getrandom ()
|
.BR getrandom ()
|
||||||
|
|
Loading…
Reference in New Issue