Lines Matching refs:ace
57 acl_entry_t ace;
60 for (got_one = acl_get_entry (acl, ACL_FIRST_ENTRY, &ace);
62 got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace))
65 if (acl_get_tag_type (ace, &tag) < 0)
81 acl_entry_t ace = &acl->acl_entry[i];
82 acl_tag_t tag = ace->ae_tag;
95 acl_entry_t ace;
97 for (ace = acl->acl_first; count > 0; ace = ace->next, count--)
102 tag = ace->entry->acl_type;
106 perm = ace->entry->acl_perm;
135 aclent_t *ace = &entries[i];
137 /* Note: If ace->a_type = USER_OBJ, ace->a_id is the st_uid from stat().
138 If ace->a_type = GROUP_OBJ, ace->a_id is the st_gid from stat().
139 We don't need to check ace->a_id in these cases. */
140 if (!(ace->a_type == USER_OBJ
141 || ace->a_type == GROUP_OBJ
142 || ace->a_type == OTHER_OBJ
145 || ace->a_type == CLASS_OBJ))
180 ace_t *ace = &entries[i];
183 If ace->a_flags = ACE_OWNER, ace->a_who is the st_uid from stat().
184 If ace->a_flags = ACE_GROUP, ace->a_who is the st_gid from stat().
185 We don't need to check ace->a_who in these cases. */
186 if (!(ace->a_type == ALLOW
187 && (ace->a_flags == ACE_OWNER
188 || ace->a_flags == ACE_GROUP
189 || ace->a_flags == ACE_OTHER)))
196 ace_t *ace = &entries[i];
198 if (!(ace->a_type == ACE_ACCESS_ALLOWED_ACE_TYPE
199 && (ace->a_flags == NEW_ACE_OWNER
200 || ace->a_flags
202 || ace->a_flags == ACE_EVERYONE)
203 && (ace->a_access_mask
227 struct acl_entry *ace = &entries[i];
229 if (!((ace->uid == sb->st_uid && ace->gid == ACL_NSGROUP)
230 || (ace->uid == ACL_NSUSER && ace->gid == sb->st_gid)
231 || (ace->uid == ACL_NSUSER && ace->gid == ACL_NSGROUP)))
249 struct acl_entry *ace;
250 for (ace = a->acl_ext; ace != acl_last (a); ace = acl_nxt (ace))
253 switch (ace->ace_type)
260 for (aei = ace->ace_id; aei != id_last (ace); aei = id_nxt (aei))