From owner-freebsd-current Sun Feb 2 4:43: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A47737B401; Sun, 2 Feb 2003 04:43:01 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07EA743F43; Sun, 2 Feb 2003 04:43:00 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id h12Cgwd6063173; Sun, 2 Feb 2003 15:42:58 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id h12Cgw6G063172; Sun, 2 Feb 2003 15:42:58 +0300 (MSK) (envelope-from ache) Date: Sun, 2 Feb 2003 15:42:58 +0300 From: "Andrey A. Chernov" To: Doug Barton Cc: Kris Kennaway , current@FreeBSD.org Subject: Re: rand() is broken Message-ID: <20030202124258.GA63153@nagual.pp.ru> References: <20030202070644.GA9987@rot13.obsecurity.org> <20030202090422.GA59750@nagual.pp.ru> <20030202091106.GA72723@rot13.obsecurity.org> <20030202102621.GA60900@nagual.pp.ru> <20030202123035.GB62977@nagual.pp.ru> <20030202043722.E77226@12-234-22-23.pyvrag.nggov.pbz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030202043722.E77226@12-234-22-23.pyvrag.nggov.pbz> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 02, 2003 at 04:38:53 -0800, Doug Barton wrote: > > I think it's worthwhile to wait till we get a chance to try arc4random(). This is libc's rand/random, it can't be fixed with arc4random() as designed. > Also, have you run the code you're proposing through the tests in the post > that David Schultz just made? This is fix form problem with 0, not for seed -> 1st value correlation. I can't deal with two problems with same time, lets be sequental. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message