| VOP_ACLCHECK(9) | Kernel Developer's Manual | VOP_ACLCHECK(9) | 
VOP_ACLCHECK —
#include <sys/param.h>
#include <sys/vnode.h>
#include <sys/acl.h>
int
  
  VOP_ACLCHECK(struct
    vnode *vp, acl_type_t
    type, struct acl
    *aclp, kauth_cred_t
    cred);
Its arguments are:
The cred pointer may be
    NULL to indicate that access control checks are not
    to be performed, if possible. This cred setting might be used to allow the
    kernel to authorize ACL verification that the active process might not be
    permitted to do.
The vnode ACL interface defines the syntax, and not semantics, of file and directory ACL interfaces. More information about ACL management in kernel may be found in acl(9).
EACCES]EINVAL]ENOMEM]EOPNOTSUPP]VOP_ACLCHECK().| January 17, 2022 | NetBSD 10.0 |