Searched refs:cladatum (Results 1 – 3 of 3) sorted by relevance
221 struct class_datum *cladatum; in cls_destroy() local227 cladatum = datum; in cls_destroy()228 hashtab_map(cladatum->permissions.table, perm_destroy, NULL); in cls_destroy()229 hashtab_destroy(cladatum->permissions.table); in cls_destroy()230 constraint = cladatum->constraints; in cls_destroy()243 constraint = cladatum->validatetrans; in cls_destroy()255 kfree(cladatum->comkey); in cls_destroy()548 struct class_datum *cladatum; in class_index() local550 cladatum = datum; in class_index()552 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()[all …]
497 struct class_datum *cladatum; in mls_compute_sid() local514 cladatum = p->class_val_to_struct[tclass - 1]; in mls_compute_sid()515 if (cladatum) in mls_compute_sid()516 default_range = cladatum->default_range; in mls_compute_sid()
1700 struct class_datum *cladatum = NULL; in security_compute_sid() local1754 cladatum = policydb->class_val_to_struct[tclass - 1]; in security_compute_sid()1760 if (cladatum && cladatum->default_user == DEFAULT_TARGET) { in security_compute_sid()1775 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in security_compute_sid()1777 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in security_compute_sid()1787 if (cladatum && cladatum->default_type == DEFAULT_SOURCE) { in security_compute_sid()1789 } else if (cladatum && cladatum->default_type == DEFAULT_TARGET) { in security_compute_sid()