Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dkernel_to_cil.c352 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
377 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
455 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
482 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
497 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
718 class = pdb->class_val_to_struct[i]; in write_default_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()
755 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
Dkernel_to_conf.c352 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
377 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
541 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
567 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
689 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
700 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
711 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()
Dutil.c93 cladatum = policydbp->class_val_to_struct[tclass - 1]; in sepol_av_to_string()
Dservices.c915 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
1035 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition()
1088 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1250 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_string_to_av_perm()
Dpolicydb.c993 p->class_val_to_struct[cladatum->s.value - 1] = cladatum; in class_index()
1113 free(p->class_val_to_struct); in policydb_index_classes()
1114 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
1116 if (!p->class_val_to_struct) in policydb_index_classes()
1475 if (p->class_val_to_struct) in policydb_destroy()
1476 free(p->class_val_to_struct); in policydb_destroy()
Dmls.c632 cladatum = policydb->class_val_to_struct[tclass - 1]; in mls_compute_sid()
Dlink.c2047 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met()
2108 cladatum = p->class_val_to_struct[req.symbol_value - 1]; in debug_requirements()
2169 cladatum = p->class_val_to_struct[req->symbol_value - 1]; in print_missing_requirements()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c66 cladatum = policydbp->class_val_to_struct[tclass - 1]; in render_access_mask()
/external/selinux/checkpolicy/
Dcheckpolicy.c739 policydb.class_val_to_struct[tclass - 1]; in main()
1148 policydb.class_val_to_struct[tclass - 1]; in main()
1201 policydb.class_val_to_struct[tclass - 1]; in main()
Dpolicy_define.c2122 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_xperms_helper()
2592 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_helper()
3657 cladatum = policydbp->class_val_to_struct[i]; in define_constraint()
/external/selinux/libsepol/tests/
Dtest-common.c72 CU_ASSERT(p->class_val_to_struct[d->s.value - 1] == d); in class_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h543 class_datum_t **class_val_to_struct; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c1690 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()
4788 class_datum_t *sepol_class = pdb->class_val_to_struct[class - 1]; in cil_classperms_from_sepol()