Re: [PATCH -V18 04/13] vfs: Allow handle based open on symlinks

Neil Brown
2010-08-25T02:07:10Z

On Mon, 23 Aug 2010 08:19:48 +0530
"Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> wrote:

> On Mon, 23 Aug 2010 09:06:04 +1000, Neil Brown <neilb@suse.de> wrote:
> > [[ Following this approach I would like to avoid any filehandle-specific
> > syscalls altogether.
> > Just use a *at syscall with AT_FILE_HANDLE for filehandle lookup, and use
> > getxattr('system:linux.file_handle') to get the filehandle for a given path.
> >
> > Ofcourse we would need to at *at versions of the *xattr syscalls, but that is
> > probably a good idea anyway.
> > ]]
>
> sys_setxattrat would take 7 arguments.
>

I count 6 - assuming we share the 'flags' argument. There are only 2 xattr
flags currently so there should be room to share.

dirfd path name value size flags == 6

NeilBrown