Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/ss/
H A Dpolicydb.h246 #define p_roles symtab[SYM_ROLES] macro
H A 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()
721 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
725 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
740 p->role_val_to_struct = kcalloc(p->p_roles.nprim, in policydb_index()
910 if (!role || role > p->p_roles.nprim) in policydb_role_isvalid()
931 if (!c->role || c->role > p->p_roles.nprim) in policydb_context_isvalid()
1767 rc = hashtab_map(&p->p_roles.table, role_bounds_sanity_check, p); in policydb_bounds_sanity_check()
H A Dservices.c1460 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct()
2043 role = symtab_search(&args->newp->p_roles, in services_convert_context()
3563 roledatum = symtab_search(&policydb->p_roles, rulestr); in selinux_audit_rule_init()