Return-Path: Received: from fieldses.org ([173.255.197.46]:60568 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932202AbcCOVF2 (ORCPT ); Tue, 15 Mar 2016 17:05:28 -0400 Date: Tue, 15 Mar 2016 17:05:26 -0400 From: "J. Bruce Fields" To: Christoph Hellwig Cc: Andreas Gruenbacher , Alexander Viro , linux-nfs@vger.kernel.org, "Theodore Ts'o" , linux-cifs@vger.kernel.org, linux-api@vger.kernel.org, Trond Myklebust , linux-kernel@vger.kernel.org, xfs@oss.sgi.com, Andreas Dilger , linux-fsdevel@vger.kernel.org, Jeff Layton , linux-ext4@vger.kernel.org, Anna Schumaker Subject: Re: [PATCH v18 19/22] richacl: Add richacl xattr handler Message-ID: <20160315210526.GC3658@fieldses.org> References: <1456733847-17982-1-git-send-email-agruenba@redhat.com> <1456733847-17982-20-git-send-email-agruenba@redhat.com> <20160311141735.GF14808@infradead.org> <20160311141905.GC13178@fieldses.org> <20160315071014.GB19747@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20160315071014.GB19747@infradead.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Mar 15, 2016 at 12:10:14AM -0700, Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 09:19:05AM -0500, J. Bruce Fields wrote: > > On Fri, Mar 11, 2016 at 06:17:35AM -0800, Christoph Hellwig wrote: > > > On Mon, Feb 29, 2016 at 09:17:24AM +0100, Andreas Gruenbacher wrote: > > > > Add richacl xattr handler implementing the xattr operations based on the > > > > get_richacl and set_richacl inode operations. > > > > > > Given all the issues with Posix ACLs and selinux attributes these really > > > should be proper syscalls instead of abusing the xattr interface. > > > > What are those problems exactly? > > That people get confused between the attr used by the xattr syscall > interface and the attr used to store things on disk or the protocol. > This has happened every time we have non-native support, e.g. XFS, NFS, > CIFS, ntfs, etc. And it's only going to become worse. How has that confusion caused problems in practice? --b.