Thread (10 messages) 10 messages, 6 authors, 2014-08-03

Re: [PATCH -v4] random: introduce getrandom(2) system call

From: Theodore Ts'o <hidden>
Date: 2014-07-21 22:24:53
Also in: linux-api, lkml

On Mon, Jul 21, 2014 at 10:21:26PM +0200, Till Smejkal wrote:
Hi,

On Fri, 18 Jul 2014, Theodore Ts'o wrote:
[...]
quoted
	If the GRND_RANDOM bit is not set, then the /dev/urandom pool
	will be used.  Unlike using read(2) to fetch data from
	/dev/urandom, if the urandom pool has not been sufficiently
	initialized, getrandom(2) will block or return -1 with the
	errno set to EGAIN if the GRND_NONBLOCK bit is set in flags.
                 ^^^^^
Small typo: this should be EAGAIN.
Thanks for pointing this out!  Will fix.

					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help