Home
last modified time | relevance | path

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

/external/selinux/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.c3219 avtab_t *expa; member
3227 avtab_t *expa = ptr->expa; in expand_avtab_node() local
3243 return expand_avtab_insert(expa, k, d); in expand_avtab_node()
3253 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3267 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3283 rc = expand_avtab_insert(expa, &newkey, d); in expand_avtab_node()
3292 int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa) in expand_avtab() argument
3296 if (avtab_alloc(expa, MAX_AVTAB_SIZE)) { in expand_avtab()
3301 data.expa = expa; in expand_avtab()
3307 avtab_t * expa, in expand_cond_insert() argument
[all …]
Dwrite.c273 avtab_t expa; in avtab_write() local
285 if (avtab_init(&expa)) in avtab_write()
287 if (expand_avtab(p, a, &expa)) { in avtab_write()
291 a = &expa; in avtab_write()
336 avtab_destroy(&expa); in avtab_write()
680 avtab_t expa; in cond_write_av_list() local
687 if (avtab_init(&expa)) in cond_write_av_list()
689 if (expand_cond_av_list(p, list, &new_list, &expa)) in cond_write_av_list()
720 avtab_destroy(&expa); in cond_write_av_list()
/external/selinux/libsepol/include/sepol/policydb/
Dexpand.h77 extern int expand_avtab(policydb_t * p, avtab_t * a, avtab_t * expa);
80 cond_av_list_t ** newl, avtab_t * expa);