Searched refs:te_avtab (Results 1 – 16 of 16) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | assertion.c | 304 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()
|
D | optimize.c | 297 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()
|
D | conditional.c | 635 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()
|
D | hierarchy.c | 202 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()
|
D | policydb.c | 900 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()
|
D | services.c | 953 avtab_search_node(&policydb->te_avtab, &avkey); in context_struct_compute_av() 1410 avdatum = avtab_search(&policydb->te_avtab, &avkey); in sepol_compute_sid()
|
D | expand.c | 1736 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()
|
D | policydb_validate.c | 1503 if (validate_avtab(handle, &p->te_avtab, p, flavors)) in policydb_validate()
|
D | write.c | 2358 if (avtab_write(p, &p->te_avtab, fp)) in policydb_write()
|
D | kernel_to_conf.c | 1812 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_conf()
|
D | kernel_to_cil.c | 1836 rc = avtab_map(&pdb->te_avtab, map_avtab_write_helper, &args); in write_avtab_flavor_to_cil()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 567 avtab_t te_avtab; member
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 459 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL, in main()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1001 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/ |
D | checkpolicy.c | 248 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 54236 struct avtab te_avtab; member
|