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