Convert descriptions in the ERRORS section to full sentences if they
were not full sentences, elaborating as necessary.
This commit is contained in:
parent
724b7a2be2
commit
81f8d226f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103566
@ -140,7 +140,8 @@ vop_access(struct vnode *vp, int mode, struct ucred *cred, struct thread *td)
|
||||
.It Bq Er EPERM
|
||||
An attempt was made to change an immutable file.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The permission bits the file mode or the ACL do not permit the
|
||||
requested access.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr vaccess 9 ,
|
||||
|
@ -82,9 +82,9 @@ then zero is returned. Otherwise, an appropriate error code is returned.
|
||||
.It Bq Er EINVAL
|
||||
The ACL type passed is invalid for this vnode, or the ACL data is invalid.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The file or directory ACL does not permit access.
|
||||
.It Bq Er ENOMEM
|
||||
Insufficient memory available to fulfill request
|
||||
Sufficient memory is not available to fulfill the request.
|
||||
.It Bq Er EOPNOTSUPP
|
||||
The filesystem does not support
|
||||
.Fn VOP_ACLCHECK .
|
||||
|
@ -153,7 +153,7 @@ vop_setattr(struct vnode *vp, struct vattr *vap,
|
||||
.It Bq Er EPERM
|
||||
The file is immutable.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The caller does not have permission to modify the file or directory attributes.
|
||||
.It Bq Er EROFS
|
||||
The filesystem is read-only.
|
||||
.El
|
||||
|
@ -169,7 +169,7 @@ bad:
|
||||
.It Bq Er ENOSPC
|
||||
The filesystem is full.
|
||||
.It Bq Er EDQUOT
|
||||
Quota exceeded.
|
||||
The user's filesystem space or inode quota would be exceeded.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr VOP_LOOKUP 9
|
||||
|
@ -79,9 +79,9 @@ an appropriate error code is returned.
|
||||
.It Bq Er EINVAL
|
||||
The ACL type passed is invalid for this vnode.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The the caller does not have the appropriate privilege.
|
||||
.It Bq Er ENOMEM
|
||||
Insufficient memory available to fulfill request
|
||||
Sufficient memory is not available to fulfill the request.
|
||||
.It Bq Er EOPNOTSUPP
|
||||
The filesystem does not support
|
||||
.Fn VOP_GETACL .
|
||||
|
@ -101,12 +101,12 @@ reflect data read. Otherwise, an appropriate error code is returned.
|
||||
.It Bq Er ENOENT
|
||||
The attribute name is not defined for this vnode.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The the caller does not have the appropriate privilege.
|
||||
.It Bq Er ENXIO
|
||||
The request was not valid in this filesystem for the specified vnode and
|
||||
attribute name.
|
||||
.It Bq Er ENOMEM
|
||||
Insufficient memory available to fulfill request
|
||||
Sufficient memory is not available to fulfill the request.
|
||||
.It Bq Er EFAULT
|
||||
The uio structure refers to an invalid userspace address.
|
||||
.It Bq Er EINVAL
|
||||
|
@ -155,7 +155,7 @@ vop_readdir(struct vnode *vp, struct uio *uio, struct ucred *cred,
|
||||
.Sh ERRORS
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EINVAL
|
||||
attempt to read from an illegal offset in the directory
|
||||
An attempt was made to read from an illegal offset in the directory.
|
||||
.It Bq Er EIO
|
||||
A read error occurred while reading the directory.
|
||||
.El
|
||||
|
@ -98,7 +98,7 @@ vop_remove(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
|
||||
.It Bq Er EPERM
|
||||
The file is immutable.
|
||||
.It Bq Er ENOTEMPTY
|
||||
attempt to remove a directory which is not empty
|
||||
An attempt was made to remove a directory which is not empty.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr vnode 9 ,
|
||||
|
@ -295,13 +295,17 @@ out:
|
||||
.It Bq Er EPERM
|
||||
The file is immutable.
|
||||
.It Bq Er EXDEV
|
||||
cross device move
|
||||
It is not possible to rename a file between different file systems.
|
||||
.It Bq Er EINVAL
|
||||
illegal directory rename
|
||||
An attempt was made to rename
|
||||
.Ql .\&
|
||||
or
|
||||
.Ql \&.. ,
|
||||
or a perform an operation which would break the directory tree structure.
|
||||
.It Bq Er ENOTDIR
|
||||
attempt to rename a directory to a file or vice versa
|
||||
An attempt was made to rename a directory to a file or vice versa.
|
||||
.It Bq Er ENOTEMPTY
|
||||
attempt to remove a directory which is not empty
|
||||
An attempt was made to remove a directory which is not empty.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr vnode 9
|
||||
|
@ -83,9 +83,9 @@ appropriate error code is returned.
|
||||
.It Bq Er EINVAL
|
||||
The ACL type passed is invalid for this vnode, or the ACL data is invalid.
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The the caller does not have the appropriate privilege.
|
||||
.It Bq Er ENOMEM
|
||||
Insufficient memory available to fulfill request
|
||||
Sufficient memory is not available to fulfill the request.
|
||||
.It Bq Er EOPNOTSUPP
|
||||
The filesystem does not support
|
||||
.Fn VOP_SETACL .
|
||||
|
@ -91,7 +91,7 @@ Otherwise, an appropriate error code is returned.
|
||||
.Sh ERRORS
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EACCES
|
||||
Permission denied
|
||||
The the caller does not have the appropriate privilege.
|
||||
.It Bq Er ENXIO
|
||||
The request was not valid in this filesystem for the specified vnode and
|
||||
attribute name.
|
||||
|
Loading…
Reference in New Issue
Block a user