Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Sort ERRORS, mark up NULL.



details:   https://anonhg.NetBSD.org/src/rev/17c7696afda6
branches:  trunk
changeset: 359710:17c7696afda6
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Jan 17 23:12:41 2022 +0000

description:
Sort ERRORS, mark up NULL.

diffstat:

 share/man/man9/VOP_ACLCHECK.9 |  10 ++++++----
 share/man/man9/VOP_GETACL.9   |   6 +++---
 share/man/man9/VOP_SETACL.9   |  10 +++++-----
 3 files changed, 14 insertions(+), 12 deletions(-)

diffs (86 lines):

diff -r dfa194d6e86a -r 17c7696afda6 share/man/man9/VOP_ACLCHECK.9
--- a/share/man/man9/VOP_ACLCHECK.9     Mon Jan 17 22:49:43 2022 +0000
+++ b/share/man/man9/VOP_ACLCHECK.9     Mon Jan 17 23:12:41 2022 +0000
@@ -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 @@
 .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 @@
 Otherwise, an appropriate error code is returned.
 .Sh ERRORS
 .Bl -tag -width Er
+.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 EACCES
-The file or directory ACL does not permit access.
 .It Bq Er ENOMEM
 Sufficient memory is not available to fulfill the request.
 .It Bq Er EOPNOTSUPP
diff -r dfa194d6e86a -r 17c7696afda6 share/man/man9/VOP_GETACL.9
--- a/share/man/man9/VOP_GETACL.9       Mon Jan 17 22:49:43 2022 +0000
+++ b/share/man/man9/VOP_GETACL.9       Mon Jan 17 23:12:41 2022 +0000
@@ -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 @@
 Otherwise, an appropriate error code is returned.
 .Sh ERRORS
 .Bl -tag -width Er
+.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 EACCES
-The caller does not have the appropriate privilege.
 .It Bq Er ENOMEM
 Sufficient memory is not available to fulfill the request.
 .It Bq Er EOPNOTSUPP
diff -r dfa194d6e86a -r 17c7696afda6 share/man/man9/VOP_SETACL.9
--- a/share/man/man9/VOP_SETACL.9       Mon Jan 17 22:49:43 2022 +0000
+++ b/share/man/man9/VOP_SETACL.9       Mon Jan 17 23:12:41 2022 +0000
@@ -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 @@
 Otherwise, an appropriate error code is returned.
 .Sh ERRORS
 .Bl -tag -width Er
+.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 EACCES
-The caller does not have the appropriate privilege.
 .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



Home | Main Index | Thread Index | Old Index