From owner-cvs-src Fri Feb 14 16:31:12 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4580C37B405 for ; Fri, 14 Feb 2003 16:31:11 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6234643FAF for ; Fri, 14 Feb 2003 16:31:09 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 39286 invoked by uid 1000); 15 Feb 2003 00:31:10 -0000 Date: Fri, 14 Feb 2003 16:31:10 -0800 (PST) From: Nate Lawson To: "Andrey A. Chernov" Cc: Juli Mallett , Kirk McKusick , 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 In-Reply-To: <20030214221503.GA59673@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sat, 15 Feb 2003, Andrey A. Chernov wrote: > On Fri, Feb 14, 2003 at 15:33:28 -0600, Juli Mallett wrote: > > Are the sequences for it also repeatable in the newfs case for e.g. the > > regression tests, where it is used unseeded? > > Obvious answer - no. > > BTW, this fix really fixes nothing for FreeBSD case because we already use > srandomdev() (for non-regression case). Speaking totally informally, arc4 is more secure for this purpose than an LFSR despite seeding the latter via srandomdev(). -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message