Date: Mon, 20 Aug 2018 00:35:43 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230762] getentropy(3) should not use ENOSYS to test existence of getrandom(2) Message-ID: <bug-230762-227-mgRgNc8qSy@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230762-227@https.bugs.freebsd.org/bugzilla/> References: <bug-230762-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230762 Xin LI <delphij@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |delphij@FreeBSD.org CC| |cem@freebsd.org --- Comment #1 from Xin LI <delphij@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230762-227-mgRgNc8qSy>
