Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available
From: David Howells
Date: Thu May 05 2016 - 16:04:17 EST
Jeff Layton <jlayton@xxxxxxxxxxxxxxx> wrote:
> I don't see a real attack vector here either, but OTOH is there a
> potential user of this at the moment?
I'm not sure. BSD stat has an st_gen, so it's possible something out there
will use it if it exists.
> An earlier chunk of the patch description says:
>
> (7) Inode generation number: Useful for FUSE and userspace NFS servers
> ÂÂÂÂÂ[Bernd Schubert].ÂÂThis was asked for but later deemed unnecessary
> ÂÂÂÂÂwith the open-by-handle capability available
>
> ...the last bit seems to indicate that we don't really need this
> anyway, as most userland servers now work with filehandles from the
> kernel.
>
> Maybe leave it out for now? It can always be added later.
Yeah... probably a good idea.
David