Searched refs:p_roles (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/security/selinux/ss/ |
D | policydb.h | 246 #define p_roles symtab[SYM_ROLES] macro
|
D | policydb.c | 389 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()
|
D | services.c | 1460 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct() 2043 role = symtab_search(&args->newp->p_roles, in services_convert_context() 3562 roledatum = symtab_search(&policydb->p_roles, rulestr); in selinux_audit_rule_init()
|