summaryrefslogtreecommitdiffstats
path: root/misc-utils/mcookie.1
diff options
context:
space:
mode:
authorKarel Zak2018-03-19 14:03:33 +0100
committerKarel Zak2018-03-19 14:03:33 +0100
commit655776a2c18cac7071e3828e7733403817fc861b (patch)
tree8f39d3689931975bd29be852be8c9501cc1607de /misc-utils/mcookie.1
parentMerge branch 'master' of https://github.com/dirkmueller/util-linux (diff)
downloadkernel-qcow2-util-linux-655776a2c18cac7071e3828e7733403817fc861b.tar.gz
kernel-qcow2-util-linux-655776a2c18cac7071e3828e7733403817fc861b.tar.xz
kernel-qcow2-util-linux-655776a2c18cac7071e3828e7733403817fc861b.zip
mcookie: (man) add note about getrandom()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/mcookie.1')
-rw-r--r--misc-utils/mcookie.16
1 files changed, 4 insertions, 2 deletions
diff --git a/misc-utils/mcookie.1 b/misc-utils/mcookie.1
index 4a6959d48..254157902 100644
--- a/misc-utils/mcookie.1
+++ b/misc-utils/mcookie.1
@@ -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