• Home
  • Raw
  • Download

Lines Matching refs:rolemap

46 	uint32_t *rolemap;  member
365 if (map_ebitmap(&expr->names, &new_expr->names, state->rolemap)) { in constraint_node_clone()
607 bounds_val = state->rolemap[role->bounds - 1]; in role_bounds_copy_callback()
744 if (map_ebitmap(&role->dominates, &mapped_roles, state->rolemap)) in role_remap_dominates()
798 if (map_ebitmap(&role->roles, &mapped_roles, state->rolemap)) in role_fix_callback()
843 state->rolemap[role->s.value - 1] = 1; in role_copy_callback()
875 state->rolemap[role->s.value - 1] = new_role->s.value; in role_copy_callback()
1088 if (role_set_expand(&user->roles, &tmp_union, state->out, state->base, state->rolemap)) { in user_copy_callback()
1272 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1277 if (role_set_expand(&cur->new_roles, &new_roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1337 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_trans()
1353 mapped_role = state->rolemap[cur->new_role - 1]; in copy_role_trans()
1390 n->new_role = state->rolemap in copy_role_trans()
2112 dst->role = state->rolemap[src->role - 1]; in context_copy()
2452 …_set_expand(role_set_t * x, ebitmap_t * r, policydb_t * out, policydb_t * base, uint32_t * rolemap) in role_set_expand() argument
2472 if (rolemap) { in role_set_expand()
2488 if (map_ebitmap(&roles, &mapped_roles, rolemap)) in role_set_expand()
2835 uint32_t * boolmap, uint32_t * rolemap, in expand_module_avrules() argument
2847 state.rolemap = rolemap; in expand_module_avrules()
3024 state.rolemap = (uint32_t *)calloc(state.base->p_roles.nprim, sizeof(uint32_t)); in expand_module()
3025 if (!state.rolemap) { in expand_module()
3209 free(state.rolemap); in expand_module()