tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openat/fstatat functions implementation

On Thu, Sep 17, 2009 at 06:29:31PM +0200, Adam Hamsik wrote:
> Hi,
> ZFS uses openat/fstatat[1] function as a thread-safe version of a open/ 
> fstat calls. These functions are part of a POSIX definition. Attached  
> patch add support for openat and fstatat system calls. After initial  
> commit I would like to add support for all other *at system calls but  
> currently only openat and fstatat are needed for zfs. This patch needs  
> more testing still, I'm building distribution with it and I'm going to  
> test it later.
> Do you have any comments ?

The names suck -- there's an existing convention for this, as with
fchroot -- and this 'at' style of naming seems to me less intuitive, too.
But I guess we can't do anything about that.


Home | Main Index | Thread Index | Old Index