Revokes all access to an object.
int vn_revoke (vp, cmd, flag, vinfop, crp)
struct vnode * vp;
int cmd;
int flag;
caddr_t vinfop;
struct ucred * crp;
vp | Points to the virtual node (v-node) containing the object. |
cmd | Indicates whether the calling process holds the file open. This parameter takes the following values: |
flag | Identifies the flags from the file structure. |
vinfop | This parameter is currently unused. |
crp | Points to the cred structure. This structure contains data that the file system can use to validate access permission. |
The vn_revoke entry point is called to revoke further access to an object.
The vn_revoke entry point can be called from the process environment only.
0 | Indicates success. |
Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure.
The frevoke subroutine, revoke subroutine.
Virtual File System Overview, Virtual File System Kernel Extensions Overview, Logical File System Overview, Understanding Virtual Nodes (V-nodes) in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
List of Virtual File System Operations.