Lines Matching refs:rolemap
44 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()
810 state->rolemap[role->s.value - 1] = 1; in role_copy_callback()
842 state->rolemap[role->s.value - 1] = new_role->s.value; in role_copy_callback()
1051 if (role_set_expand(&user->roles, &tmp_union, state->out, state->base, state->rolemap)) { in user_copy_callback()
1235 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1240 if (role_set_expand(&cur->new_roles, &new_roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1304 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_trans()
1327 mapped_role = state->rolemap[cur->new_role - 1]; in copy_role_trans()
1364 n->new_role = state->rolemap in copy_role_trans()
2091 dst->role = state->rolemap[src->role - 1]; in context_copy()
2412 …_set_expand(role_set_t * x, ebitmap_t * r, policydb_t * out, policydb_t * base, uint32_t * rolemap) in role_set_expand() argument
2432 if (rolemap) { in role_set_expand()
2450 if (map_ebitmap(&roles, &mapped_roles, rolemap)) in role_set_expand()
2794 uint32_t * boolmap, uint32_t * rolemap, in expand_module_avrules() argument
2806 state.rolemap = rolemap; in expand_module_avrules()
2980 state.rolemap = (uint32_t *)calloc(state.base->p_roles.nprim, sizeof(uint32_t)); in expand_module()
2981 if (!state.rolemap) { in expand_module()
3166 free(state.rolemap); in expand_module()