diff options
author | 2014-08-16 17:21:56 +0000 | |
---|---|---|
committer | 2014-08-16 17:21:56 +0000 | |
commit | aac66879bf9049f5b2b0b24f050baa7a9c384308 (patch) | |
tree | 7643baab94410b85d58d2ebb85c87ab0604194ac /lib/libc | |
parent | reduce cutoff for "hours only" start times to reduce window of ambiguity. (diff) | |
download | wireguard-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