Date: Sun, 3 Aug 2008 20:15:22 +0000 (UTC) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200808032015.m73KFSYq082005@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2008-08-03 20:15:22 UTC
FreeBSD src repository
Modified files:
lib/libc/gen arc4random.c
Log:
SVN rev 181261 on 2008-08-03 20:15:22Z by ache
Restored from previous backing out (because that is OpenBSD way, so
assumed to be reviewd by them):
Stir directly from the kernel PRNG, without taking less random pid & time
bytes too (when it is possible).
The difference with OpenBSD code is that they have KERN_ARND sysctl for
that task, while we need to read /dev/random
Revision Changes Path
1.24 +16 -12 src/lib/libc/gen/arc4random.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808032015.m73KFSYq082005>
