diff options
author | bcook <> | 2014-08-16 17:21:56 +0000 |
---|---|---|
committer | bcook <> | 2014-08-16 17:21:56 +0000 |
commit | 3d2b3709ef615f448f930446b6be45e86d99e121 (patch) | |
tree | 701058bfac5c41cde9d8166f828591fe39396f9c /src/lib/libc/stdlib/getopt_long.3 | |
parent | b84c34616978bc8f3ea82a0dd558239cc583e2af (diff) | |
download | openbsd-3d2b3709ef615f448f930446b6be45e86d99e121.tar.gz openbsd-3d2b3709ef615f448f930446b6be45e86d99e121.tar.bz2 openbsd-3d2b3709ef615f448f930446b6be45e86d99e121.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 'src/lib/libc/stdlib/getopt_long.3')
0 files changed, 0 insertions, 0 deletions