Add a manpage for VOP_REVOKE(9).
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
6dad2ea974
commit
a15fa068ab
@ -18,7 +18,7 @@ MAN= BUF_LOCK.9 BUF_LOCKFREE.9 BUF_LOCKINIT.9 BUF_REFCNT.9 \
|
||||
VOP_LEASE.9 VOP_LINK.9 VOP_LOCK.9 VOP_LOOKUP.9 VOP_OPENCLOSE.9 \
|
||||
VOP_PATHCONF.9 VOP_PRINT.9 VOP_RDWR.9 VOP_READDIR.9 \
|
||||
VOP_READLINK.9 VOP_REALLOCBLKS.9 VOP_REMOVE.9 VOP_RENAME.9 \
|
||||
VOP_SETACL.9 VOP_SETEXTATTR.9 VOP_STRATEGY.9 \
|
||||
VOP_REVOKE.9 VOP_SETACL.9 VOP_SETEXTATTR.9 VOP_STRATEGY.9 \
|
||||
accept_filter.9 accf_data.9 accf_http.9 acl.9 at_exit.9 \
|
||||
at_fork.9 atomic.9 \
|
||||
bios.9 boot.9 buf.9 bus_alloc_resource.9 bus_generic_attach.9 \
|
||||
|
62
share/man/man9/VOP_REVOKE.9
Normal file
62
share/man/man9/VOP_REVOKE.9
Normal file
@ -0,0 +1,62 @@
|
||||
.\" -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (c) 2002 Brian Fundakowski Feldman
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This program is free software.
|
||||
.\"
|
||||
.\" 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 the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd February 5, 2002
|
||||
.Os
|
||||
.Dt VOP_REVOKE 9
|
||||
.Sh NAME
|
||||
.Nm VOP_REVOKE
|
||||
revokes access to a device and its aliases
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/vnode.h
|
||||
.Ft int
|
||||
.Fn VOP_INACTIVE "struct vnode *vp" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
.Nm VOP_REVOKE
|
||||
will administratively revoke access to the device specified by
|
||||
.Ar vp ,
|
||||
as well as any aliases created via
|
||||
.Xr make_dev_alias 9 .
|
||||
Further file operations on any of these devices by processes which have them open will nominally fail.
|
||||
The
|
||||
.Ar flags
|
||||
must be set to
|
||||
.Dv REVOKEALL
|
||||
to signify that all access will be revoked; any other value is invalid.
|
||||
.Sh LOCKS
|
||||
The
|
||||
.Ar vp
|
||||
will be unlocked on entry, and will remain unlocked upon return.
|
||||
.Sh SEE ALSO
|
||||
.Xr make_dev_alias 9 ,
|
||||
.Xr vnode 9
|
||||
.Sh AUTHORS
|
||||
This man page was written by
|
||||
.An Brian Fundakowski Feldman .
|
Loading…
Reference in New Issue
Block a user