Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
Dpolicydb.h246 #define p_roles symtab[SYM_ROLES] macro
Dpolicydb.c389 role->value = ++p->p_roles.nprim; in roles_init()
398 rc = symtab_insert(&p->p_roles, key, role); in roles_init()
587 || role->value > p->p_roles.nprim in role_index()
588 || role->bounds > p->p_roles.nprim) in role_index()
718 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
722 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
739 p->role_val_to_struct = kcalloc(p->p_roles.nprim, in policydb_index()
909 if (!role || role > p->p_roles.nprim) in policydb_role_isvalid()
930 if (!c->role || c->role > p->p_roles.nprim) in policydb_context_isvalid()
1763 rc = hashtab_map(&p->p_roles.table, role_bounds_sanity_check, p); in policydb_bounds_sanity_check()
Dservices.c1481 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct()
2083 role = symtab_search(&args->newp->p_roles, in convert_context()
3631 roledatum = symtab_search(&policydb->p_roles, rulestr); in selinux_audit_rule_init()