- Fix a number of man pages broken by the KSE merger.

This commit is contained in:
arr 2001-11-20 18:19:19 +00:00
parent c58cb395e6
commit d6a5097acf
12 changed files with 41 additions and 41 deletions

View File

@ -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

View File

@ -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.

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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;
}

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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