|
@@ -359,7 +359,7 @@ long do_sigreturn(CPUS390XState *env)
|
|
trace_user_do_sigreturn(env, frame_addr);
|
|
trace_user_do_sigreturn(env, frame_addr);
|
|
if (!lock_user_struct(VERIFY_READ, frame, frame_addr, 1)) {
|
|
if (!lock_user_struct(VERIFY_READ, frame, frame_addr, 1)) {
|
|
force_sig(TARGET_SIGSEGV);
|
|
force_sig(TARGET_SIGSEGV);
|
|
- return -TARGET_QEMU_ESIGRETURN;
|
|
|
|
|
|
+ return -QEMU_ESIGRETURN;
|
|
}
|
|
}
|
|
|
|
|
|
/* Make sure that we're initializing all of target_set. */
|
|
/* Make sure that we're initializing all of target_set. */
|
|
@@ -373,7 +373,7 @@ long do_sigreturn(CPUS390XState *env)
|
|
restore_sigregs_ext(env, &frame->sregs_ext);
|
|
restore_sigregs_ext(env, &frame->sregs_ext);
|
|
|
|
|
|
unlock_user_struct(frame, frame_addr, 0);
|
|
unlock_user_struct(frame, frame_addr, 0);
|
|
- return -TARGET_QEMU_ESIGRETURN;
|
|
|
|
|
|
+ return -QEMU_ESIGRETURN;
|
|
}
|
|
}
|
|
|
|
|
|
long do_rt_sigreturn(CPUS390XState *env)
|
|
long do_rt_sigreturn(CPUS390XState *env)
|
|
@@ -385,7 +385,7 @@ long do_rt_sigreturn(CPUS390XState *env)
|
|
trace_user_do_rt_sigreturn(env, frame_addr);
|
|
trace_user_do_rt_sigreturn(env, frame_addr);
|
|
if (!lock_user_struct(VERIFY_READ, frame, frame_addr, 1)) {
|
|
if (!lock_user_struct(VERIFY_READ, frame, frame_addr, 1)) {
|
|
force_sig(TARGET_SIGSEGV);
|
|
force_sig(TARGET_SIGSEGV);
|
|
- return -TARGET_QEMU_ESIGRETURN;
|
|
|
|
|
|
+ return -QEMU_ESIGRETURN;
|
|
}
|
|
}
|
|
target_to_host_sigset(&set, &frame->uc.tuc_sigmask);
|
|
target_to_host_sigset(&set, &frame->uc.tuc_sigmask);
|
|
|
|
|
|
@@ -397,7 +397,7 @@ long do_rt_sigreturn(CPUS390XState *env)
|
|
target_restore_altstack(&frame->uc.tuc_stack, env);
|
|
target_restore_altstack(&frame->uc.tuc_stack, env);
|
|
|
|
|
|
unlock_user_struct(frame, frame_addr, 0);
|
|
unlock_user_struct(frame, frame_addr, 0);
|
|
- return -TARGET_QEMU_ESIGRETURN;
|
|
|
|
|
|
+ return -QEMU_ESIGRETURN;
|
|
}
|
|
}
|
|
|
|
|
|
void setup_sigtramp(abi_ulong sigtramp_page)
|
|
void setup_sigtramp(abi_ulong sigtramp_page)
|