Searched refs:te_cond_avtab (Results 1 – 10 of 10) sorted by relevance
/external/selinux/libsepol/src/ |
D | conditional.c | 460 if (avtab_init(&p->te_cond_avtab)) in cond_policydb_init() 519 avtab_destroy(&p->te_cond_avtab); in cond_policydb_destroy() 652 node_ptr = avtab_search_node(&p->te_cond_avtab, k); in cond_insertf() 674 if (avtab_search(&p->te_cond_avtab, k)) { in cond_insertf() 682 node_ptr = avtab_insert_nonunique(&p->te_cond_avtab, k, d); in cond_insertf() 733 rc = avtab_read_item(fp, p->policyvers, &p->te_cond_avtab, in cond_read_av_list() 847 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
|
D | assertion.c | 308 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()
|
D | optimize.c | 297 avtab_t *tab = &p->te_cond_avtab; in optimize_cond_avtab()
|
D | expand.c | 1711 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper() 2066 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy() 2071 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy() 2724 if (avtab_alloc(&state->out->te_cond_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
|
D | services.c | 955 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av() 1422 node = avtab_search_node(&policydb->te_cond_avtab, &avkey); in sepol_compute_sid()
|
D | policydb.c | 1226 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 455 display_avtab(&policydb.te_cond_avtab, in main() 459 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main() 463 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED, in main()
|
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 138 if (avtab_map(&cb_data->policy->te_cond_avtab, output_avrule, cb_data) < 0) in attribute_callback()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 570 avtab_t te_cond_avtab; member
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1028 existing = avtab_search_node(&pdb->te_cond_avtab, &avtab_key); in __cil_insert_type_rule() 1063 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule() 1318 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule() 4147 rc = avtab_alloc(&pdb->te_cond_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
|