Lines Matching refs:entry
45 static int merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new,
49 merge_user_group(acl_entry_t *entry, acl_entry_t *entry_new, int acl_brand)
59 id = acl_get_qualifier(*entry);
67 if (acl_get_permset(*entry, &permset) == -1)
73 if (acl_get_entry_type_np(*entry, &entry_type))
77 if (acl_get_flagset_np(*entry, &flagset))
97 acl_entry_t entry, entry_new;
111 "entry to be merged is %s", filename,
122 while (acl_get_entry(acl, entry_id, &entry) == 1) {
128 if (acl_get_tag_type(entry, &tag) == -1)
130 "invalid ACL entry", filename);
139 if (acl_get_tag_type(entry, &tag) == -1)
153 if (acl_get_entry_type_np(entry, &entry_type))
166 have_entry = merge_user_group(&entry,
176 if (acl_get_permset(entry, &permset) == -1)
184 if (acl_get_entry_type_np(entry, &entry_type))
190 if (acl_get_flagset_np(entry, &flagset))
206 /* if this entry has not been found, it must be new */
234 if (acl_copy_entry(entry_new, entry) == -1)
248 acl_entry_t entry, entry_new;
263 "entry to be added is %s", filename,
274 while (acl_get_entry(acl, entry_id, &entry) == 1) {
291 if (acl_copy_entry(entry_new, entry) == -1)