Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/sepolgen-ifgen/
Dsepolgen-ifgen-attr-helper.c66 cladatum = policydbp->class_val_to_struct[tclass - 1]; in render_access_mask()
/external/selinux/libsepol/src/
Dutil.c92 cladatum = policydbp->class_val_to_struct[tclass - 1]; in sepol_av_to_string()
Dservices.c853 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
967 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition()
1020 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1186 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_string_to_av_perm()
Dpolicydb.c867 p->class_val_to_struct[cladatum->s.value - 1] = cladatum; in class_index()
978 free(p->class_val_to_struct); in policydb_index_classes()
979 p->class_val_to_struct = (class_datum_t **) in policydb_index_classes()
981 if (!p->class_val_to_struct) in policydb_index_classes()
1311 if (p->class_val_to_struct) in policydb_destroy()
1312 free(p->class_val_to_struct); in policydb_destroy()
Dlink.c2038 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met()
2099 cladatum = p->class_val_to_struct[req.symbol_value - 1]; in debug_requirements()
2160 cladatum = p->class_val_to_struct[req->symbol_value - 1]; in print_missing_requirements()
/external/selinux/checkpolicy/
Dcheckpolicy.c710 policydb.class_val_to_struct[tclass - 1]; in main()
1117 policydb.class_val_to_struct[tclass - 1]; in main()
1170 policydb.class_val_to_struct[tclass - 1]; in main()
Dpolicy_define.c2014 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_xperms_helper()
2478 cladatum = policydbp->class_val_to_struct[i]; in define_te_avtab_helper()
3521 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.h525 class_datum_t **class_val_to_struct; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c1566 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
3701 pdb->class_val_to_struct[class->s.value - 1] = class; in __cil_class_val_array_insert()
3799 policydb->class_val_to_struct = cil_malloc(sizeof(class_datum_t *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
4503 class_datum_t *sepol_class = pdb->class_val_to_struct[class - 1]; in cil_classperms_from_sepol()