]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getrandom.2: Mention bug concerning treatment of interrupts
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 22 Jan 2015 18:30:10 +0000 (19:30 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 29 Jan 2015 08:02:41 +0000 (09:02 +0100)
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>
man2/getrandom.2

index 59ebbe00d4fb55957d6f062cc2792e17dbacc789..d01502e395691f5aab9b9abf71b438ec0810d23a 100644 (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)