Revokes all access to an object.
Item | Description |
---|---|
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 vnop_revoke entry point is called to revoke further access to an object.
The vnop_revoke entry point can be called from the process environment only.
Item | Description |
---|---|
0 | Indicates success. |
Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure.