Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 1997 15:40:43 -0800 (PST)
From:      Mike Pritchard <mpp>
To:        guido@gvr.win.tue.nl (Guido van Rooij)
Cc:        danny@panda.hilink.com.au, freebsd-security@freebsd.org
Subject:   Re: 4.4BSD NFS File Handles (fwd)
Message-ID:  <199703082340.PAA07892@freefall.freebsd.org>
In-Reply-To: <199703070752.IAA01682@gvr.win.tue.nl> from "Guido van Rooij" at Mar 7, 97 08:52:18 am

next in thread | previous in thread | raw e-mail | index | archive | help
Guido van Rooij wrote:
> 
> Mike Pritchard wrote:
> > If I remember right, the last time I looked at how the kernel
> > assigned generation number, it didn't do a very good job
> > of it (they were pretty predictable).  We should probaby
> > change them to use the random() kernel function.
> 
> I also want to have the fsirand stuff. That should be enough. Perhaps
> it should even be built in newfs.
-- 

We also need to remove the code in ffs_alloc that sets
the generation number = the current time if it is currently less than 
the current time.  Right now, you can pretty much guess 
the generation number by loking at a files ctime and mtime fields.  
If the gen number isn't equal to one of those, then it is usually 
within some small delta of them.
--
Mike Pritchard
mpp@FreeBSD.org
"Go that way.  Really fast.  If something gets in your way, turn"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703082340.PAA07892>