mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
Merge branch 'arch-tile' into no-rebases
This commit is contained in:
commit
a2b6dfaef0
@ -248,7 +248,7 @@ long compat_sys_rt_sigreturn(void)
|
||||
if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
|
||||
goto badframe;
|
||||
|
||||
if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) != 0)
|
||||
if (compat_sys_sigaltstack(&frame->uc.uc_stack, NULL) == -EFAULT)
|
||||
goto badframe;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user