Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dassertion.c304 args.avtab = &p->te_avtab; in report_assertion_failures()
305 rc = avtab_map(&p->te_avtab, report_assertion_avtab_matches, &args); in report_assertion_failures()
526 args.avtab = &p->te_avtab; in check_assertion()
528 rc = avtab_map(&p->te_avtab, check_assertion_avtab_match, &args); in check_assertion()
Doptimize.c297 avtab_t *tab = &p->te_avtab; in optimize_avtab()
360 if (is_avrule_redundant((*cond)->node, &p->te_avtab, type_map, 0) || in optimize_cond_av_list()
Dconditional.c635 if (avtab_search(&p->te_avtab, k)) { in cond_insertf()
833 rc = avtab_alloc(&p->te_cond_avtab, p->te_avtab.nel); in cond_read_list()
Dhierarchy.c202 rc = avtab_map(&p->te_avtab, bounds_expand_rule_callback, &args); in bounds_expand_parent_rules()
388 rc = avtab_map(&p->te_avtab, bounds_check_rule_callback, &args); in bounds_check_child_rules()
Dpolicydb.c900 rc = avtab_init(&p->te_avtab); in policydb_init()
1241 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
1244 avtab_hash_eval(&p->te_avtab, "rules"); in policydb_index_others()
1527 avtab_destroy(&p->te_avtab); in policydb_destroy()
4463 if (avtab_read(&p->te_avtab, fp, r_policyvers)) in policydb_read()
Dservices.c953 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av()
1410 avdatum = avtab_search(&policydb->te_avtab, &avkey); in sepol_compute_sid()
Dexpand.c1736 node = avtab_search_node(&p->te_avtab, &avkey); in expand_terule_helper()
2748 if (avtab_alloc(&state->out->te_avtab, MAX_AVTAB_SIZE)) { in copy_and_expand_avrule_block()
2795 cur_avrule, &state->out->te_avtab, NULL, in copy_and_expand_avrule_block()
Dpolicydb_validate.c1503 if (validate_avtab(handle, &p->te_avtab, p, flavors)) in policydb_validate()
Dwrite.c2358 if (avtab_write(p, &p->te_avtab, fp)) in policydb_write()
Dkernel_to_conf.c1812 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_conf()
Dkernel_to_cil.c1836 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_cil()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h567 avtab_t te_avtab; member
/third_party/selinux/checkpolicy/test/
Ddispol.c459 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL, in main()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1001 existing = avtab_search_node(&pdb->te_avtab, &avtab_key); in __cil_insert_type_rule()
1022 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_type_rule()
1372 avtab_dup = avtab_search(&pdb->te_avtab, &avtab_key); in __cil_insert_avrule()
1375 rc = avtab_insert(&pdb->te_avtab, &avtab_key, &avtab_datum); in __cil_insert_avrule()
1735 rc = avtab_insert(&pdb->te_avtab, avtab_key, &avtab_datum); in __cil_avrulex_ioctl_to_policydb()
4361 rc = avtab_alloc(&pdb->te_avtab, MAX_AVTAB_SIZE); in __cil_policydb_init()
/third_party/selinux/checkpolicy/
Dcheckpolicy.c248 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54236 struct avtab te_avtab; member