Lines Matching refs:new_user
960 user_datum_t *new_user; in user_copy_callback() local
976 new_user = in user_copy_callback()
978 if (!new_user) { in user_copy_callback()
979 new_user = (user_datum_t *) malloc(sizeof(user_datum_t)); in user_copy_callback()
980 if (!new_user) { in user_copy_callback()
984 memset(new_user, 0, sizeof(user_datum_t)); in user_copy_callback()
987 new_user->s.value = state->out->p_users.nprim; in user_copy_callback()
988 state->usermap[user->s.value - 1] = new_user->s.value; in user_copy_callback()
993 free(new_user); in user_copy_callback()
998 (hashtab_datum_t) new_user); in user_copy_callback()
1001 user_datum_destroy(new_user); in user_copy_callback()
1002 free(new_user); in user_copy_callback()
1009 &new_user->exp_range, in user_copy_callback()
1014 &new_user->exp_dfltlevel, in user_copy_callback()
1018 if (!mls_level_between(&new_user->exp_dfltlevel, in user_copy_callback()
1019 &new_user->exp_range.level[0], in user_copy_callback()
1020 &new_user->exp_range.level[1])) { in user_copy_callback()
1039 if (!mls_range_eq(&new_user->exp_range, &tmp_range) || in user_copy_callback()
1040 !mls_level_eq(&new_user->exp_dfltlevel, &tmp_level)) { in user_copy_callback()
1058 if (ebitmap_union(&new_user->roles.roles, &tmp_union)) { in user_copy_callback()