Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dassertion.c305 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()
Dconditional.c641 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()
Dhierarchy.c216 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()
Dpolicydb.c756 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()
Dservices.c882 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
1358 avdatum = avtab_search(&policydb->te_avtab, &avkey); in sepol_compute_sid()
Dexpand.c1707 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()
Dwrite.c2107 if (avtab_write(p, &p->te_avtab, fp)) in policydb_write()
/external/selinux/policycoreutils/sepolgen-ifgen/
Dsepolgen-ifgen-attr-helper.c136 if (avtab_map(&cb_data->policy->te_avtab, output_avrule, cb_data) < 0) in attribute_callback()
/external/selinux/checkpolicy/test/
Ddispol.c435 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL, in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h546 avtab_t te_avtab; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c1004 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/
Dcheckpolicy.c242 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types()