6 .Nd Manipulate ACL permissions using bitmasks
13 .Fn acl_maximal_permset_mask_np "acl_permset_mask_t * mask_p"
15 .Fn acl_get_permset_mask_np "acl_entry_t entry_d" "acl_permset_mask_t * mask_p"
17 .Fn acl_set_permset_mask_np "acl_entry_t entry_d" "acl_permset_mask_t mask"
20 .Fa acl_permset_mask_t
21 functions are a Darwin extension to the POSIX.1e ACL standard which allow
22 manipulation of permissions in an
24 using a bitmask of type
25 .Fa acl_permset_mask_t
26 rather than a constructed acl_permset_t (as done by
29 .Xr acl_set_permset 3 ) .
31 .Fa acl_permset_mask_t
32 values may be constructed using bitwise operations over
36 .Fn acl_maximal_permset_mask_np
37 sets the value pointed to by
39 to a bitmask of all valid
43 .Fn acl_get_permset_mask_np
46 a bitmask of permissions set on the ACL entry
49 .Fn acl_set_permset_mask_np
50 sets the permissions of ACL entry
52 to match the permission bitmask provided by
55 .Rv -std acl_maximal_permset_mask_np
57 .Rv -std acl_get_permset_mask_np
59 .Rv -std acl_set_permset_mask_np
62 .Fn acl_get_permset_mask_np
68 is not a valid descriptor for an ACL entry.
72 .Fn acl_set_permset_mask_np
78 is not a valid descriptor for an ACL entry.
82 is not a valid bitmask of ACL permissions.
87 .Xr acl_clear_perms 3 ,
88 .Xr acl_delete_perm 3 ,
89 .Xr acl_get_permset 3 ,
90 .Xr acl_set_permset 3 ,