aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2023-06-19 05:31:16 +0000
committerKyle Evans <kevans@FreeBSD.org>2023-06-19 05:47:04 +0000
commit0e96337b11910b444763439a722c89983d660a09 (patch)
tree0c08c8d2d1ee73af8c6f497c8e037bcf6553b65c
parent7e53f16baa3a02118f40c50587efde0338b5053e (diff)
downloadsrc-0e96337b11910b444763439a722c89983d660a09.tar.gz
src-0e96337b11910b444763439a722c89983d660a09.zip
acl_is_trivial_np(3): minor fixes
- Correct the document title - This function has an _np suffix - acl_strip_np has a manpage, xref it - RETURN VALUES should describe acl_is_trivial_np, not acl_get_tag_type Sponsored by: Klara, Inc.
-rw-r--r--lib/libc/posix1e/acl_is_trivial_np.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/posix1e/acl_is_trivial_np.3 b/lib/libc/posix1e/acl_is_trivial_np.3
index bd00d88191b4..28fac67a20f6 100644
--- a/lib/libc/posix1e/acl_is_trivial_np.3
+++ b/lib/libc/posix1e/acl_is_trivial_np.3
@@ -26,8 +26,8 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 12, 2013
-.Dt ACL_STRIP_NP 3
+.Dd June 19, 2023
+.Dt ACL_IS_TRIVIAL_NP 3
.Os
.Sh NAME
.Nm acl_is_trivial_np
@@ -41,7 +41,7 @@
.Fn acl_is_trivial_np "const acl_t aclp" "int *trivialp"
.Sh DESCRIPTION
The
-.Fn acl_is_trivial
+.Fn acl_is_trivial_np
function determines whether the ACL pointed to by the argument
.Va acl
is trivial.
@@ -56,13 +56,14 @@ any access rules.
For POSIX.1e ACLs, ACL is trivial if it has the three required entries,
one for owner, one for owning group, and one for other.
For NFSv4 ACLs, ACL is trivial if it is identical to the ACL generated by
-.Fn acl_strip_np 3 .
+.Xr acl_strip_np 3 .
Files that have non-trivial ACL have a plus sign appended after mode bits
in "ls -l" output.
.Sh RETURN VALUES
-.Rv -std acl_get_tag_type
+.Rv -std acl_is_trivial_np
.Sh SEE ALSO
.Xr acl 3 ,
+.Xr acl_strip_np 3 ,
.Xr posix1e 3
.Sh STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.