Date: Thu, 11 Oct 2012 13:44:25 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Eitan Adler <eadler@freebsd.org> Cc: mdf@freebsd.org, src-committers@freebsd.org, Andrey Chernov <ache@freebsd.org>, svn-src-all@freebsd.org, David Chisnall <theraven@freebsd.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r241373 - head/lib/libc/stdlib Message-ID: <20121011114425.GA1562@garage.freebsd.pl> In-Reply-To: <CAF6rxgkaoQKdrKBUj1GFcEDtoZ8gM0w68zxn-S2bgJdntp88Kg@mail.gmail.com> References: <201210091425.q99EPFS6020787@svn.freebsd.org> <507451DE.9060909@freebsd.org> <977E1107-46D4-476F-A04D-AEFD87D1DE53@FreeBSD.org> <CAMBSHm8GCDvJCHYcrPBQ6awKWnmNpnS-9YgX1uAoOePjZhf9QA@mail.gmail.com> <CAF6rxgkaoQKdrKBUj1GFcEDtoZ8gM0w68zxn-S2bgJdntp88Kg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 09, 2012 at 01:51:05PM -0400, Eitan Adler wrote: > On 9 October 2012 13:27, <mdf@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. >=20 > 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 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlB2sRkACgkQForvXbEpPzSBnACgvG0Q0yfOpDozuqgbT3OPRV31 5YgAn2fdSXmd2XtAuNYBuIyosjEJE5Yr =mnYc -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121011114425.GA1562>