Date: Fri, 14 Feb 2003 13:31:58 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/newfs mkfs.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c Message-ID: <200302142131.h1ELVwvm057944@repoman.freebsd.org>
index | next in thread | raw e-mail
mckusick 2003/02/14 13:31:58 PST
Modified files:
sbin/newfs mkfs.c
sys/ufs/ffs ffs_alloc.c ffs_vfsops.c
Log:
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.
Revision Changes Path
1.73 +5 -5 src/sbin/newfs/mkfs.c
1.109 +2 -2 src/sys/ufs/ffs/ffs_alloc.c
1.204 +1 -1 src/sys/ufs/ffs/ffs_vfsops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302142131.h1ELVwvm057944>
