Closed dsprenkels closed 6 years ago
This PR changes the /dev/urandom implemantation such that the return value from open() is now checked. If it is -1, we return.
/dev/urandom
open()
-1
Note that we do not need to set errno, because open() has set it for us.
errno
This PR changes the
/dev/urandom
implemantation such that the return value fromopen()
is now checked. If it is-1
, we return.Note that we do not need to set
errno
, becauseopen()
has set it for us.