Searched refs:cladatum (Results 1 – 3 of 3) sorted by relevance
216 struct class_datum *cladatum; in cls_destroy() local222 cladatum = datum; in cls_destroy()223 hashtab_map(&cladatum->permissions.table, perm_destroy, NULL); in cls_destroy()224 hashtab_destroy(&cladatum->permissions.table); in cls_destroy()225 constraint = cladatum->constraints; in cls_destroy()238 constraint = cladatum->validatetrans; in cls_destroy()250 kfree(cladatum->comkey); in cls_destroy()567 struct class_datum *cladatum; in class_index() local569 cladatum = datum; in class_index()571 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()
1735 struct class_datum *cladatum; in security_compute_sid() local1758 cladatum = NULL; in security_compute_sid()1796 cladatum = policydb->class_val_to_struct[tclass - 1]; in security_compute_sid()1802 if (cladatum && cladatum->default_user == DEFAULT_TARGET) { in security_compute_sid()1817 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in security_compute_sid()1819 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in security_compute_sid()1829 if (cladatum && cladatum->default_type == DEFAULT_SOURCE) { in security_compute_sid()1831 } else if (cladatum && cladatum->default_type == DEFAULT_TARGET) { in security_compute_sid()