summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2002-02-05 16:08:49 +0000
committergreen <green@FreeBSD.org>2002-02-05 16:08:49 +0000
commit9eaa74ab48409cdc7d772221cc75ec754f633d86 (patch)
treee489f672a7b60faee5ad76506b4a02edef257a00 /share
parent3817bdcf3d03bad896bea309c2ed357f887a9e86 (diff)
downloadFreeBSD-src-9eaa74ab48409cdc7d772221cc75ec754f633d86.zip
FreeBSD-src-9eaa74ab48409cdc7d772221cc75ec754f633d86.tar.gz
Add a manpage for VOP_REVOKE(9).
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile2
-rw-r--r--share/man/man9/VOP_REVOKE.962
2 files changed, 63 insertions, 1 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 13e21f4..760899c 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -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 \
diff --git a/share/man/man9/VOP_REVOKE.9 b/share/man/man9/VOP_REVOKE.9
new file mode 100644
index 0000000..c8d617d
--- /dev/null
+++ b/share/man/man9/VOP_REVOKE.9
@@ -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 .
OpenPOWER on IntegriCloud