Lines Matching refs:new_role

733 	role_datum_t *role, *new_role, *regular_role;  in role_fix_callback()  local
759 new_role = in role_fix_callback()
762 assert(new_role != NULL && new_role->flavor == ROLE_ATTRIB); in role_fix_callback()
767 if (ebitmap_union(&new_role->roles, &mapped_roles)) { in role_fix_callback()
786 &new_role->types.types)) { in role_fix_callback()
802 role_datum_t *new_role; in role_copy_callback() local
824 new_role = in role_copy_callback()
826 if (!new_role) { in role_copy_callback()
827 new_role = (role_datum_t *) malloc(sizeof(role_datum_t)); in role_copy_callback()
828 if (!new_role) { in role_copy_callback()
832 memset(new_role, 0, sizeof(role_datum_t)); in role_copy_callback()
837 free(new_role); in role_copy_callback()
842 new_role->flavor = role->flavor; in role_copy_callback()
843 new_role->s.value = state->out->p_roles.nprim; in role_copy_callback()
844 state->rolemap[role->s.value - 1] = new_role->s.value; in role_copy_callback()
847 (hashtab_datum_t) new_role); in role_copy_callback()
851 free(new_role); in role_copy_callback()
860 if (ebitmap_union(&new_role->dominates, &role->dominates)) { in role_copy_callback()
875 if (ebitmap_union(&new_role->types.types, &tmp_union_types)) { in role_copy_callback()
1257 (cur_allow->new_role == j + 1)) in copy_role_allows()
1271 n->new_role = j + 1; in copy_role_allows()
1329 mapped_role = state->rolemap[cur->new_role - 1]; in copy_role_trans()
1337 if (cur_trans->new_role == mapped_role) { in copy_role_trans()
1346 state->out->p_role_val_to_name[cur_trans->new_role - 1]); in copy_role_trans()
1366 n->new_role = state->rolemap in copy_role_trans()
1367 [cur->new_role - 1]; in copy_role_trans()