projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd3f96
)
microblaze: rt_sigreturn is too trigger-happy about sigaltstack errors
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 20 Nov 2012 15:41:11 +0000
(10:41 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 29 Nov 2012 02:46:12 +0000
(21:46 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/microblaze/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/signal.c
b/arch/microblaze/kernel/signal.c
index 3847e5b9c601f68e189ca21749300b6b7e416415..3903e3d11f5a557d673fbcfcb051e1fd17e49392 100644
(file)
--- a/
arch/microblaze/kernel/signal.c
+++ b/
arch/microblaze/kernel/signal.c
@@
-111,7
+111,7
@@
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
/* It is more difficult to avoid calling this function than to
call it and ignore errors. */
- if (do_sigaltstack(&frame->uc.uc_stack, NULL, regs->r1))
+ if (do_sigaltstack(&frame->uc.uc_stack, NULL, regs->r1)
== -EFAULT
)
goto badframe;
return rval;