From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 00:54:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5418016A4CE for ; Wed, 2 Mar 2005 00:54:01 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE4943D1D for ; Wed, 2 Mar 2005 00:54:00 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) j220rmb24337; Tue, 1 Mar 2005 16:53:59 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Kris Kennaway" Date: Tue, 1 Mar 2005 16:53:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20050301092901.GB95093@xor.obsecurity.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal cc: "Loren M. Lang" cc: Rob cc: FreeBSD questions Subject: RE: /dev/io , /dev/mem : only used by Xorg? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 00:54:01 -0000 > -----Original Message----- > From: Kris Kennaway [mailto:kris@obsecurity.org] > Sent: Tuesday, March 01, 2005 1:29 AM > To: Ted Mittelstaedt > Cc: Kris Kennaway; Loren M. Lang; Rob; FreeBSD questions > Subject: Re: /dev/io , /dev/mem : only used by Xorg? > > > On Tue, Mar 01, 2005 at 12:06:11AM -0800, Ted Mittelstaedt wrote: > > > >> Another strange thing is that /dev/random should block when it > > >> runs out of entropy - it doesen't seem to do so, however. And the > > >> device doesen't seem to gain entropy that quickly. > > > > > > No, it should not block because it's not defined to block > > > > In FreeBSD > > > > > and that > > > would be a bad interface anyway. > > > > The "u" in /dev/urandom means unblocking. > > It also means "return stuff even when you have no more entropy". > Can't get there from here. > Presumably the app writer knows this. Come now, I never said it was a -good- interface. The ideas of how the random device should work are somewhat of a moving target among UNIXes. The yarrow generator is one of the better ones us ordinary mortals have access to, I wonder what the NSA uses? Ted