Lines Matching refs:cladatum
1327 struct class_datum *cladatum = NULL; in sepol_compute_sid() local
1349 cladatum = policydb->class_val_to_struct[tclass - 1]; in sepol_compute_sid()
1357 if (cladatum && cladatum->default_user == DEFAULT_TARGET) { in sepol_compute_sid()
1372 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in sepol_compute_sid()
1374 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in sepol_compute_sid()
1384 if (cladatum && cladatum->default_type == DEFAULT_SOURCE) { in sepol_compute_sid()
1386 } else if (cladatum && cladatum->default_type == DEFAULT_TARGET) { in sepol_compute_sid()
1529 class_datum_t *cladatum, *cladatum2; in validate_class() local
1532 cladatum = (class_datum_t *) datum; in validate_class()
1540 if (cladatum->s.value != cladatum2->s.value) { in validate_class()
1544 if ((cladatum->comdatum && !cladatum2->comdatum) || in validate_class()
1545 (!cladatum->comdatum && cladatum2->comdatum)) { in validate_class()
1550 if (cladatum->comdatum) { in validate_class()
1552 (cladatum->comdatum->permissions.table, validate_perm, in validate_class()
1560 if (hashtab_map(cladatum->permissions.table, validate_perm, in validate_class()