Home
last modified time | relevance | path

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

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