xfs
[Top] [All Lists]

RE: accessing the ACL of a file inside XFS kernel.

To: "Tim Shimmin" <tes@xxxxxxx>
Subject: RE: accessing the ACL of a file inside XFS kernel.
From: "Eric Chen" <echen@xxxxxxxxxxx>
Date: Fri, 9 May 2003 09:48:59 -0700
Cc: <linux-xfs@xxxxxxxxxxx>
Importance: Normal
In-reply-to: <20030509185934.A39490@boing.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
>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


<Prev in Thread] Current Thread [Next in Thread>