From owner-freebsd-current@FreeBSD.ORG Thu Mar 10 06:51:32 2005 Return-Path: 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 1CD5D16A4CF for ; Thu, 10 Mar 2005 06:51:32 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5527943D53 for ; Thu, 10 Mar 2005 06:51:31 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.3/8.13.3) with ESMTP id j2A6pRd0028118; Thu, 10 Mar 2005 09:51:27 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.3/8.13.3/Submit) id j2A6pRJq028117; Thu, 10 Mar 2005 09:51:27 +0300 (MSK) (envelope-from ache) Date: Thu, 10 Mar 2005 09:51:26 +0300 From: Andrey Chernov To: Poul-Henning Kamp Message-ID: <20050310065126.GA28001@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Poul-Henning Kamp , current@FreeBSD.ORG References: <20050310062410.GA27497@nagual.pp.ru> <6251.1110436359@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6251.1110436359@critter.freebsd.dk> User-Agent: Mutt/1.5.8i X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.5; VDF: 6.30.0.24; host: nagual.pp.ru) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (nagual.pp.ru [0.0.0.0]); Thu, 10 Mar 2005 09:51:28 +0300 (MSK) cc: current@FreeBSD.ORG Subject: Re: [TEST(/review)] major/minor/devname fix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 06:51:32 -0000 On Thu, Mar 10, 2005 at 07:32:39AM +0100, Poul-Henning Kamp wrote: > There is no risk of collision, look at what devfs_random() does. What happens with whole devfs_random() logic, in case first devfs_seed obtained after masking with 0xf0f becomes 0 again (as it was before)? And second? And third? It may happens especially in some "no good entropy yet" scenario. -- http://ache.pp.ru/