summaryrefslogtreecommitdiffstats
path: root/bin/sh/memalloc.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2003-02-14 21:31:58 +0000
committermckusick <mckusick@FreeBSD.org>2003-02-14 21:31:58 +0000
commitd9ebbec084d4cd0e0a21fb74427a996f22d248d9 (patch)
tree63dc48c454d25fb06dee4802e18680e0ebce6eb9 /bin/sh/memalloc.c
parente6a38537d0f62bfb7a171d986541d180b8a9071d (diff)
downloadFreeBSD-src-d9ebbec084d4cd0e0a21fb74427a996f22d248d9.zip
FreeBSD-src-d9ebbec084d4cd0e0a21fb74427a996f22d248d9.tar.gz
Replace use of random() with arc4random() to provide less guessable
values for the initial inode generation numbers in newfs and for newly allocated inode generation numbers in the kernel. Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org> Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'bin/sh/memalloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud