Received: with ECARTIS (v1.0.0; list linux-xfs); Fri, 09 May 2003 09:49:07 -0700 (PDT) Received: from localhost.localdomain (adsl-66-124-158-132.dsl.sntc01.pacbell.net [66.124.158.132]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h49GmsFu016054 for ; Fri, 9 May 2003 09:48:55 -0700 Received: from echen ([192.168.0.69]) (authenticated bits=0) by localhost.localdomain (8.12.7/8.12.7) with ESMTP id h49Gmnbg002958; Fri, 9 May 2003 09:48:49 -0700 From: "Eric Chen" To: "Tim Shimmin" Cc: Subject: RE: accessing the ACL of a file inside XFS kernel. Date: Fri, 9 May 2003 09:48:59 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20030509185934.A39490@boing.melbourne.sgi.com> X-archive-position: 3960 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: echen@ateonix.com Precedence: bulk X-list: linux-xfs Content-Length: 363 Lines: 17 >How about using: > _ACL_GET_ACCESS(pv,pa) for the XFS access ACL >(which ends up calling xfs_acl_vtoacl()). >This function will get the xfs_acl given the vnode. what is the argument 'pa' that is passed into the function _ACL_GET_ACCESS? so I can have xfs_acl_t *acl = _ACL_GET_ACCESS(pv, pa); where vnode_t *pv = LINVFS_GET_VP(dir); is that right? ~Eric