From: Heinrich Schuchardt Date: Thu, 22 Jan 2015 18:30:10 +0000 (+0100) Subject: getrandom.2: Mention bug concerning treatment of interrupts X-Git-Tag: man-pages-3.79~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16199698a6601fea7bbbd4f5e47ff8432084570c;p=thirdparty%2Fman-pages.git 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 Signed-off-by: Michael Kerrisk --- diff --git a/man2/getrandom.2 b/man2/getrandom.2 index 59ebbe00d4..d01502e395 100644 --- a/man2/getrandom.2 +++ b/man2/getrandom.2 @@ -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)