hurd: Make getrandom honour GRND_NONBLOCK

System Internals / glibc - James Clarke [jrtc27.com] - 17 December 2019 19:38 UTC

- sysdeps/mach/hurd/getrandom.c (__getrandom): Open the random source with O_NONBLOCK when the GRND_NONBLOCK flag is provided.

a45244ce12 hurd: Make getrandom honour GRND_NONBLOCK
sysdeps/mach/hurd/getrandom.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Upstream: sourceware.org


  • Share