Lines Matching refs:roles
22 ebitmap_t *roles; in user_to_record() local
31 roles = &(usrdatum->roles.roles); in user_to_record()
40 ebitmap_for_each_positive_bit(roles, rnode, bit) { in user_to_record()
115 const char **roles = NULL; in sepol_user_modify() local
136 if (sepol_user_get_roles(handle, user, &roles, &num_roles) < 0) in sepol_user_modify()
163 roldatum = hashtab_search(policydb->p_roles.table, roles[i]); in sepol_user_modify()
166 roles[i], cname); in sepol_user_modify()
172 if (ebitmap_set_bit(&(usrdatum->roles.roles), bit, 1)) in sepol_user_modify()
262 if (role_set_expand(&usrdatum->roles, &usrdatum->cache, in sepol_user_modify()
269 free(roles); in sepol_user_modify()
279 free(roles); in sepol_user_modify()
281 role_set_destroy(&usrdatum->roles); in sepol_user_modify()