ACL — retrieve access control list for a vnode
#include <sys/param.h>
#include <sys/vnode.h>
#include <sys/acl.h>
int
VOP_GETACL(struct vnode *vp, acl_type_t type, struct acl *aclp,
struct ucred *cred, struct thread *td);).
The vnode will be locked on entry and should remain locked on return.
If the aclp pointer will point to a valid ACL, then zero is returned.
Otherwise, an appropriate error code is returned.
[EINVAL] The ACL type passed is invalid for this vnode.
[EACCES] The caller does not have the appropriate privilege.
[ENOMEM] Sufficient memory is not available to fulfill the
request.
[EOPNOTSUPP] The file system does not support VOP_GETACL().
acl(9), vnode(9), VOP_ACLCHECK(9), VOP_SETACL(9)
This manual page was written by Robert Watson.
All copyrights belong to their respective owners. Other content (c) 2014-2017, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.Page load time: 0.118 seconds. Last modified: November 09 2017 18:38:06.