Re: [PATCH 1/1] getrandom.2: mention bug concerning treatment of interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/22/2015 07:30 PM, Heinrich Schuchardt wrote:
> Theodore Ts'o confirmed the bug described in
> https://lkml.org/lkml/2014/11/29/16
> 
> It should be mentioned in the manpage.

Thanks, Heinrich. Applied.

Cheers,

Michael



> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
> ---
>  man2/getrandom.2 | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/man2/getrandom.2 b/man2/getrandom.2
> index 5bf57b7..e9f62c5 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
> @@ -252,6 +252,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)
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux