Lines Matching refs:acl
32 #include <sys/acl.h>
63 _acl_brand(const acl_t acl)
66 return (acl->ats_brand);
80 _acl_brand_may_be(const acl_t acl, int brand)
83 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN)
86 if (_acl_brand(acl) == brand)
103 _acl_brand_as(acl_t acl, int brand)
106 assert(_acl_brand_may_be(acl, brand));
108 acl->ats_brand = brand;
119 _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
122 switch (_acl_brand(acl)) {
141 _acl_brand_from_type(acl_t acl, acl_type_t type)
146 _acl_brand_as(acl, ACL_BRAND_NFS4);
150 _acl_brand_as(acl, ACL_BRAND_POSIX);
159 acl_get_brand_np(acl_t acl, int *brand_p)
162 if (acl == NULL || brand_p == NULL) {
166 *brand_p = _acl_brand(acl);