summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2014-08-16 17:21:56 +0000
committerbcook <bcook@openbsd.org>2014-08-16 17:21:56 +0000
commitaac66879bf9049f5b2b0b24f050baa7a9c384308 (patch)
tree7643baab94410b85d58d2ebb85c87ab0604194ac /lib/libc
parentreduce cutoff for "hours only" start times to reduce window of ambiguity. (diff)
downloadwireguard-openbsd-aac66879bf9049f5b2b0b24f050baa7a9c384308.tar.xz
wireguard-openbsd-aac66879bf9049f5b2b0b24f050baa7a9c384308.zip
getrandom(2) support for getentropy_linux
This enables support for the new getrandom(2) syscall in Linux 3.17. If the call exists and fails, return a failure in getentropy(2) emulation as well. This adds a EINTR check in case the urandom pool is not initialized. Tested on Fedora Rawhide with 3.17rc0 and Ubuntu 14.04 ok deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions