diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-05-05 12:57:07 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-05-05 12:57:07 +0000 |
commit | 990f3c7e22987e27aa666a5d466867d109c6b229 (patch) | |
tree | 7ac929e9581a4c5c735e25c59d0565087b579e2e | |
parent | 3dc50cf048e038681e369108898dbe511b4479e0 (diff) |
No more vn_access.
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/vnsubr.9 | 12 |
2 files changed, 3 insertions, 13 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index b80644040b2..55f397e2ec1 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.125 2007/05/05 12:46:32 art Exp $ +# $OpenBSD: Makefile,v 1.126 2007/05/05 12:57:06 art Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -316,7 +316,7 @@ MLINKS+=vfs_cache.9 cache_enter.9 vfs_cache.9 cache_lookup.9 \ vfs_cache.9 cache_purge.9 vfs_cache.9 cache_purgevfs.9 \ vfs_cache.9 cache_revlookup.9 MLINKS+=vgone.9 vgonel.9 -MLINKS+=vnsubr.9 vn_access.9 vnsubr.9 vn_close.9 vnsubr.9 vn_default_error.9 \ +MLINKS+=vnsubr.9 vn_close.9 vnsubr.9 vn_default_error.9 \ vnsubr.9 vn_isunder.9 vnsubr.9 vn_lock.9 vnsubr.9 vn_open.9 \ vnsubr.9 vn_rdwr.9 vnsubr.9 vn_stat.9 vnsubr.9 vn_writechk.9 \ vnsubr.9 vn_marktext.9 diff --git a/share/man/man9/vnsubr.9 b/share/man/man9/vnsubr.9 index 15e9046285a..c5ecfa9131d 100644 --- a/share/man/man9/vnsubr.9 +++ b/share/man/man9/vnsubr.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vnsubr.9,v 1.5 2005/12/04 19:08:33 pedro Exp $ +.\" $OpenBSD: vnsubr.9,v 1.6 2007/05/05 12:57:06 art Exp $ .\" $NetBSD: vnsubr.9,v 1.21 2004/05/25 14:54:56 hannken Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -40,7 +40,6 @@ .Os .Sh NAME .Nm vnsubr , -.Nm vn_access , .Nm vn_close , .Nm vn_default_error , .Nm vn_isunder , @@ -56,8 +55,6 @@ .In sys/lock.h .In sys/vnode.h .Ft int -.Fn vn_access "struct vnode *vp" "int mode" -.Ft int .Fn vn_close "struct vnode *vp" "int flags" "struct ucred *cred" "struct proc *p" .Ft int .Fn vn_default_error "void *v" @@ -84,13 +81,6 @@ The high-level functions described in this page are convenience functions for simplified access to the vnode operations described in .Xr VOP_LOOKUP 9 . .Bl -tag -width Ds -.It Fn vn_access "vp" "mode" -Common code for checking if the current process has enough permissions -to access the vnode pointed to by -.Fa vp -with mode -.Fa mode . -The vnode should be passed unlocked, and remains unlocked upon return. .It Fn vn_close "vp" "flags" "cred" "p" Common code for a vnode close. The argument |