|
NAMEVOP_ACCESS , VOP_ACCESSX —
check access permissions of a file or Unix domain socket
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
int
int
DESCRIPTIONThis entry point checks the access permissions of the file against the given credentials.Its arguments are:
The accmode is a mask which can contain
flags described in <sys/vnode.h>, e.g. LOCKSThe vnode will be locked on entry and should remain locked on return.RETURN VALUESIf the file is accessible in the specified way, then zero is returned, otherwise an appropriate error code is returned.ERRORSSEE ALSOvaccess(9), vaccess_acl_nfs4(9), vaccess_acl_posix1e(9), vnode(9)AUTHORSThis manual page was written by Doug Rabson.
Visit the GSP FreeBSD Man Page Interface. |