Re: [PATCH -V19 00/15] Generic name to handle and open by handle syscalls

From: Miklos Szeredi
Date: Tue Sep 07 2010 - 07:37:03 EST


On Tue, 07 Sep 2010, Aneesh Kumar K. V wrote:
> Any update on this. Are you ok with syscall approach which is limitted to
> CAP_DAC_READ_SEARCH ?

My gut reaction is: "not another bunch of xattr syscalls!". It
doesn't feel right, this interface is too specialized to warrant a
full set of filesystem syscalls.

Al Viro is right that there are problems with symlinks. What we
really want here is a sort of symlink that doesn't get followed. One
way to provide that is to create a kernel internal "handle" filesystem
and direct open_by_handle() to that for anything not a directory or a
regular file.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/