Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dkernel_to_cil.c367 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
393 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
472 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
500 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
516 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
746 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
758 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
770 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
786 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
Dkernel_to_conf.c371 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
396 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
564 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
591 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
722 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
734 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
746 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
762 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
Dutil.c97 cladatum = policydbp->class_val_to_struct[tclass - 1]; in sepol_av_to_string()
Dservices.c927 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
1048 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1210 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_string_to_av_perm()
1356 cladatum = policydb->class_val_to_struct[tclass - 1]; in sepol_compute_sid()
Dpolicydb.c1031 p->class_val_to_struct[cladatum->s.value - 1] = cladatum; in class_index()
1150 free(p->class_val_to_struct); in policydb_index_classes()
1151 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
1153 if (!p->class_val_to_struct) in policydb_index_classes()
1509 if (p->class_val_to_struct) in policydb_destroy()
1510 free(p->class_val_to_struct); in policydb_destroy()
4199 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.c1974 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met()
2035 cladatum = p->class_val_to_struct[req.symbol_value - 1]; in debug_requirements()
2096 cladatum = p->class_val_to_struct[req->symbol_value - 1]; in print_missing_requirements()
Dpolicydb_validate.c689 if (bool_xnor(p->class_val_to_struct[i], ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i))) in validate_datum_array_gaps()
/third_party/selinux/libsepol/tests/
Dtest-common.c75 CU_ASSERT(p->class_val_to_struct[d->s.value - 1] == d); in class_test_index()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h546 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.c2117 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_xperms_helper()
2582 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_helper()
3630 cladatum = policydbp->class_val_to_struct[i]; in define_constraint()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c1717 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
4123 pdb->class_val_to_struct[class->s.value - 1] = class; in __cil_class_val_array_insert()
4221 policydb->class_val_to_struct = cil_malloc(sizeof(class_datum_t *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4897 class_datum_t *sepol_class = pdb->class_val_to_struct[class - 1]; in cil_classperms_from_sepol()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54232 struct class_datum **class_val_to_struct; member