Doesn't require an fd, and could be a bit faster, so let's make use of it, if it is available.
539618a util: make use of the new getrandom() syscall if it is available when needing entropy
configure.ac | 3 ++-
src/shared/missing.h | 15 +++++++++++++++
src/shared/util.c | 25 ++++++++++++++++++++++++-
3 files changed, 41 insertions(+), 2 deletions(-)
Upstream: github.com