Module Name: src
Committed By: wiz
Date: Mon Jan 17 23:12:41 UTC 2022
Modified Files:
src/share/man/man9: VOP_ACLCHECK.9 VOP_GETACL.9 VOP_SETACL.9
Log Message:
Sort ERRORS, mark up NULL.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man9/VOP_ACLCHECK.9 \
src/share/man/man9/VOP_GETACL.9 src/share/man/man9/VOP_SETACL.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/VOP_ACLCHECK.9
diff -u src/share/man/man9/VOP_ACLCHECK.9:1.1 src/share/man/man9/VOP_ACLCHECK.9:1.2
--- src/share/man/man9/VOP_ACLCHECK.9:1.1 Mon Jan 17 22:47:43 2022
+++ src/share/man/man9/VOP_ACLCHECK.9 Mon Jan 17 23:12:41 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: VOP_ACLCHECK.9,v 1.1 2022/01/17 22:47:43 christos Exp $
+.\" $NetBSD: VOP_ACLCHECK.9,v 1.2 2022/01/17 23:12:41 wiz Exp $
.\"-
.\" Copyright (c) 1999 Robert N. M. Watson
.\" All rights reserved.
@@ -56,7 +56,9 @@ The user credentials to use in authorizi
.Pp
The
.Fa cred
-pointer may be NULL to indicate that access control checks are not to be
+pointer may be
+.Dv NULL
+to indicate that access control checks are not to be
performed, if possible.
This cred setting might be used to allow the
kernel to authorize ACL verification that the active process might not be
@@ -81,10 +83,10 @@ then zero is returned.
Otherwise, an appropriate error code is returned.
.Sh ERRORS
.Bl -tag -width Er
-.It Bq Er EINVAL
-The ACL type passed is invalid for this vnode, or the ACL data is invalid.
.It Bq Er EACCES
The file or directory ACL does not permit access.
+.It Bq Er EINVAL
+The ACL type passed is invalid for this vnode, or the ACL data is invalid.
.It Bq Er ENOMEM
Sufficient memory is not available to fulfill the request.
.It Bq Er EOPNOTSUPP
Index: src/share/man/man9/VOP_GETACL.9
diff -u src/share/man/man9/VOP_GETACL.9:1.1 src/share/man/man9/VOP_GETACL.9:1.2
--- src/share/man/man9/VOP_GETACL.9:1.1 Mon Jan 17 22:47:43 2022
+++ src/share/man/man9/VOP_GETACL.9 Mon Jan 17 23:12:41 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: VOP_GETACL.9,v 1.1 2022/01/17 22:47:43 christos Exp $
+.\" $NetBSD: VOP_GETACL.9,v 1.2 2022/01/17 23:12:41 wiz Exp $
.\"-
.\" Copyright (c) 1999, 2000, 2001 Robert N. M. Watson
.\" All rights reserved.
@@ -75,10 +75,10 @@ pointer will point to a valid ACL, then
Otherwise, an appropriate error code is returned.
.Sh ERRORS
.Bl -tag -width Er
-.It Bq Er EINVAL
-The ACL type passed is invalid for this vnode.
.It Bq Er EACCES
The caller does not have the appropriate privilege.
+.It Bq Er EINVAL
+The ACL type passed is invalid for this vnode.
.It Bq Er ENOMEM
Sufficient memory is not available to fulfill the request.
.It Bq Er EOPNOTSUPP
Index: src/share/man/man9/VOP_SETACL.9
diff -u src/share/man/man9/VOP_SETACL.9:1.1 src/share/man/man9/VOP_SETACL.9:1.2
--- src/share/man/man9/VOP_SETACL.9:1.1 Mon Jan 17 22:47:43 2022
+++ src/share/man/man9/VOP_SETACL.9 Mon Jan 17 23:12:41 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: VOP_SETACL.9,v 1.1 2022/01/17 22:47:43 christos Exp $
+.\" $NetBSD: VOP_SETACL.9,v 1.2 2022/01/17 23:12:41 wiz Exp $
.\"-
.\" Copyright (c) 1999, 2000, 2001 Robert N. M. Watson
.\" All rights reserved.
@@ -80,17 +80,17 @@ If the ACL is successfully set, then zer
Otherwise, an appropriate error code is returned.
.Sh ERRORS
.Bl -tag -width Er
-.It Bq Er EINVAL
-The ACL type passed is invalid for this vnode, or the ACL data is invalid.
.It Bq Er EACCES
The caller does not have the appropriate privilege.
+.It Bq Er EINVAL
+The ACL type passed is invalid for this vnode, or the ACL data is invalid.
.It Bq Er ENOMEM
Sufficient memory is not available to fulfill the request.
+.It Bq Er ENOSPC
+The file system is out of space.
.It Bq Er EOPNOTSUPP
The file system does not support
.Fn VOP_SETACL .
-.It Bq Er ENOSPC
-The file system is out of space.
.It Bq Er EROFS
The file system is read-only.
.El