Re: [PATCH v15 00/22] Richacls (Core and Ext4)
From: Christoph Hellwig
Date: Wed Nov 11 2015 - 02:57:24 EST
On Tue, Nov 10, 2015 at 01:39:52PM +0100, Andreas Gruenbacher wrote:
> > It still has the same crappy fs interfaces with lots of boilerplate
> > code
>
> Could you please be more specific so that I can trace this complaint
> to some actual code?
if (IS_RICHACL())
richacl_foo()
else
posix_acl_foo()
for every call from the filesystem is the major one that came to mind.
> > and still abuses xattrs instead of a proper syscall interface.
> > That's far from being ready to merge.
>
> The xattr syscall interface is what's used for very similar kinds of
> things today; using it for richacls as well sure does not count as
> abuse. Things could be improved in the xattr interface and in its
> implementation, but we need more substantial reasons than that for
> reimplementing the wheel once again.
And it's a horrible interface. Look at all the pain for example in
XFS which has a different ACL format, or in fact everyone who just
uses a different xattr name or even none at all. And all the mess
of people trying to shoe horn crazy interfaces into xattrs.
It was an experiment worth trying with Posix ACLs, but it failed, so
do not repeat it.
--
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/