Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/ss/
H A Dpolicydb.h258 struct role_datum **role_val_to_struct; member
H A Dpolicydb.c592 p->role_val_to_struct[role->value - 1] = role; in role_index()
740 p->role_val_to_struct = kcalloc(p->p_roles.nprim, in policydb_index()
741 sizeof(*p->role_val_to_struct), in policydb_index()
743 if (!p->role_val_to_struct) in policydb_index()
798 kfree(p->role_val_to_struct); in policydb_destroy()
944 role = p->role_val_to_struct[c->role - 1]; in policydb_context_isvalid()
1708 upper = p->role_val_to_struct[upper->bounds - 1]; in role_bounds_sanity_check()
H A Dservices.c309 r1 = policydb->role_val_to_struct[val1 - 1]; in constraint_expr_eval()
310 r2 = policydb->role_val_to_struct[val2 - 1]; in constraint_expr_eval()
2740 role = policydb->role_val_to_struct[i]; in security_get_user_sids()