Sync arc4random with FreeBSD:
authorPeter Avalos <pavalos@theshell.com>
Fri, 13 Feb 2009 06:15:48 +0000 (01:15 -0500)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:09:14 +0000 (21:09 -1000)
commitafca6579b229cd136847453773b3c121cc46cd05
tree4f12a719ca158800e7c22d63c741a2bbf80c1ca2
parent574005c442d8b5d3549b52b06a8adb48fe968a2d
Sync arc4random with FreeBSD:

* Add locking.

* Automatically re-stir

* Implement _buf() and _uniform() functions.

* Eliminate the arc4_stream arg since there's only 1 that's possible.
lib/libc/gen/Makefile.inc
lib/libc/gen/arc4random.3
lib/libc/gen/arc4random.c