logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VOP_REVOKE — revoke access to a device and its aliases

Authors

       This manual page was written by Brian Fundakowski Feldman.

Debian                                            June 20, 2019                                    VOP_REVOKE(9)

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.

Name

       VOP_REVOKE — revoke access to a device and its aliases

See Also

make_dev_alias(9), vnode(9)

Synopsis

#include<sys/param.h>#include<sys/vnode.h>intVOP_REVOKE(structvnode*vp, intflags);

See Also