Subject: Re: Improving the Unix API
To: Jan-Simon Pendry <>
From: Alexander Viro <>
List: tech-kern
Date: 06/27/1999 13:51:47
On Sun, 27 Jun 1999, Jan-Simon Pendry wrote:

> Alexander Viro wrote:
> >         Proposed API on the Linux side being
> > int chflags(name, level, oldp, newp); where level is FL_VFS for generic
> > attirbutes (fs may map them on its own set) and FL_{UFS,EXT2,...} for raw
> > flags - corresponding filesystem is free to interpret the thing as it
> > likes and should set the generic attributes in the right way. 
> if linux introduces a different API (ie not just an extension of
> the existing bsd API) then please do *not* call it "chflags".
	;-/ Yes, it makes sense.

> it took years just to get over the bsd vs. svr4 gettimeofday()
> fiasco.  btw, what's the proposed API for getting the current
> attribute set?

oldp == NULL ;-)