Lines Matching refs:rolemap

46 	uint32_t *rolemap;  member
333 if (map_ebitmap(&expr->names, &new_expr->names, state->rolemap)) { in constraint_node_clone()
572 bounds_val = state->rolemap[role->bounds - 1]; in role_bounds_copy_callback()
709 if (map_ebitmap(&role->dominates, &mapped_roles, state->rolemap)) in role_remap_dominates()
763 if (map_ebitmap(&role->roles, &mapped_roles, state->rolemap)) in role_fix_callback()
808 state->rolemap[role->s.value - 1] = 1; in role_copy_callback()
840 state->rolemap[role->s.value - 1] = new_role->s.value; in role_copy_callback()
1049 if (role_set_expand(&user->roles, &tmp_union, state->out, state->base, state->rolemap)) { in user_copy_callback()
1233 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1238 if (role_set_expand(&cur->new_roles, &new_roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1298 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_trans()
1314 mapped_role = state->rolemap[cur->new_role - 1]; in copy_role_trans()
1351 n->new_role = state->rolemap in copy_role_trans()
2083 dst->role = state->rolemap[src->role - 1]; in context_copy()
2423 …_set_expand(role_set_t * x, ebitmap_t * r, policydb_t * out, policydb_t * base, uint32_t * rolemap) in role_set_expand() argument
2443 if (rolemap) { in role_set_expand()
2459 if (map_ebitmap(&roles, &mapped_roles, rolemap)) in role_set_expand()
2806 uint32_t * boolmap, uint32_t * rolemap, in expand_module_avrules() argument
2818 state.rolemap = rolemap; in expand_module_avrules()
2992 state.rolemap = (uint32_t *)calloc(state.base->p_roles.nprim, sizeof(uint32_t)); in expand_module()
2993 if (!state.rolemap) { in expand_module()
3178 free(state.rolemap); in expand_module()