summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2001-11-20 18:19:19 +0000
committerarr <arr@FreeBSD.org>2001-11-20 18:19:19 +0000
commitd6a5097acfb786f3b9c7928ff97121c937d194df (patch)
tree34bd49faec8c8950d00eec1ab1e57d65b88ce539
parentc58cb395e6c8970b1c3df2de4b29411cc80c467d (diff)
downloadFreeBSD-src-d6a5097acfb786f3b9c7928ff97121c937d194df.zip
FreeBSD-src-d6a5097acfb786f3b9c7928ff97121c937d194df.tar.gz
- Fix a number of man pages broken by the KSE merger.
-rw-r--r--share/man/man9/VOP_ACLCHECK.96
-rw-r--r--share/man/man9/VOP_ATTRIB.912
-rw-r--r--share/man/man9/VOP_FSYNC.98
-rw-r--r--share/man/man9/VOP_GETACL.96
-rw-r--r--share/man/man9/VOP_GETEXTATTR.96
-rw-r--r--share/man/man9/VOP_GETVOBJECT.92
-rw-r--r--share/man/man9/VOP_INACTIVE.910
-rw-r--r--share/man/man9/VOP_IOCTL.98
-rw-r--r--share/man/man9/VOP_LEASE.92
-rw-r--r--share/man/man9/VOP_OPENCLOSE.910
-rw-r--r--share/man/man9/VOP_SETACL.96
-rw-r--r--share/man/man9/VOP_SETEXTATTR.96
12 files changed, 41 insertions, 41 deletions
diff --git a/share/man/man9/VOP_ACLCHECK.9 b/share/man/man9/VOP_ACLCHECK.9
index e7473b3..f95492f 100644
--- a/share/man/man9/VOP_ACLCHECK.9
+++ b/share/man/man9/VOP_ACLCHECK.9
@@ -36,7 +36,7 @@
.In sys/vnode.h
.In sys/acl.h
.Ft int
-.Fn VOP_ACLCHECK "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
+.Fn VOP_ACLCHECK "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This vnode call may be used to determine the validity of a particular access
control list (ACL) for a particular file or directory.
@@ -51,8 +51,8 @@ the type of ACL to check
a pointer to an ACL structure from which to retrieve the ACL data
.It Ar cred
the user credentials to use in authorizing the request
-.It Ar p
-the process checking the ACL
+.It Ar td
+the thread checking the ACL
.El
.Pp
The
diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9
index f5477ff..1671e08 100644
--- a/share/man/man9/VOP_ATTRIB.9
+++ b/share/man/man9/VOP_ATTRIB.9
@@ -39,9 +39,9 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct proc *p"
+.Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct thread *td"
.Ft int
-.Fn VOP_SETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct proc *p"
+.Fn VOP_SETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
These entry points manipulate various attributes of a file or directory,
including file permissions, owner, group, size,
@@ -55,8 +55,8 @@ the vnode of the file
the attributes of the file
.It Ar cred
the user credentials of the calling process
-.It Ar p
-the process
+.It Ar td
+the thread
.El
.Pp
Attributes which are not being modified by
@@ -82,7 +82,7 @@ appropriate error is returned.
.Bd -literal
int
vop_getattr(struct vnode *vp, struct vattr *vap,
- struct ucred *cred, struct proc *p)
+ struct ucred *cred, struct thread *td)
{
/*
* Fill in the contents of *vap with information from
@@ -95,7 +95,7 @@ vop_getattr(struct vnode *vp, struct vattr *vap,
int
vop_setattr(struct vnode *vp, struct vattr *vap,
- struct ucred *cred, struct proc *p)
+ struct ucred *cred, struct thread *td)
{
/*
* Check for unsettable attributes.
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index 3319d74..cf20f85 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -38,7 +38,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct proc *p"
+.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct thread *td"
.Sh DESCRIPTION
This call flushes any dirty filesystem buffers for the file.
It is used to implement the
@@ -64,8 +64,8 @@ start all I/O, but do not wait for it
.It Dv MNT_LAZY
push data not written by filesystem syncer
.El
-.It Ar p
-the calling process
+.It Ar td
+the calling thread
.El
.Pp
The argument
@@ -84,7 +84,7 @@ error code is returned.
.Sh PSEUDOCODE
.Bd -literal
int
-vop_fsync(struct vnode *vp, struct ucred *cred, int waitfor, struct proc *p)
+vop_fsync(struct vnode *vp, struct ucred *cred, int waitfor, struct thread *td)
{
struct buf *bp;
struct buf *nbp;
diff --git a/share/man/man9/VOP_GETACL.9 b/share/man/man9/VOP_GETACL.9
index 8816cf5..0ee0d38 100644
--- a/share/man/man9/VOP_GETACL.9
+++ b/share/man/man9/VOP_GETACL.9
@@ -36,7 +36,7 @@
.In sys/vnode.h
.In sys/acl.h
.Ft int
-.Fn VOP_GETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
+.Fn VOP_GETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This vnode call may be used to retrieve the access control list (ACL) from a
file or directory.
@@ -51,8 +51,8 @@ the type of ACL to retrieve
a pointer to an ACL structure to receive the ACL data
.It Fa cred
the user credentials to use in authorizing the request
-.It Fa p
-the process requesting the ACL
+.It Fa td
+the thread requesting the ACL
.El
.Pp
The
diff --git a/share/man/man9/VOP_GETEXTATTR.9 b/share/man/man9/VOP_GETEXTATTR.9
index 5aaea16..49957db 100644
--- a/share/man/man9/VOP_GETEXTATTR.9
+++ b/share/man/man9/VOP_GETEXTATTR.9
@@ -36,7 +36,7 @@
.In sys/vnode.h
.In sys/extattr.h
.Ft int
-.Fn VOP_GETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
+.Fn VOP_GETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This vnode call may be used to retrieve a specific named extended attribute
from a file or directory.
@@ -54,8 +54,8 @@ pointer to a null-terminated character string containing the attribute name
the location of the data to be read or written
.It Fa cred
the user credentials to use in authorizing the request
-.It Fa p
-the process requesting the extended attribute
+.It Fa td
+the thread requesting the extended attribute
.El
.Pp
The
diff --git a/share/man/man9/VOP_GETVOBJECT.9 b/share/man/man9/VOP_GETVOBJECT.9
index 9c387cd..1e84e07 100644
--- a/share/man/man9/VOP_GETVOBJECT.9
+++ b/share/man/man9/VOP_GETVOBJECT.9
@@ -36,7 +36,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_CREATEVOBJECT "struct vnode *vp" "struct ucred *cred" "struct proc *p"
+.Fn VOP_CREATEVOBJECT "struct vnode *vp" "struct ucred *cred" "struct thread *td"
.Ft int
.Fn VOP_DESTROYVOBJECT "struct vnode *vp"
.Ft int
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9
index fa2528d..696470e 100644
--- a/share/man/man9/VOP_INACTIVE.9
+++ b/share/man/man9/VOP_INACTIVE.9
@@ -39,9 +39,9 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_INACTIVE "struct vnode *vp" "struct proc *p"
+.Fn VOP_INACTIVE "struct vnode *vp" "struct thread *td"
.Ft int
-.Fn VOP_RECLAIM "struct vnode *vp" "struct proc *p"
+.Fn VOP_RECLAIM "struct vnode *vp" "struct thread *td"
.Sh DESCRIPTION
The arguments are:
.Bl -tag -width 2n
@@ -67,7 +67,7 @@ unlocked on return.
.Sh PSEUDOCODE
.Bd -literal
int
-vop_inactive(struct vnode *vp)
+vop_inactive(struct vnode *vp, struct thread *td)
{
if (link count of vp == 0) {
/*
@@ -75,13 +75,13 @@ vop_inactive(struct vnode *vp)
*/
...;
}
- VOP_UNLOCK(vp, 0, p);
+ VOP_UNLOCK(vp, 0, td);
return 0;
}
int
-vop_reclaim(struct vnode *vp)
+vop_reclaim(struct vnode *vp, struct thread *td)
{
/*
* Clean out the name cache.
diff --git a/share/man/man9/VOP_IOCTL.9 b/share/man/man9/VOP_IOCTL.9
index 444843b..22af41c 100644
--- a/share/man/man9/VOP_IOCTL.9
+++ b/share/man/man9/VOP_IOCTL.9
@@ -38,7 +38,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" "int fflag" "struct ucred *cred" "struct proc *p"
+.Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" "int fflag" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
Manipulate a file in device dependent ways.
.Pp
@@ -54,8 +54,8 @@ extra data for the specified operation
some flags ???
.It Ar cred
the caller's credentials
-.It Ar p
-the calling process
+.It Ar td
+the calling thread
.El
.Pp
Most filesystems do not implement this entry point.
@@ -67,7 +67,7 @@ If successful, zero is returned, otherwise an appropriate error code.
.Bd -literal
int
vop_ioctl(struct vnode *vp, int command, caddr_t data, int fflag,
- struct ucred *cred, struct proc *p)
+ struct ucred *cred, struct thread *td)
{
return EOPNOTSUPP;
}
diff --git a/share/man/man9/VOP_LEASE.9 b/share/man/man9/VOP_LEASE.9
index 315656d..12afa28 100644
--- a/share/man/man9/VOP_LEASE.9
+++ b/share/man/man9/VOP_LEASE.9
@@ -38,7 +38,7 @@
.In sys/param.h
.In sys/mount.h
.Ft int
-.Fn VOP_LEASE "struct vnode *vp" "struct proc *p" "struct ucred *cred" "int type"
+.Fn VOP_LEASE "struct vnode *vp" "struct thread *td" "struct ucred *cred" "int type"
.Sh DESCRIPTION
This entry point is currently not implemented. I believe the idea is to
validate a vnode for a particular set of user credentials and operation type.
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 0760667..bf3fee8 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -39,9 +39,9 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
+.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Ft int
-.Fn VOP_CLOSE "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
+.Fn VOP_CLOSE "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
The
.Xr VOP_OPEN 9
@@ -55,8 +55,8 @@ The arguments are:
the vnode of the file
.It Ar mode
the access mode required by the calling process
-.It Ar p
-the process which is accessing the file
+.It Ar td
+the thread which is accessing the file
.El
.Pp
The access mode is a set of flags, including
@@ -82,7 +82,7 @@ Zero is returned on success, otherwise an error code is returned.
.Sh PSEUDOCODE
.Bd -literal
int
-vop_open(struct vnode *vp, int mode, struct ucred *cred, struct proc *p)
+vop_open(struct vnode *vp, int mode, struct ucred *cred, struct thread *td)
{
/*
* Most filesystems don't do much here.
diff --git a/share/man/man9/VOP_SETACL.9 b/share/man/man9/VOP_SETACL.9
index cf67dd4..e3568f7 100644
--- a/share/man/man9/VOP_SETACL.9
+++ b/share/man/man9/VOP_SETACL.9
@@ -36,7 +36,7 @@
.In sys/vnode.h
.In sys/acl.h
.Ft int
-.Fn VOP_SETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
+.Fn VOP_SETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This vnode call may be used to set the access control list (ACL) for a file
or directory.
@@ -51,8 +51,8 @@ the type of ACL to set
a pointer to an ACL structure from which to retrieve the ACL data
.It Fa cred
the user credentials to use in authorizing the request
-.It Fa p
-the process setting the ACL
+.It Fa td
+the thread setting the ACL
.El
.Pp
The
diff --git a/share/man/man9/VOP_SETEXTATTR.9 b/share/man/man9/VOP_SETEXTATTR.9
index 4826747..d1091d7 100644
--- a/share/man/man9/VOP_SETEXTATTR.9
+++ b/share/man/man9/VOP_SETEXTATTR.9
@@ -36,7 +36,7 @@
.In sys/vnode.h
.In sys/extattr.h
.Ft int
-.Fn VOP_SETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
+.Fn VOP_SETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
This vnode call may be used to set specific named extended attribute for a
file or directory.
@@ -54,8 +54,8 @@ pointer to a null-terminated character string containing the attribute name
the location of the data to be read or written
.It Fa cred
the user credentials to use in authorizing the request
-.It Fa p
-the process setting the extended attribute
+.It Fa td
+the thread setting the extended attribute
.El
.Pp
The uio structure is used in a manner similar to the argument of the same
OpenPOWER on IntegriCloud