Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VOP_REVOKE(9)	       FreeBSD Kernel Developer's Manual	 VOP_REVOKE(9)

NAME
     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	vp, as well as any aliases created via make_dev_alias(9).  Further
     file operations on	any of these devices by	processes which	have them open
     will nominally fail.  The flags must be set to REVOKEALL to signify that
     all access	will be	revoked; any other value is invalid.

LOCKS
     The vp must be exclusively	locked on entry, and will remain locked	upon
     return.

SEE ALSO
     make_dev_alias(9),	vnode(9)

AUTHORS
     This manual page was written by Brian Fundakowski Feldman.

FreeBSD	13.0			 June 20, 2019			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | LOCKS | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VOP_REVOKE&sektion=9&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help