Home
last modified time | relevance | path

Searched refs:rolemap (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dexpand.h49 uint32_t * rolemap, uint32_t * usermap,
66 …set_expand(role_set_t * x, ebitmap_t * r, policydb_t * out, policydb_t * base, uint32_t * rolemap);
/external/selinux/libsepol/src/
Dexpand.c44 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()
[all …]