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.
This commit is contained in:
Kyle Evans 2023-06-19 00:31:16 -05:00
parent 7e53f16baa
commit 0e96337b11

View file

@ -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.