From owner-freebsd-hackers Sat Mar 13 22:19:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 39C7E14F91 for ; Sat, 13 Mar 1999 22:19:04 -0800 (PST) (envelope-from mark@grondar.za) Received: from greenpeace.grondar.za (greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.9.2/8.9.2) with ESMTP id IAA15017; Sun, 14 Mar 1999 08:18:44 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.za (8.9.3/8.9.3) with ESMTP id IAA64577; Sun, 14 Mar 1999 08:18:46 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199903140618.IAA64577@greenpeace.grondar.za> To: Greg Lehey Cc: hackers@FreeBSD.ORG Subject: Re: Randomness and vnodes In-Reply-To: Your message of " Sun, 14 Mar 1999 11:28:07 +1030." <19990314112807.K429@lemis.com> References: <199903131704.TAA97969@greenpeace.grondar.za> <19990314112807.K429@lemis.com> Date: Sun, 14 Mar 1999 08:18:44 +0200 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > On Saturday, 13 March 1999 at 19:04:19 +0200, Mark Murray wrote: > > Hi > > > > One for you filesystem types; of all the parts of a struct vnode, > > which are the most dynamic? Which would be the most usable as > > input for an entropy collector running in the namei cache? > > > > The ones I am most interested in are the simple types; pointers, > > ints (short or long) or chars. Volatile would be good :-) > > Depends on how many bits you want. Most pointers will have the top 4 > bits set and the bottom 2 bits cleared. Why do you want to use a > vnode? I don't care, as long as there is some entropy. I want to add a entropy harvester into the namei cache, and if I can also pass in some genuine junk, that helps things. For interrupts, the interrupt number is used; for the keyboard, scancodes; the available environmental stuff in the namei cache is centred around vnodes, so I'm looking for dirt in them. Heck - I may just xor the whole thing into an int to get some junk if necessary. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message