[PATCH 3/3] Add a pair of system calls to make extended file stats available

Joel Becker Joel.Becker at oracle.com
Wed Jun 30 19:12:17 MDT 2010


On Wed, Jun 30, 2010 at 12:29:52AM +0100, David Howells wrote:
> Joel Becker <Joel.Becker at oracle.com> wrote:
> 
> > 	The less variable length stuff the better, I think.  At least,
> > for the stuff stat(2) already returns, you should have a fixed-size
> > structure.  Even if I only pass the GIVE_ME_UIDS flag, I don't want to
> > have to deal with the variable size stuff until I've actually asked for
> > esoteric things.  I'll know that the non-UIDS fields are garbage by the
> > fact that I didn't ask for them.
> 
> I was thinking of the fixed length xstat struct plus appendable extensions to
> be defined later.

	I meant this.

Joel

-- 

Life's Little Instruction Book #267

	"Lie on your back and look at the stars."

Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127


More information about the samba-technical mailing list