From: Casey Schaufler Subject: Re: [PATCH -V6 00/26] New ACL format for better NFSv4 acl interoperability Date: Mon, 12 Sep 2011 15:38:24 -0700 Message-ID: <4E6E89E0.4010406@schaufler-ca.com> References: <1315243548-18664-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <4E655049.6060507@schaufler-ca.com> <108028.1315442771@turing-police.cc.vt.edu> <4E6E7ACC.8040003@schaufler-ca.com> <20110912222014.GA17483@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Valdis.Kletnieks-PjAqaU27lzQ@public.gmane.org, "Aneesh Kumar K.V" , agruen-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, LSM , Casey Schaufler To: "J. Bruce Fields" Return-path: In-Reply-To: <20110912222014.GA17483-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On 9/12/2011 3:20 PM, J. Bruce Fields wrote: > On Mon, Sep 12, 2011 at 02:34:04PM -0700, Casey Schaufler wrote: >> On 9/7/2011 5:46 PM, Valdis.Kletnieks-PjAqaU27lzQ@public.gmane.org wrote: >>> On Mon, 05 Sep 2011 15:42:17 PDT, Casey Schaufler said: >>>> On 9/5/2011 10:25 AM, Aneesh Kumar K.V wrote: >>>>> The following set of patches implements VFS and ext4 changes needed to implement >>>>> a new acl model for linux. Rich ACLs are an implementation of NFSv4 ACLs, >>>>> extended by file( masks to fit into the standard POSIX file permission model. >>>>> They are designed to work seamlessly locally as well as across the NFSv4 and >>>>> CIFS/SMB2 network file system protocols. >>>> POSIX ACLs predate the LSM and can't be done as an LSM due to >>>> the interactions between mode bits and ACLs as defined by the >>>> POSIX DRAFT specification. > I don't know LSM so don't understand what you mean when you say that > interactions between mode bits and ACLs would make an ACL model hard to > implement as an LSM. POSIX ACLs require that the file permission bits change when the ACL changes. This interaction violates the strict "additional restriction" model of the LSM. > But in any case the rich acl/mode bit interactions are similar to the > posix acl/mode bit interactions, so the same issue probably applies. It would help if you knew for sure and could explain the interaction in sufficient detail to justify the position. > > --b. > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html