hurd: Make getrandom return ENOSYS when /dev/random is not set up
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 1 Jul 2023 12:23:40 +0000 (14:23 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 1 Jul 2023 12:23:40 +0000 (14:23 +0200)
commit494714d4073502145689eafc197f5ab6ffe4c3e5
tree68a6aefefb98b0e63cd111369f2b5d4159f22895
parent0a9e93842d8e535ac8174cb4ff7fb830b20e4ae7
hurd: Make getrandom return ENOSYS when /dev/random is not set up

So that callers (e.g. __arc4random_buf) don't try calling it again.
sysdeps/mach/hurd/getrandom.c