Message267973
> 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. |
|
Date |
User |
Action |
Args |
2016-06-09 07:57:49 | larry | set | recipients:
+ larry, lemburg, ncoghlan, vstinner, christian.heimes, martin.panter, dstufft, Theodore Tso |
2016-06-09 07:57:49 | larry | set | messageid: <1465459069.55.0.0220537557014.issue27266@psf.upfronthosting.co.za> |
2016-06-09 07:57:49 | larry | link | issue27266 messages |
2016-06-09 07:57:49 | larry | create | |
|