Home
last modified time | relevance | path

Searched refs:cladatum (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/security/selinux/ss/
Dpolicydb.c215 struct class_datum *cladatum; in cls_destroy() local
221 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() local
563 cladatum = datum; in class_index()
565 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()
[all …]
Dmls.c486 struct class_datum *cladatum; in mls_compute_sid() local
503 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()
Dservices.c1715 struct class_datum *cladatum; in security_compute_sid() local
1737 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()