lkml.org 
[lkml]   [2010]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -V18 04/13] vfs: Allow handle based open on symlinks
    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


    \
     
     \ /
      Last update: 2010-08-25 04:09    [W:0.020 / U:0.748 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site