getrandom.2: Mention bug concerning treatment of interrupts

Theodore Ts'o confirmed the bug described in
https://lkml.org/lkml/2014/11/29/16

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Heinrich Schuchardt 2015-01-22 19:30:10 +01:00 committed by Michael Kerrisk
parent e8009a53e8
commit 16199698a6
1 changed files with 8 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.TH GETRANDOM 2 2014-10-03 "Linux" "Linux Programmer's Manual"
.TH GETRANDOM 2 2015-01-22 "Linux" "Linux Programmer's Manual"
.SH NAME
getrandom \- obtain a series of random bytes
.SH SYNOPSIS
@ -257,6 +257,13 @@ failure:
}
.fi
.in
.SH BUGS
As of Linux 3.19, the following bug exists:
.PP
.\" FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
Depending on CPU load
.BR getrandom ()
does not react to interrupts before reading all bytes requested.
.SH SEE ALSO
.BR random (4),
.BR urandom (4)