Home
last modified time | relevance | path

Searched refs:class_val_to_struct (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/src/
Dkernel_to_cil.c360 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
385 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
463 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
490 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
505 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
729 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
740 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
751 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
766 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
Dutil.c92 cladatum = policydbp->class_val_to_struct[tclass - 1]; in sepol_av_to_string()
Dkernel_to_conf.c360 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
385 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
553 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
579 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
704 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
715 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
726 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
741 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
Dpolicydb_validate.c318 if (p->class_val_to_struct[i]) { in validate_datum_arrays()
321 if (validate_class_datum(handle, p->class_val_to_struct[i], flavors)) in validate_datum_arrays()
Dservices.c926 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
1047 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1209 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_string_to_av_perm()
1349 cladatum = policydb->class_val_to_struct[tclass - 1]; in sepol_compute_sid()
Dpolicydb.c1019 p->class_val_to_struct[cladatum->s.value - 1] = cladatum; in class_index()
1138 free(p->class_val_to_struct); in policydb_index_classes()
1139 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
1141 if (!p->class_val_to_struct) in policydb_index_classes()
1496 if (p->class_val_to_struct) in policydb_destroy()
1497 free(p->class_val_to_struct); in policydb_destroy()
4163 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in policydb_string_to_av_perm()
Dmls.c628 cladatum = policydb->class_val_to_struct[tclass - 1]; in mls_compute_sid()
Dlink.c2021 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met()
2082 cladatum = p->class_val_to_struct[req.symbol_value - 1]; in debug_requirements()
2143 cladatum = p->class_val_to_struct[req->symbol_value - 1]; in print_missing_requirements()
/third_party/selinux/libsepol/tests/
Dtest-common.c74 CU_ASSERT(p->class_val_to_struct[d->s.value - 1] == d); in class_test_index()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h545 class_datum_t **class_val_to_struct; member
/third_party/selinux/checkpolicy/
Dcheckpolicy.c772 policydb.class_val_to_struct[tclass - 1]; in main()
Dpolicy_define.c2109 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_xperms_helper()
2573 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_helper()
3590 cladatum = policydbp->class_val_to_struct[i]; in define_constraint()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1635 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
3989 pdb->class_val_to_struct[class->s.value - 1] = class; in __cil_class_val_array_insert()
4087 policydb->class_val_to_struct = cil_malloc(sizeof(class_datum_t *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4752 class_datum_t *sepol_class = pdb->class_val_to_struct[class - 1]; in cil_classperms_from_sepol()