Lines Matching refs:new_user
536 user_datum_t *user, *base_user, *new_user = NULL; in user_copy_callback() local
550 if ((new_user = in user_copy_callback()
551 (user_datum_t *) malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
554 user_datum_init(new_user); in user_copy_callback()
558 new_user->s.value = state->base->p_users.nprim + 1; in user_copy_callback()
562 (hashtab_datum_t) new_user); in user_copy_callback()
567 base_user = new_user; in user_copy_callback()
572 if ((new_user = malloc(sizeof(*new_user))) == NULL) { in user_copy_callback()
575 user_datum_init(new_user); in user_copy_callback()
576 new_user->s.value = base_user->s.value; in user_copy_callback()
581 (state->dest_decl->p_users.table, new_id, new_user)) { in user_copy_callback()
592 user_datum_destroy(new_user); in user_copy_callback()
594 free(new_user); in user_copy_callback()
1217 user_datum_t *user, *new_user = NULL; in user_fix_callback() local
1229 new_user = hashtab_search(usertab->table, id); in user_fix_callback()
1230 assert(new_user != NULL); in user_fix_callback()
1236 if (role_set_or_convert(&user->roles, &new_user->roles, mod, state)) { in user_fix_callback()
1240 if (mls_range_convert(&user->range, &new_user->range, mod, state)) in user_fix_callback()
1243 if (mls_level_convert(&user->dfltlevel, &new_user->dfltlevel, mod, state)) in user_fix_callback()