o The mdoc(7) police strike with avengance:

- These pages abused Ar macro (they should have used Fa).
   - NULL constant should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by:	ru
This commit is contained in:
Robert Watson 2001-03-16 15:02:30 +00:00
parent 32de04d557
commit 42f558db10
2 changed files with 27 additions and 20 deletions

View File

@ -43,25 +43,27 @@ from a file or directory.
.Pp
Its arguments are:
.Bl -tag -width type
.It Ar vp
.It Fa vp
the vnode of the file or directory
.It Ar namespace
.It Fa namespace
integer constant indicating which extended attribute namespace the attribute
name is present in
.It Ar name
.It Fa name
pointer to a null-terminated character string containing the attribute name
.It Ar uio
.It Fa uio
the location of the data to be read or written
.It Ar cred
.It Fa cred
the user credentials to use in authorizing the request
.It Ar p
.It Fa p
the process requesting the extended attribute
.El
.Pp
The
.Fa cred
pointer may be NULL to indicate that access control checks are not to be
performed, if possible. This
pointer may be
.Dv NULL
to indicate that access control checks are not to be performed, if possible.
This
.Fa cred
setting might be used to allow the kernel to authorize extended attribute
retrieval that the active process might not be permitted to do.
@ -94,7 +96,8 @@ or
.Fa uio
argument is invalid.
.It Bq Er EOPNOTSUPP
The file system does not support VOP_GETEXTATTR
The file system does not support
.Fn VOP_GETEXTATTR
.El
.Sh SEE ALSO
.Xr extattr 9 ,

View File

@ -43,18 +43,18 @@ file or directory.
.Pp
Its arguments are:
.Bl -tag -width type
.It Ar vp
.It Fa vp
the vnode of the file or directory
.It Ar namespace
.It Fa namespace
integer constant indicating which extended attribute namespace the attribute
name is present in
.It Ar name
.It Fa name
pointer to a null-terminated character string containing the attribute name
.It Ar uio
.It Fa uio
the location of the data to be read or written
.It Ar cred
.It Fa cred
the user credentials to use in authorizing the request
.It Ar p
.It Fa p
the process setting the extended attribute
.El
.Pp
@ -66,13 +66,16 @@ non-zero offsets will be rejected.
.Pp
The
.Fa uio
pointer may be NULL to indicate that the specified extended attribute
should be deleted.
pointer may be
.Dv NULL
to indicate that the specified extended attribute should be deleted.
.Pp
The
.Fa cred
pointer may be NULL to indicate that access control checks are not to be
performed, of possible. This
pointer may be
.Dv NULL
to indicate that access control checks are not to be performed, of possible.
This
.Fa cred
setting might be used to allow the kernel to authorize extended attribute
changes that the active process might not be permitted to make.
@ -99,7 +102,8 @@ The uio structure refers to an invalid userspace address
.It Bq Er EINVAL
The name or uio argument is invalid
.It Bq Er EOPNOTSUPP
The file system does not support VOP_GETEXTATTR
The file system does not support
.Fn VOP_GETEXTATTR
.It Bq Er ENOSPC
The file system is out of space
.It Bq Er EROFS