Searched refs:p_classes (Results 1 – 4 of 4) sorted by relevance
242 #define p_classes symtab[SYM_CLASSES] macro
635 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in context_struct_compute_av()775 if (!tclass || tclass > policydb->p_classes.nprim) { in security_compute_validatetrans()1052 if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { in security_compute_xperms_decision()1774 if (tclass && tclass <= policydb->p_classes.nprim) in security_compute_sid()3363 *nclasses = policydb->p_classes.nprim; in security_get_classes()3368 rc = hashtab_map(&policydb->p_classes.table, get_classes_callback, in security_get_classes()3406 match = symtab_search(&policydb->p_classes, class); in security_get_permissions()
565 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()726 pr_debug("SELinux: %d classes, %d rules\n", p->p_classes.nprim, in policydb_index()732 p->class_val_to_struct = kcalloc(p->p_classes.nprim, in policydb_index()927 if (!class || class > p->p_classes.nprim) in policydb_class_isvalid()1811 cladatum = symtab_search(&p->p_classes, name); in string_to_security_class()1824 if (!tclass || tclass > p->p_classes.nprim) in string_to_av_perm()
502 if (tclass && tclass <= p->p_classes.nprim) { in mls_compute_sid()