Date: Thu, 15 Feb 2018 19:34:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194204] getentropy(2): sys call from openbsd Message-ID: <bug-194204-8-Wy8DDZc3Mq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-194204-8@https.bugs.freebsd.org/bugzilla/> References: <bug-194204-8@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=194204 --- Comment #11 from Mateusz Guzik <mjg@FreeBSD.org> --- > I think that's the wrong way to look at it; if we have a weak CSPRNG that needs to be fixed, regardless of the mechanism by which userland obtains entropy from kernel. The way of looking at it was that if the compatibility mechanism is to be provided it has to be not weaker than OpenBSD equivalent. Entropy for the rest of the kernel is a very different issue. > Seems like it could be implemented as a thin shim around the sysctl, no? Why do we need a syscall for it? sysctls are very slow, but that may be a somewhat weak point given the nature of the request. given the abundance of free syscall numbers and the fact other systems (OpenBSD, Linux) do it as a syscall I don't see a good reason to do it differently. -- 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-194204-8-Wy8DDZc3Mq>
