From owner-cvs-src Fri Feb 14 13:33:30 2003 Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id B280537B401; Fri, 14 Feb 2003 13:33:28 -0800 (PST) Date: Fri, 14 Feb 2003 15:33:28 -0600 From: Juli Mallett To: Kirk McKusick Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/newfs mkfs.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c Message-ID: <20030214153328.A78405@FreeBSD.org> References: <200302142131.h1ELVwvm057944@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200302142131.h1ELVwvm057944@repoman.freebsd.org>; from mckusick@FreeBSD.org on Fri, Feb 14, 2003 at 01:31:58PM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Kirk McKusick [ Data: 2003-02-14 ] [ Subjecte: cvs commit: src/sbin/newfs mkfs.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c ] > 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. Are the sequences for it also repeatable in the newfs case for e.g. the regression tests, where it is used unseeded? Thanx, juli. -- Juli Mallett AIM: BSDFlata -- IRC: juli on EFnet OpenDarwin, Mono, FreeBSD Developer ircd-hybrid Developer, EFnet addict FreeBSD on MIPS-Anything on FreeBSD Never trust an ELF, COFF or Mach-O! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message