mcookie: (man) add note about getrandom()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-03-19 14:03:33 +01:00
parent dcb22a598d
commit 655776a2c1
1 changed files with 4 additions and 2 deletions

View File

@ -17,15 +17,17 @@ system. Typical usage:
.PP .PP
The "random" number generated is actually the MD5 message The "random" number generated is actually the MD5 message
digest of random information coming from one of the sources digest of random information coming from one of the sources
.IR "getrandom() "
system call,
.IR /dev/urandom , .IR /dev/urandom ,
.IR /dev/random , .IR /dev/random ,
or the or the
.IR "libc pseudo-random functions" , .IR "libc pseudo-random functions" ,
in this preference order. in this preference order. See also the option \fB\-\-file\fR.
.SH OPTIONS .SH OPTIONS
.TP .TP
.BR \-f , " \-\-file " \fIfile .BR \-f , " \-\-file " \fIfile
Use this \fIfile\fR as an additional source of randomness. Use this \fIfile\fR as an additional source of randomness (for example /dev/urandom).
When \fIfile\fR is '-', characters are read from standard input. When \fIfile\fR is '-', characters are read from standard input.
.TP .TP
.BR \-m , " \-\-max\-size " \fInumber .BR \-m , " \-\-max\-size " \fInumber