Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dconditional.c459 if (avtab_init(&p->te_cond_avtab)) in cond_policydb_init()
518 avtab_destroy(&p->te_cond_avtab); in cond_policydb_destroy()
651 node_ptr = avtab_search_node(&p->te_cond_avtab, k); in cond_insertf()
673 if (avtab_search(&p->te_cond_avtab, k)) { in cond_insertf()
681 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf()
731 rc = avtab_read_item(fp, p->policyvers, &p->te_cond_avtab, in cond_read_av_list()
844 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
Dassertion.c308 rc = avtab_map(&p->te_cond_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures()
516 args.avtab = &p->te_cond_avtab; in check_assertion()
517 rc = avtab_map(&p->te_cond_avtab, check_assertion_avtab_match, &args); in check_assertion()
Doptimize.c366 avtab_t *tab = &p->te_cond_avtab; in optimize_cond_avtab()
Dexpand.c1715 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper()
2070 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy()
2075 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy()
2728 if (avtab_alloc(&state->out->te_cond_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
Dservices.c966 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
1407 node = avtab_search_node(&policydb->te_cond_avtab, &avkey); in sepol_compute_sid()
Dpolicydb.c1229 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
/third_party/selinux/checkpolicy/test/
Ddispol.c463 display_avtab(&policydb.te_cond_avtab, in main()
467 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main()
471 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED, in main()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h571 avtab_t te_cond_avtab; member
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1024 existing = avtab_search_node(&pdb->te_cond_avtab, &avtab_key); in __cil_insert_type_rule()
1059 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule()
1302 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule()
4232 rc = avtab_alloc(&pdb->te_cond_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()