Lines Matching defs:acl
38 #include <sys/acl.h>
69 _acl_brand(const acl_t acl)
72 return (acl->ats_brand);
86 _acl_brand_may_be(const acl_t acl, int brand)
89 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN)
92 if (_acl_brand(acl) == brand)
109 _acl_brand_as(acl_t acl, int brand)
112 assert(_acl_brand_may_be(acl, brand));
114 acl->ats_brand = brand;
125 _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
128 switch (_acl_brand(acl)) {
147 _acl_brand_from_type(acl_t acl, acl_type_t type)
152 _acl_brand_as(acl, ACL_BRAND_NFS4);
156 _acl_brand_as(acl, ACL_BRAND_POSIX);
165 acl_get_brand_np(acl_t acl, int *brand_p)
168 if (acl == NULL || brand_p == NULL) {
172 *brand_p = _acl_brand(acl);