Re: knfsd and system crashes

H. Peter Anvin (hpa@transmeta.com)
26 Nov 1997 03:24:54 GMT


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