Author larry
Recipients Theodore Tso, christian.heimes, dstufft, larry, lemburg, martin.panter, ncoghlan, vstinner
Date 2016-06-09.07:57:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465459069.55.0.0220537557014.issue27266@psf.upfronthosting.co.za>
In-reply-to
Content
> I wonder what we should do on Linux if /dev/urandom is unavailable and getrandom() would block.

I don't think that happens.

getrandom() actually supports two flags.  The flag GRND_RANDOM tells it "behave like /dev/random".  If you don't pass in GRND_RANDOM, it behaves like "/dev/urandom".  So it's hard to imagine that you could have getrandom() and not have /dev/urandom.
History
Date User Action Args
2016-06-09 07:57:49larrysetrecipients: + larry, lemburg, ncoghlan, vstinner, christian.heimes, martin.panter, dstufft, Theodore Tso
2016-06-09 07:57:49larrysetmessageid: <1465459069.55.0.0220537557014.issue27266@psf.upfronthosting.co.za>
2016-06-09 07:57:49larrylinkissue27266 messages
2016-06-09 07:57:49larrycreate