Lines Matching refs:acl
29 * Support functionality for the POSIX.1e ACL interface
42 #include <sys/acl.h>
92 * sort ACL entries into the kernel-desired order -- i.e., the order useful
135 * _posix1e_acl_sort -- sort ACL entries in POSIX.1e-formatted ACLs.
138 _posix1e_acl_sort(acl_t acl)
140 struct acl *acl_int;
142 acl_int = &acl->ats_acl;
150 * We apply posix1e ACL semantics for any ACL of type ACL_TYPE_ACCESS or
154 _posix1e_acl(acl_t acl, acl_type_t type)
157 if (_acl_brand(acl) != ACL_BRAND_POSIX)
164 * _posix1e_acl_check -- given an ACL, check its validity. This is mirrored
173 * an already sorted ACL, and checks based on that assumption. The
178 _posix1e_acl_check(acl_t acl)
180 struct acl *acl_int;
188 acl_int = &acl->ats_acl;
190 /* printf("_posix1e_acl_check: checking acl with %d entries\n",
191 acl->acl_cnt); */
349 * Add an ACL entry without doing much checking, et al
352 _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm)
354 struct acl *acl_int;
357 acl_int = &acl->ats_acl;