]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mcookie: (man) add note about getrandom()
authorKarel Zak <kzak@redhat.com>
Mon, 19 Mar 2018 13:03:33 +0000 (14:03 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 19 Mar 2018 13:03:33 +0000 (14:03 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/mcookie.1

index 4a6959d48df486a1950ee19a55a88c62284c6041..254157902d064ed85ae8fdc417eadec64e62f93f 100644 (file)
@@ -17,15 +17,17 @@ system.  Typical usage:
 .PP
 The "random" number generated is actually the MD5 message
 digest of random information coming from one of the sources
+.IR "getrandom() "
+system call,
 .IR /dev/urandom ,
 .IR /dev/random ,
 or the
 .IR "libc pseudo-random functions" ,
-in this preference order.
+in this preference order. See also the option \fB\-\-file\fR.
 .SH OPTIONS
 .TP
 .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.
 .TP
 .BR \-m , " \-\-max\-size " \fInumber