Re: [PATCH] vfs: Pass setxattr(2) flags properly

From: Linus Torvalds
Date: Wed Apr 20 2011 - 23:59:07 EST


On Wed, Apr 20, 2011 at 8:09 PM, Christoph Hellwig <hch@xxxxxx> wrote:
>
> It's not really used very much.  The only use of XATTR_CREATE is to
> prevent creating the attrs used for ACLs from the normal xattrs
> interface instead of going through the ACL code, and XATTR_REPLACE
> is only used to return -ENOATTR when it's set but the attribute
> actually is empty.
>
> The first one could probably be used (by root) to create invalid
> attrs that confuse the ACL code, and the second may confuse application
> using it, although I doubt there are many.

Ok.

So nobody much i going to care. But I presume that you ack the patch
itself as correct?

Linus
--
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/