svn commit: r241373 - head/lib/libc/stdlib
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Oct 11 11:43:49 UTC 2012
On Tue, Oct 09, 2012 at 01:51:05PM -0400, Eitan Adler wrote:
> On 9 October 2012 13:27, <mdf at freebsd.org> wrote:
> > The original behavior can be recovered by using inline assembly to
> > fetch the value from a register into a local C variable; this would at
> > least not rely on undefined behavior. But I agree it's of dubious
> > value anyways.
>
> I proposed this (with a patch). We want to move to not using
> /dev/random and instead make a kernel system call directly. The patch
> for this is not finished yet though.
You should do something similar to:
http://people.freebsd.org/~pjd/patches/libc_arc4random.c.patch
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121011/48df7c88/attachment.sig>
More information about the svn-src-head
mailing list