Re:Myths about /dev/urandom (2014)
by JoshTriplett on Thursday January 05, 2017 @08:31PM
(#13333193)
True, but never pass GRND_RANDOM or GRND_NONBLOCK.
[ Parent
| on HN ]
NONBLOCK just returns an error code instead of blocking. No harm in that, AFIAK.
Re:Myths about /dev/urandom (2014)
by marcosdumay on Friday January 06, 2017 @09:35AM
(#13336434)
Just wait until people start using the EAGAIN value in keys.
Why do these flags exist if they should never be used?
Re:Myths about /dev/urandom (2014)
by marcosdumay on Friday January 06, 2017 @09:37AM
(#13336450)
There are probably good uses for them.
But unless you are doing something very tightly integrated with Linux, you should just ignore them.