From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 26 05:27:25 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8CF5106566B for ; Tue, 26 Jul 2011 05:27:25 +0000 (UTC) (envelope-from exorcistkiller@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id A44878FC0A for ; Tue, 26 Jul 2011 05:27:25 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QlaAu-0002fc-Uv for freebsd-hackers@freebsd.org; Mon, 25 Jul 2011 22:27:24 -0700 Date: Mon, 25 Jul 2011 22:27:24 -0700 (PDT) From: exorcistkiller To: freebsd-hackers@freebsd.org Message-ID: <1311658044945-4633662.post@n5.nabble.com> In-Reply-To: References: <1311496832217-4627557.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Add setacl system call? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2011 05:27:25 -0000 Thank you Robert! Another question while I'm reading the code. In ufs_acl.c, in static int ufs_getacl_posix1e(struct vop_getacl_args *ap), you commented: As part of the ACL is stored in the inode, and the rest in an EA, assemble both into a final ACL product. From what I learned from Kirk's book, ACLs are supposed be stored in extended attributes blocks. So what do you mean by "part of the ACL is stores in the inode"? I know extended attributes blocks data can be addressed by inode, but how to get ACL directly from the inode? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Add-setacl-system-call-tp4627557p4633662.html Sent from the freebsd-hackers mailing list archive at Nabble.com.