VOP_REVOKE
- revoke access to a device and its aliases
SYNOPSIS
#include <sys/param.h>
#include <sys/vnode.h> int
VOP_REVOKE (struct vnode *vp int flags);
DESCRIPTION
VOP_REVOKE ();
will administratively revoke access to the device specified by
Fa vp ,
as well as any aliases created via
make_dev_alias9.
Further file operations on any of these devices by processes
which have them open will nominally fail.
The
Fa flags
must be set to
REVOKEALL
to signify that all access will be revoked; any other value is invalid.
LOCKS
The
Fa vp
must be unlocked on entry, and will remain unlocked upon return.