Searched refs:te_cond_avtab (Results 1 – 9 of 9) 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() 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()
|
D | assertion.c | 309 rc = avtab_map(&p->te_cond_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures() 517 args.avtab = &p->te_cond_avtab; in check_assertion() 518 rc = avtab_map(&p->te_cond_avtab, check_assertion_avtab_match, &args); in check_assertion()
|
D | expand.c | 1711 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper() 2074 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy() 2079 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy() 2712 if (avtab_alloc(&state->out->te_cond_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
|
D | services.c | 896 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av() 1362 node = avtab_search_node(&policydb->te_cond_avtab, &avkey); in sepol_compute_sid()
|
D | policydb.c | 1061 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 439 display_avtab(&policydb.te_cond_avtab, in main() 443 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main() 447 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED, in main()
|
/external/selinux/policycoreutils/sepolgen-ifgen/ |
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 | 551 avtab_t te_cond_avtab; member
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1020 existing = avtab_search_node(&pdb->te_cond_avtab, &avtab_key); in __cil_insert_type_rule() 1048 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule() 1311 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule() 3944 rc = avtab_alloc(&pdb->te_cond_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
|