Home
last modified time | relevance | path

Searched refs:cond_list (Results 1 – 15 of 15) sorted by relevance

/external/libsepol/src/
Davrule_block.c97 cond_list_destroy(x->cond_list); in avrule_decl_destroy()
141 result = cond_node_find(p, cond, decl->cond_list, &was_created); in get_decl_cond_list()
143 result->next = decl->cond_list; in get_decl_cond_list()
144 decl->cond_list = result; in get_decl_cond_list()
Dhierarchy.c267 static int pullup_unconditional_perms(cond_list_t * cond_list, in pullup_unconditional_perms() argument
277 for (cur_node = cond_list; cur_node; cur_node = cur_node->next) { in pullup_unconditional_perms()
330 static int check_cond_avtab_hierarchy(cond_list_t * cond_list, in check_cond_avtab_hierarchy() argument
340 for (cur_node = cond_list; cur_node; cur_node = cur_node->next) { in check_cond_avtab_hierarchy()
471 if (pullup_unconditional_perms(p->cond_list, &args)) in hierarchy_check_constraints()
477 if (check_cond_avtab_hierarchy(p->cond_list, &args)) in hierarchy_check_constraints()
Dconditional.c198 result->next = p->cond_list; in cond_node_search()
199 p->cond_list = result; in cond_node_search()
448 for (cur = p->cond_list; cur != NULL; cur = cur->next) { in evaluate_conds()
459 p->cond_list = NULL; in cond_policydb_init()
520 cond_list_destroy(p->cond_list); in cond_policydb_destroy()
907 cond_av_list_t * cond_list) in cond_av_list_search() argument
912 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cond_av_list_search()
Dlink.c1727 || copy_cond_list(src_decl->cond_list, &dest_decl->cond_list, in copy_avrule_decl()
2275 cond_list_t *cond = decl->cond_list; in cond_normalize()
Dexpand.c2113 new_cond = cond_node_search(state->out, state->out->cond_list, tmp); in cond_node_copy()
2783 if (cond_node_copy(state, decl->cond_list)) in copy_and_expand_avrule_block()
2866 for (cur_node = decl->cond_list; cur_node != NULL; in discard_tunables()
3137 cond_optimize_lists(state.out->cond_list); in expand_module()
Dwrite.c1733 if (cond_write_list(p, decl->cond_list, fp) == -1 || in avrule_decl_write()
2044 if (cond_write_list(p, p->cond_list, fp)) in policydb_write()
Dpolicydb.c3416 if (cond_read_list(p, &decl->cond_list, fp) == -1 || in avrule_decl_read()
3816 if (cond_read_list(p, &p->cond_list, fp)) in policydb_read()
/external/libsepol/tests/
Dtest-linker-cond-map.c62 CU_ASSERT_FATAL(d->cond_list != NULL); in test_cond_expr_mapping()
63 CU_ASSERT_FATAL(d->cond_list->expr != NULL); in test_cond_expr_mapping()
65 expr = d->cond_list->expr; in test_cond_expr_mapping()
Dtest-cond.c74 a = base_expanded.cond_list; in test_cond_expr_equal()
76 b = base_expanded.cond_list; in test_cond_expr_equal()
/external/libsepol/include/sepol/policydb/
Dconditional.h113 cond_av_list_t * cond_list);
Dpolicydb.h410 cond_list_t *cond_list; member
526 cond_list_t *cond_list; member
/external/checkpolicy/test/
Ddismod.c553 for (cur = p->cond_list; cur != NULL; cur = cur->next) {
597 cond_list_t *cond = decl->cond_list; in display_avdecl()
Ddispol.c237 for (cur = p->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()
/external/checkpolicy/
Dmodule_compiler.c26 cond_list_t *cond_list; member
1577 s->u.cond_list = va_arg(ap, cond_list_t *); in push_stack()
Dcheckpolicy.c342 for (cur = policydbp->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()