[Bug 230762] getentropy(3) should not use ENOSYS to test existence of getrandom(2)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 20 00:35:45 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230762

Xin LI <delphij at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs at FreeBSD.org            |delphij at FreeBSD.org
                 CC|                            |cem at freebsd.org

--- Comment #1 from Xin LI <delphij at FreeBSD.org> ---
Analysis: In https://reviews.freebsd.org/D14500 I have suggested using ENOSYS
to test the existence of the new entropy system call.  This will not work
unless application already handles SIGSYS.

The solution is to check osreldate instead, I'll create a review soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list