Lines Matching refs:ace
57 acl_entry_t ace; in acl_access_nontrivial() local
60 for (got_one = acl_get_entry (acl, ACL_FIRST_ENTRY, &ace); in acl_access_nontrivial()
62 got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace)) in acl_access_nontrivial()
65 if (acl_get_tag_type (ace, &tag) < 0) in acl_access_nontrivial()
81 acl_entry_t ace = &acl->acl_entry[i]; in acl_access_nontrivial()
82 acl_tag_t tag = ace->ae_tag; in acl_access_nontrivial()
95 acl_entry_t ace; in acl_access_nontrivial()
97 for (ace = acl->acl_first; count > 0; ace = ace->next, count--) in acl_access_nontrivial()
102 tag = ace->entry->acl_type; in acl_access_nontrivial()
106 perm = ace->entry->acl_perm; in acl_access_nontrivial()
135 aclent_t *ace = &entries[i]; in acl_nontrivial() local
140 if (!(ace->a_type == USER_OBJ in acl_nontrivial()
141 || ace->a_type == GROUP_OBJ in acl_nontrivial()
142 || ace->a_type == OTHER_OBJ in acl_nontrivial()
145 || ace->a_type == CLASS_OBJ)) in acl_nontrivial()
180 ace_t *ace = &entries[i]; in acl_ace_nontrivial() local
186 if (!(ace->a_type == ALLOW in acl_ace_nontrivial()
187 && (ace->a_flags == ACE_OWNER in acl_ace_nontrivial()
188 || ace->a_flags == ACE_GROUP in acl_ace_nontrivial()
189 || ace->a_flags == ACE_OTHER))) in acl_ace_nontrivial()
196 ace_t *ace = &entries[i]; in acl_ace_nontrivial() local
198 if (!(ace->a_type == ACE_ACCESS_ALLOWED_ACE_TYPE in acl_ace_nontrivial()
199 && (ace->a_flags == NEW_ACE_OWNER in acl_ace_nontrivial()
200 || ace->a_flags in acl_ace_nontrivial()
202 || ace->a_flags == ACE_EVERYONE) in acl_ace_nontrivial()
203 && (ace->a_access_mask in acl_ace_nontrivial()
227 struct acl_entry *ace = &entries[i]; in acl_nontrivial() local
229 if (!((ace->uid == sb->st_uid && ace->gid == ACL_NSGROUP) in acl_nontrivial()
230 || (ace->uid == ACL_NSUSER && ace->gid == sb->st_gid) in acl_nontrivial()
231 || (ace->uid == ACL_NSUSER && ace->gid == ACL_NSGROUP))) in acl_nontrivial()