Searched refs:te_avtab (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/src/ |
D | assertion.c | 305 rc = avtab_map(&p->te_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures() 512 args.avtab = &p->te_avtab; in check_assertion() 514 rc = avtab_map(&p->te_avtab, check_assertion_avtab_match, &args); in check_assertion()
|
D | conditional.c | 641 if (avtab_search(&p->te_avtab, k)) { in cond_insertf() 850 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
|
D | hierarchy.c | 216 rc = avtab_map(&p->te_avtab, bounds_expand_rule_callback, &args); in bounds_expand_parent_rules() 428 rc = avtab_map(&p->te_avtab, bounds_check_rule_callback, &args); in bounds_check_child_rules()
|
D | policydb.c | 756 rc = avtab_init(&p->te_avtab); in policydb_init() 1061 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others() 1064 avtab_hash_eval(&p->te_avtab, "rules"); in policydb_index_others() 1329 avtab_destroy(&p->te_avtab); in policydb_destroy() 3854 if (avtab_read(&p->te_avtab, fp, r_policyvers)) in policydb_read()
|
D | services.c | 882 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av() 1358 avdatum = avtab_search(&policydb->te_avtab, &avkey); in sepol_compute_sid()
|
D | expand.c | 1707 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper() 2707 if (avtab_alloc(&state->out->te_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block() 2754 cur_avrule, &state->out->te_avtab, NULL, in copy_and_expand_avrule_block()
|
D | write.c | 2107 if (avtab_write(p, &p->te_avtab, fp)) in policydb_write()
|
/external/selinux/policycoreutils/sepolgen-ifgen/ |
D | sepolgen-ifgen-attr-helper.c | 136 if (avtab_map(&cb_data->policy->te_avtab, output_avrule, cb_data) < 0) in attribute_callback()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 435 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL, in main()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 546 avtab_t te_avtab; member
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1004 existing = avtab_search_node(&pdb->te_avtab, &avtab_key); in __cil_insert_type_rule() 1018 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_type_rule() 1299 avtab_dup = avtab_search(&pdb->te_avtab, &avtab_key); in __cil_insert_avrule() 1302 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_avrule() 1584 rc = avtab_insert(&pdb->te_avtab, avtab_key, &avtab_datum); in __cil_avrulex_ioctl_to_policydb() 3939 rc = avtab_alloc(&pdb->te_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
|
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 242 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types()
|