Home
last modified time | relevance | path

Searched refs:te_cond_avtab (Results 1 – 7 of 7) sorted by relevance

/external/libsepol/src/
Dassertion.c32 avtab_t * te_avtab, avtab_t * te_cond_avtab, in check_assertion_helper() argument
51 for (node = avtab_search_node(te_cond_avtab, &avkey); in check_assertion_helper()
84 avtab_t te_avtab, te_cond_avtab; in check_assertions() local
99 if (avtab_init(&te_cond_avtab)) { in check_assertions()
104 expand_avtab(p, &p->te_cond_avtab, &te_cond_avtab)) { in check_assertions()
106 avtab_destroy(&te_cond_avtab); in check_assertions()
123 (handle, p, &te_avtab, &te_cond_avtab, i, i, in check_assertions()
133 (handle, p, &te_avtab, &te_cond_avtab, i, j, in check_assertions()
145 avtab_destroy(&te_cond_avtab); in check_assertions()
Dconditional.c460 if (avtab_init(&p->te_cond_avtab)) in cond_policydb_init()
519 avtab_destroy(&p->te_cond_avtab); in cond_policydb_destroy()
655 node_ptr = avtab_search_node(&p->te_cond_avtab, k); in cond_insertf()
677 if (avtab_search(&p->te_cond_avtab, k)) { in cond_insertf()
685 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf()
736 rc = avtab_read_item(fp, p->policyvers, &p->te_cond_avtab, in cond_read_av_list()
850 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
Dservices.c369 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
661 node = avtab_search_node(&policydb->te_cond_avtab, &avkey); in sepol_compute_sid()
Dexpand.c1635 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
1989 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy()
1994 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy()
2581 if (avtab_alloc(&state->out->te_cond_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
Dpolicydb.c982 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
/external/checkpolicy/test/
Ddispol.c460 display_avtab(&policydb.te_cond_avtab, in main()
464 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main()
468 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED, in main()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h510 avtab_t te_cond_avtab; member