Searched refs:te_cond_avtab (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/src/ |
D | assertion.c | 63 avtab_t * te_avtab, avtab_t * te_cond_avtab, in check_assertion_helper() argument 85 for (node = avtab_search_node(te_cond_avtab, &avkey); in check_assertion_helper() 102 avtab_t te_avtab, te_cond_avtab; in check_assertions() local 117 if (avtab_init(&te_cond_avtab)) { in check_assertions() 122 expand_avtab(p, &p->te_cond_avtab, &te_cond_avtab)) { in check_assertions() 124 avtab_destroy(&te_cond_avtab); in check_assertions() 141 (handle, p, &te_avtab, &te_cond_avtab, i, i, in check_assertions() 148 (handle, p, &te_avtab, &te_cond_avtab, i, j, in check_assertions() 158 avtab_destroy(&te_cond_avtab); in check_assertions()
|
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 | expand.c | 1710 node = avtab_search_node(&p->te_cond_avtab, &avkey); in expand_terule_helper() 2076 (state->out, cn->avtrue_list, &state->out->te_cond_avtab, in cond_node_copy() 2081 (state->out, cn->avfalse_list, &state->out->te_cond_avtab, in cond_node_copy() 2694 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 | 490 display_avtab(&policydb.te_cond_avtab, in main() 494 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED, in main() 498 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/sepolicy/tools/ |
D | sepolicy-check.c | 185 perm, policy, &policy->te_cond_avtab); in check_rule()
|
/external/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 186 if (expand_avtab(policydb, &policydb->te_cond_avtab, &exp_cond_avtab)) { in analyze_types()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 548 avtab_t te_cond_avtab; member
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1046 existing = avtab_search_node(&pdb->te_cond_avtab, &avtab_key); in __cil_insert_type_rule() 1074 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_type_rule() 1320 …rc = __cil_cond_insert_rule(&pdb->te_cond_avtab, &avtab_key, &avtab_datum, cond_node, cond_flavor); in __cil_insert_avrule() 3643 rc = avtab_alloc(&pdb->te_cond_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
|