Home
last modified time | relevance | path

Searched refs:tclass_datum (Results 1 – 2 of 2) sorted by relevance

/third_party/selinux/libsepol/src/
Dservices.c916 class_datum_t *tclass_datum; in context_struct_compute_av() local
926 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in context_struct_compute_av()
981 constraint = tclass_datum->constraints; in context_struct_compute_av()
1040 class_datum_t *tclass_datum; in sepol_validate_transition_reason_buffer() local
1047 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in sepol_validate_transition_reason_buffer()
1077 constraint = tclass_datum->validatetrans; in sepol_validate_transition_reason_buffer()
1182 class_datum_t *tclass_datum; in sepol_string_to_security_class() local
1184 tclass_datum = hashtab_search(policydb->p_classes.table, in sepol_string_to_security_class()
1186 if (!tclass_datum) { in sepol_string_to_security_class()
1190 *tclass = tclass_datum->s.value; in sepol_string_to_security_class()
[all …]
Dpolicydb.c4144 class_datum_t *tclass_datum; in policydb_string_to_security_class() local
4146 tclass_datum = hashtab_search(policydb->p_classes.table, in policydb_string_to_security_class()
4148 if (!tclass_datum) in policydb_string_to_security_class()
4150 return tclass_datum->s.value; in policydb_string_to_security_class()
4158 class_datum_t *tclass_datum; in policydb_string_to_av_perm() local
4163 tclass_datum = policydb->class_val_to_struct[tclass - 1]; in policydb_string_to_av_perm()
4166 hashtab_search(tclass_datum->permissions.table, in policydb_string_to_av_perm()
4171 if (tclass_datum->comdatum == NULL) in policydb_string_to_av_perm()
4175 hashtab_search(tclass_datum->comdatum->permissions.table, in policydb_string_to_av_perm()