acl(3): improve discoverability of acl_get_perm_np(3)

- Mention it in acl(3) as an available function, xref
- Mention it in acl_get_permset(3), as acl_get_perm_np(3) is a natural
    follow-up to acl_get_permset(3)

Sponsored by:	Klara, Inc.
This commit is contained in:
Kyle Evans 2023-05-08 22:45:12 -05:00
parent 7adea6dbed
commit 20c61a7c51
2 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 30, 2014
.Dd May 8, 2023
.Dt ACL 3
.Os
.Sh NAME
@ -158,6 +158,10 @@ and may be used to retrieve an ACL type from an ACL entry.
This function is described in
.Xr acl_get_flagset_np 3 ,
and may be used to retrieve a flagset from an ACL entry.
.It Fn acl_get_perm_np
This function is described in
.Xr acl_get_perm_np 3 ,
and may be used to check if a permission is set in a permset.
.It Fn acl_get_permset
This function is described in
.Xr acl_get_permset 3 ,
@ -257,6 +261,7 @@ library.
.Xr acl_get_brand_np 3 ,
.Xr acl_get_entry_type_np 3 ,
.Xr acl_get_flagset_np 3 ,
.Xr acl_get_perm_np 3 ,
.Xr acl_get_permset 3 ,
.Xr acl_get_qualifier 3 ,
.Xr acl_get_tag_type 3 ,

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd March 10, 2001
.Dd May 8, 2023
.Dt ACL_GET_PERMSET 3
.Os
.Sh NAME
@ -65,6 +65,7 @@ is not a valid descriptor for an ACL entry.
.Xr acl_add_perm 3 ,
.Xr acl_clear_perms 3 ,
.Xr acl_delete_perm 3 ,
.Xr acl_get_perm_np 3 ,
.Xr acl_set_permset 3 ,
.Xr posix1e 3
.Sh STANDARDS