[Bug 194204] getentropy(2): sys call from openbsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 15 02:28:47 UTC 2018


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

--- Comment #8 from Ed Maste <emaste at freebsd.org> ---
(In reply to Mateusz Guzik from comment #5)
> I don't think we should provide a syscall with weaker randomness than one
> provided with original implementation.

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.

I believe it is worthwhile for us to add the getentropy syscall, but the
approach we use today (the kern.arandom sysctl) is in practice largely
equivalent.

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


More information about the freebsd-bugs mailing list