summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_ACCESS.9
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2001-11-20 17:48:55 +0000
committerarr <arr@FreeBSD.org>2001-11-20 17:48:55 +0000
commita46b3ed596c68b489aafff88e2e3c21e07e7c830 (patch)
treeb05057c124c126e330371e5d48fd69a551209cf4 /share/man/man9/VOP_ACCESS.9
parentb8ecf2d88e1fd458cd2fe99e7bd135488032f301 (diff)
downloadFreeBSD-src-a46b3ed596c68b489aafff88e2e3c21e07e7c830.zip
FreeBSD-src-a46b3ed596c68b489aafff88e2e3c21e07e7c830.tar.gz
- Fix man page that was broke during KSE merger. This is the first in a
few commits relating to VOP_* calls and moving in struct thread. Reviewed by: rwatson
Diffstat (limited to 'share/man/man9/VOP_ACCESS.9')
-rw-r--r--share/man/man9/VOP_ACCESS.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/VOP_ACCESS.9 b/share/man/man9/VOP_ACCESS.9
index b38f18d..71577a6 100644
--- a/share/man/man9/VOP_ACCESS.9
+++ b/share/man/man9/VOP_ACCESS.9
@@ -39,7 +39,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_ACCESS "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
+.Fn VOP_ACCESS "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This entry point checks the access permissions of the file against the
given credentials.
@@ -52,8 +52,8 @@ the vnode of the file to check
the type of access required
.It Ar cred
the user credentials to check
-.It Ar p
-the process which is checking
+.It Ar td
+the thread which is checking
.El
.Pp
The
@@ -71,7 +71,7 @@ otherwise an appropriate error code is returned.
.Sh PSEUDOCODE
.Bd -literal
int
-vop_access(struct vnode *vp, int mode, struct ucred *cred, struct proc *p)
+vop_access(struct vnode *vp, int mode, struct ucred *cred, struct thread *td)
{
int error;
OpenPOWER on IntegriCloud