Re: [PATCH v18 00/22] Richacls (Core and Ext4)

From: Christoph Hellwig
Date: Tue Mar 15 2016 - 03:15:41 EST

On Fri, Mar 11, 2016 at 02:05:16PM -0600, Steve French wrote:
> A loosely related question is what can be done for tools around existing
> interfaces for ACLs. I recently found out NTFS-3g has this xattr:
> static const char nf_ns_xattr_ntfs_acl[] = "system.ntfs_acl";
> which allows you to query system.ntfs_acl xattr to get their full ACL

Bah. Filesystems really have no business exposing random system xattrs,
and we really need to add a filter to fs/xattr.c to not expose
arbitrary attrs ouside the user.* prefix.