Home
last modified time | relevance | path

Searched refs:expa (Results 1 – 5 of 5) sorted by relevance

/external/libsepol/src/
Dhierarchy.c42 avtab_t *expa; /* expanded avtab */ member
110 avdatp = avtab_search(args->expa, key); in find_parent_template()
299 avnode = avtab_search_node(args->expa, in pullup_unconditional_perms()
304 if (avtab_insert(args->expa, in pullup_unconditional_perms()
336 avtab_t expa; in check_cond_avtab_hierarchy() local
344 if (avtab_init(&expa)) in check_cond_avtab_hierarchy()
347 &expl, &expa)) { in check_cond_avtab_hierarchy()
348 avtab_destroy(&expa); in check_cond_avtab_hierarchy()
354 uncond = avtab_search(a->expa, &cur_av->node->key); in check_cond_avtab_hierarchy()
363 avtab_destroy(&expa); in check_cond_avtab_hierarchy()
[all …]
Dexpand.c3115 avtab_t *expa; member
3123 avtab_t *expa = ptr->expa; in expand_avtab_node() local
3139 return expand_avtab_insert(expa, k, d); in expand_avtab_node()
3149 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3163 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3179 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3188 int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa) in expand_avtab() argument
3192 if (avtab_alloc(expa, MAX_AVTAB_SIZE)) { in expand_avtab()
3197 data.expa = expa; in expand_avtab()
3203 avtab_t * expa, in expand_cond_insert() argument
[all …]
Dwrite.c244 avtab_t expa; in avtab_write() local
256 if (avtab_init(&expa)) in avtab_write()
258 if (expand_avtab(p, a, &expa)) { in avtab_write()
262 a = &expa; in avtab_write()
307 avtab_destroy(&expa); in avtab_write()
651 avtab_t expa; in cond_write_av_list() local
658 if (avtab_init(&expa)) in cond_write_av_list()
660 if (expand_cond_av_list(p, list, &new_list, &expa)) in cond_write_av_list()
691 avtab_destroy(&expa); in cond_write_av_list()
/external/checkpolicy/test/
Ddispol.c162 avtab_t expa; in display_avtab() local
164 if (avtab_init(&expa)) in display_avtab()
166 if (expand_avtab(p, a, &expa)) { in display_avtab()
167 avtab_destroy(&expa); in display_avtab()
172 for (i = 0; i < expa.nslot; i++) { in display_avtab()
173 for (cur = expa.htable[i]; cur; cur = cur->next) { in display_avtab()
177 avtab_destroy(&expa); in display_avtab()
235 avtab_t expa; in display_cond_expressions() local
242 if (avtab_init(&expa)) in display_cond_expressions()
244 if (expand_cond_av_list(p, cur->true_list, &expl, &expa)) { in display_cond_expressions()
[all …]
/external/libsepol/include/sepol/policydb/
Dexpand.h74 extern int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa);
77 cond_av_list_t ** newl, avtab_t * expa);