Add fallback paths for when the getrandom(2) system call is not available. Try /dev/urandom first and sysctl(RANDOM_UUID) second. The sysctl issues a warning in the system logs with some kernels but that seems like an acceptable tradeoff for the fallback of a fallback.
Ben Noordhuis committed on 2/4/2018, 5:58:36 PMparent15eb28e
4 files changedLine totals unavailable