]> Savannah Git Hosting - gnulib.git/commit
getrandom: Fail with ENOSYS when the system has no randomness source.
authorBruno Haible <bruno@clisp.org>
Sun, 9 May 2021 14:51:10 +0000 (16:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 May 2021 14:51:10 +0000 (16:51 +0200)
commit2bb536310a329ad68dbe20ceb55787f12bf682d5
tree80c2720697608099c7fe8152610f9111216adf4b
parent6ec89f2b332e8db154277d3d85fc80330def829f
getrandom: Fail with ENOSYS when the system has no randomness source.

* lib/getrandom.c (getrandom): When open() fails, set errno to ENOSYS.
ChangeLog
lib/getrandom.c