lkml.org 
[lkml]   [1997]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: knfsd and system crashes
Date
Followup to:  <m0xaV0b-0005FCC@lightning.swansea.linux.org.uk>
By author: alan@lxorguk.ukuu.org.uk (Alan Cox)
In newsgroup: linux.dev.kernel
>
> > This would seem to indicate i_version is a critical secret,
> > perhaps something that should be generated from /dev/urandom
> > and updated in a similar manner instead of the ++ in use now.
>
> Modern BSD systems use a host specific secret to perturb the handle
>

I think the way to do this is to take an MD5 or SHA-1 of the relevant
information plus a secret and make it a part of the file handle.

-hpa

--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans