projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008f179
)
tile: compat rt_sigreturn gets too enthusiastic about sigaltstack errors
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 29 Nov 2012 02:43:21 +0000
(21:43 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 29 Nov 2012 02:43:21 +0000
(21:43 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/tile/kernel/compat_signal.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/compat_signal.c
b/arch/tile/kernel/compat_signal.c
index
210a9bb
..
2e4cc69
100644
(file)
--- a/
arch/tile/kernel/compat_signal.c
+++ b/
arch/tile/kernel/compat_signal.c
@@
-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;