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.c356 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
381 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
459 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
486 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
501 class = pdb->class_val_to_struct[i]; in write_class_decl_rules_to_cil()
725 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
736 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
747 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
762 class = pdb->class_val_to_struct[i]; in write_default_rules_to_cil()
Dutil.c93 cladatum = policydbp->class_val_to_struct[tclass - 1]; in sepol_av_to_string()
Dkernel_to_conf.c356 class = pdb->class_val_to_struct[i]; in constraint_rules_to_strs()
381 class = pdb->class_val_to_struct[i]; in validatetrans_rules_to_strs()
549 class = pdb->class_val_to_struct[i]; in write_class_and_common_rules_to_conf()
575 class = pdb->class_val_to_struct[i]; in write_class_and_common_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()
722 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
737 class = pdb->class_val_to_struct[i]; in write_default_rules_to_conf()
Dservices.c915 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
1031 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition()
1084 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1246 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_string_to_av_perm()
Dpolicydb.c1015 p->class_val_to_struct[cladatum->s.value - 1] = cladatum; in class_index()
1135 free(p->class_val_to_struct); in policydb_index_classes()
1136 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
1138 if (!p->class_val_to_struct) in policydb_index_classes()
1497 if (p->class_val_to_struct) in policydb_destroy()
1498 free(p->class_val_to_struct); in policydb_destroy()
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()
/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.c757 policydb.class_val_to_struct[tclass - 1]; in main()
1166 policydb.class_val_to_struct[tclass - 1]; in main()
1219 policydb.class_val_to_struct[tclass - 1]; in main()
Dpolicy_define.c2115 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_xperms_helper()
2581 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_helper()
3625 cladatum = policydbp->class_val_to_struct[i]; in define_constraint()
/external/selinux/libsepol/tests/
Dtest-common.c74 CU_ASSERT(p->class_val_to_struct[d->s.value - 1] == d); in class_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h544 class_datum_t **class_val_to_struct; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c1651 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
3904 pdb->class_val_to_struct[class->s.value - 1] = class; in __cil_class_val_array_insert()
4002 policydb->class_val_to_struct = cil_malloc(sizeof(class_datum_t *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4668 class_datum_t *sepol_class = pdb->class_val_to_struct[class - 1]; in cil_classperms_from_sepol()