| To: | Andreas Gruenbacher <agruenba@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v15 00/22] Richacls (Core and Ext4) |
| From: | Steve French <smfrench@xxxxxxxxx> |
| Date: | Tue, 10 Nov 2015 10:43:46 -0600 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>, "Theodore Ts'o" <tytso@xxxxxxx>, Andreas Dilger <adilger.kernel@xxxxxxxxx>, "J. Bruce Fields" <bfields@xxxxxxxxxxxx>, Jeff Layton <jlayton@xxxxxxxxxxxxxxx>, Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>, Anna Schumaker <anna.schumaker@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, linux-ext4 <linux-ext4@xxxxxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Linux NFS Mailing List <linux-nfs@xxxxxxxxxxxxxxx>, "linux-cifs@xxxxxxxxxxxxxxx" <linux-cifs@xxxxxxxxxxxxxxx>, Linux API <linux-api@xxxxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SxjVrZPsF0ZqDYE//hZLdZ83d381gAqLq6th42j1qZs=; b=BeX8T6nMyIG8mgdKxiOOoTGvl1ROPaLJqYxoKtSoMRKmISxSu7D3HBxk243SwsT+q3 s/NsP80zdtin/UFmRKTqIWCmKJzrHluKJfCjUJzx0Ttpwj3QyfmMz/tzsorEYwoRV6xZ 7K2LtUSAGrekDfZ42lqbPZv+m2uJumMTJIg7rIy43NTw3RrweR43OdXEFIaen1nxQ6rx 2PuxC3UO0EudMasQTHp7CTOpFStnumEAz267XN47xv0WuaNLwv7ulal9IP5JaUQddgdl cN1q96TcPUbh8+NFE0vqYgmel7erSYmCiu7ZMlRWsvlerD4OqQAj3SUNiNuG1Q9ImNdf AJsQ== |
| In-reply-to: | <CAHc6FU5g7=wd1Wt4+GCaLJjNu7giruZyAON3VcYn-A=ffYMsmw@xxxxxxxxxxxxxx> |
| References: | <1447067343-31479-1-git-send-email-agruenba@xxxxxxxxxx> <20151110112943.GA17038@xxxxxxxxxxxxx> <CAHc6FU5g7=wd1Wt4+GCaLJjNu7giruZyAON3VcYn-A=ffYMsmw@xxxxxxxxxxxxxx> |
On Tue, Nov 10, 2015 at 6:39 AM, Andreas Gruenbacher <agruenba@xxxxxxxxxx> wrote: > On Tue, Nov 10, 2015 at 12:29 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: >> On Mon, Nov 09, 2015 at 12:08:41PM +0100, Andreas Gruenbacher wrote: >>> Here is another update to the richacl patch queue. This posting contains >>> the patches ready to be merged; the patches later in the queue still need >>> some more review. <snip> >> 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. I don't have strong disagreement with using pseudo-xattrs to store/retrieve ACLs (we already do this) but retrieving/setting an ACL all at once can be awkward when ACLs are quite large e.g. when it encodes to over 1MB (not all administrators think about the size of ACLs when they add hundreds of users or groups or apps to ACLs). The bigger problem is that when ACLs are created -- after -- the file is created there is a potential race (harder to deal with in cluster and network file systems). Ideally we should be able to optionally pass all the security information needed to create a file in the create call itself. For apps which don't care they can continue to use the old syscalls. In the meantime, I don't mind the approach of staging this in via a pseudo-xattr, Samba can deal with that (and it will make some of the backup and data movement tools easier for the cifs.ko client which currently rely on a cifs specific xattr). In cifs.ko I still need to enable the SMB3 ACL helper functions (currently only enabled for the older cifs dialect) since that will make it easier, and figure out a way to allow helper tools to view "claims based ACLs" (DAC), not just traditional CIFS/NTFS/SMB3/RichACLs. -- Thanks, Steve |
| Previous by Date: | Re: [PATCH 4/8] xfs: return start block of first bad log record during recovery, Brian Foster |
|---|---|
| Next by Date: | Processed: Re: Bug#804255: Please update initramfs in postinst, Debian Bug Tracking System |
| Previous by Thread: | Re: [PATCH v15 00/22] Richacls (Core and Ext4), Andreas Gruenbacher |
| Next by Thread: | Re: [PATCH v15 00/22] Richacls (Core and Ext4), J. Bruce Fields |
| Indexes: | [Date] [Thread] [Top] [All Lists] |