mirror of https://github.com/mkerrisk/man-pages
random.7: Tewaks after review by Ted T'so
Reviewed-by: Theodore Ts'o <tytso@mit.edu> Reported-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
76d8c32d6f
commit
091ae4d20b
|
@ -139,16 +139,18 @@ interfaces that can be used to obtain randomness.
|
|||
.B GRND_NONBLOCK
|
||||
is a flag that can be used to control the blocking behavior of
|
||||
.BR getrandom (2).
|
||||
The final column of the table considers the case that can occur
|
||||
in early boot time when the entropy pool is not yet initialized.
|
||||
.ad l
|
||||
.TS
|
||||
allbox;
|
||||
lbw13 lbw12 lbw15 lbw18
|
||||
lbw13 lbw12 lbw14 lbw18
|
||||
l l l l.
|
||||
Interface Pool T{
|
||||
Blocking
|
||||
\%behavior
|
||||
T} T{
|
||||
Behavior in early boot time
|
||||
Behavior when pool is not yet ready
|
||||
T}
|
||||
T{
|
||||
.I /dev/random
|
||||
|
@ -174,7 +176,7 @@ T} T{
|
|||
Same as
|
||||
.I /dev/urandom
|
||||
T} T{
|
||||
Does not block once pool ready
|
||||
Does not block once is pool ready
|
||||
T} T{
|
||||
Blocks until pool ready
|
||||
T}
|
||||
|
@ -196,10 +198,9 @@ T} T{
|
|||
Same as
|
||||
.I /dev/urandom
|
||||
T} T{
|
||||
Does not block
|
||||
Does not block once is pool ready
|
||||
T} T{
|
||||
.B EAGAIN
|
||||
if pool not ready
|
||||
T}
|
||||
T{
|
||||
.BR getrandom ()
|
||||
|
@ -214,7 +215,6 @@ T} T{
|
|||
if not enough entropy available
|
||||
T} T{
|
||||
.B EAGAIN
|
||||
if pool not ready
|
||||
T}
|
||||
.TE
|
||||
.ad
|
||||
|
|
Loading…
Reference in New Issue