VOP_REVOKE (9)
Leading comments
Copyright (c) 2002 Networks Associates Technology, Inc.
All rights reserved.
This software was developed for the FreeBSD Project by NAI Labs, the
Security Research Division of Network Associates, Inc. under
DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA
CHATS research program.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain th...
(The comments found at the beginning of the groff file "man9/VOP_REVOKE.9freebsd".)
NAME
VOP_REVOKE
- revoke access to a device and its aliases
SYNOPSIS
In sys/param.h
In sys/vnode.h
Ft int
Fn VOP_REVOKE struct vnode *vp int flags
DESCRIPTION
Fn 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.
SEE ALSO
make_dev_alias9,
vnode(9)
AUTHORS
This manual page was written by
An Brian Fundakowski Feldman .