Hi, motivation to add this is to allow to compile reexport on systems with older libc. (getrandom() wrapper is supported on glibc 2.25+ and musl 1.1.20+, uclibc-ng does not yet support it). getrandom() syscall is supported Linux 3.17+ (old enough to bother with a check). I also wonder why getrandom() syscall does not called with GRND_NONBLOCK flag. Is it ok/needed to block? Kind regards, Petr Petr Vorel (3): reexport/fsidd.c: Remove unused headers support/reexport.c: Remove unused headers support/backend_sqlite.c: Add getrandom() fallback Makefile.am | 1 + aclocal/getrandom.m4 | 16 ++++++++++++++++ configure.ac | 3 +++ support/reexport/backend_sqlite.c | 18 +++++++++++++++++- support/reexport/fsidd.c | 10 ---------- support/reexport/reexport.c | 7 ------- 6 files changed, 37 insertions(+), 18 deletions(-) create mode 100644 aclocal/getrandom.m4 -- 2.42.0