Home
last modified time | relevance | path

Searched refs:p_classes (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/security/selinux/ss/
Dpolicydb.h245 #define p_classes symtab[SYM_CLASSES] macro
Dservices.c641 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in context_struct_compute_av()
784 if (!tclass || tclass > policydb->p_classes.nprim) { in security_compute_validatetrans()
1067 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in security_compute_xperms_decision()
1795 if (tclass && tclass <= policydb->p_classes.nprim) in security_compute_sid()
3416 *nclasses = policydb->p_classes.nprim; in security_get_classes()
3421 rc = hashtab_map(&policydb->p_classes.table, get_classes_callback, in security_get_classes()
3457 match = symtab_search(&policydb->p_classes, class); in security_get_permissions()
Dpolicydb.c571 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()
726 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
733 p->class_val_to_struct = kcalloc(p->p_classes.nprim, in policydb_index()
902 if (!class || class > p->p_classes.nprim) in policydb_class_isvalid()
1778 cladatum = symtab_search(&p->p_classes, name); in string_to_security_class()
1791 if (!tclass || tclass > p->p_classes.nprim) in string_to_av_perm()
Dmls.c513 if (tclass && tclass <= p->p_classes.nprim) { in mls_compute_sid()