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_bit(roles, rnode, bit) { in user_to_record()
117 const char **roles = NULL; in sepol_user_modify() local
138 if (sepol_user_get_roles(handle, user, &roles, &num_roles) < 0) in sepol_user_modify()
165 roldatum = hashtab_search(policydb->p_roles.table, roles[i]); in sepol_user_modify()
168 roles[i], cname); in sepol_user_modify()
176 (&(usrdatum->roles.roles), bit, 1)) in sepol_user_modify()
267 if (role_set_expand(&usrdatum->roles, &usrdatum->cache, in sepol_user_modify()
274 free(roles); in sepol_user_modify()
284 free(roles); in sepol_user_modify()
286 role_set_destroy(&usrdatum->roles); in sepol_user_modify()