Home
last modified time | relevance | path

Searched refs:te_avtab (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libsepol/src/
Dassertion.c313 rc = avtab_map(&p->te_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures()
529 args.avtab = &p->te_avtab; in check_assertion()
531 rc = avtab_map(&p->te_avtab, check_assertion_avtab_match, &args); in check_assertion()
Dconditional.c638 if (avtab_search(&p->te_avtab, k)) { in cond_insertf()
847 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
Dhierarchy.c204 rc = avtab_map(&p->te_avtab, bounds_expand_rule_callback, &args); in bounds_expand_parent_rules()
392 rc = avtab_map(&p->te_avtab, bounds_check_rule_callback, &args); in bounds_check_child_rules()
Dpolicydb.c862 rc = avtab_init(&p->te_avtab); in policydb_init()
1204 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
1207 avtab_hash_eval(&p->te_avtab, "rules"); in policydb_index_others()
1493 avtab_destroy(&p->te_avtab); in policydb_destroy()
4172 if (avtab_read(&p->te_avtab, fp, r_policyvers)) in policydb_read()
Dservices.c945 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
1422 avdatum = avtab_search(&policydb->te_avtab, &avkey); in sepol_compute_sid()
Dexpand.c1734 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper()
2762 if (avtab_alloc(&state->out->te_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
2809 cur_avrule, &state->out->te_avtab, NULL, in copy_and_expand_avrule_block()
Dwrite.c2240 if (avtab_write(p, &p->te_avtab, fp)) in policydb_write()
Dkernel_to_conf.c1753 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_conf()
Dkernel_to_cil.c1785 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_cil()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c136 if (avtab_map(&cb_data->policy->te_avtab, output_avrule, cb_data) < 0) in attribute_callback()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h564 avtab_t te_avtab; member
/external/selinux/checkpolicy/test/
Ddispol.c455 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL, in main()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1018 existing = avtab_search_node(&pdb->te_avtab, &avtab_key); in __cil_insert_type_rule()
1039 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_type_rule()
1337 avtab_dup = avtab_search(&pdb->te_avtab, &avtab_key); in __cil_insert_avrule()
1340 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_avrule()
1708 rc = avtab_insert(&pdb->te_avtab, avtab_key, &avtab_datum); in __cil_avrulex_ioctl_to_policydb()
4227 rc = avtab_alloc(&pdb->te_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
/external/selinux/checkpolicy/
Dcheckpolicy.c248 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types()