]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Add support for GNU/Hurd to getentropy()
authorGuillem Jover <guillem@hadrons.org>
Mon, 14 Dec 2015 02:03:57 +0000 (03:03 +0100)
committerGuillem Jover <guillem@hadrons.org>
Mon, 14 Dec 2015 02:38:23 +0000 (03:38 +0100)
commit7a756875415293e4d1d4b50f1403cb1fc99a5939
tree2c5a2657e79b68a6e2c4eca9a57c2c50e72b244d
parentf84004baf22e26e835515b79613de45708a73391
Add support for GNU/Hurd to getentropy()

Reuse the getentropy code for Linux on the Hurd, which has fallbacks
for when the better interfaces are not present. And remove all the code
that is not supported currently on the Hurd. Ideally the Hurd should
get an equivalent interfaces that does not suffer from the same
problems as /dev/urandom.
COPYING
src/Makefile.am
src/getentropy.c
src/getentropy_hurd.c [new file with mode: 0644]