Searched refs:tclass_datum (Results 1 – 2 of 2) sorted by relevance
917 class_datum_t *tclass_datum; in context_struct_compute_av() local927 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()982 constraint = tclass_datum->constraints; in context_struct_compute_av()1041 class_datum_t *tclass_datum; in sepol_validate_transition_reason_buffer() local1048 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()1078 constraint = tclass_datum->validatetrans; in sepol_validate_transition_reason_buffer()1183 class_datum_t *tclass_datum; in sepol_string_to_security_class() local1185 tclass_datum = hashtab_search(policydb->p_classes.table, in sepol_string_to_security_class()1187 if (!tclass_datum) { in sepol_string_to_security_class()1191 *tclass = tclass_datum->s.value; in sepol_string_to_security_class()[all …]
4180 class_datum_t *tclass_datum; in policydb_string_to_security_class() local4182 tclass_datum = hashtab_search(policydb->p_classes.table, in policydb_string_to_security_class()4184 if (!tclass_datum) in policydb_string_to_security_class()4186 return tclass_datum->s.value; in policydb_string_to_security_class()4194 class_datum_t *tclass_datum; in policydb_string_to_av_perm() local4199 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in policydb_string_to_av_perm()4202 hashtab_search(tclass_datum->permissions.table, in policydb_string_to_av_perm()4207 if (tclass_datum->comdatum == NULL) in policydb_string_to_av_perm()4211 hashtab_search(tclass_datum->comdatum->permissions.table, in policydb_string_to_av_perm()