Searched refs:cladatum (Results 1 – 3 of 3) sorted by relevance
215 struct class_datum *cladatum; in cls_destroy() local221 cladatum = datum; in cls_destroy()222 hashtab_map(&cladatum->permissions.table, perm_destroy, NULL); in cls_destroy()223 hashtab_destroy(&cladatum->permissions.table); in cls_destroy()224 constraint = cladatum->constraints; in cls_destroy()237 constraint = cladatum->validatetrans; in cls_destroy()249 kfree(cladatum->comkey); in cls_destroy()561 struct class_datum *cladatum; in class_index() local563 cladatum = datum; in class_index()565 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()[all …]
486 struct class_datum *cladatum; in mls_compute_sid() local503 cladatum = p->class_val_to_struct[tclass - 1]; in mls_compute_sid()504 if (cladatum) in mls_compute_sid()505 default_range = cladatum->default_range; in mls_compute_sid()
1715 struct class_datum *cladatum; in security_compute_sid() local1737 cladatum = NULL; in security_compute_sid()1775 cladatum = policydb->class_val_to_struct[tclass - 1]; in security_compute_sid()1781 if (cladatum && cladatum->default_user == DEFAULT_TARGET) { in security_compute_sid()1796 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in security_compute_sid()1798 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in security_compute_sid()1833 } else if (cladatum && cladatum->default_type == DEFAULT_SOURCE) { in security_compute_sid()1835 } else if (cladatum && cladatum->default_type == DEFAULT_TARGET) { in security_compute_sid()