diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-20 15:41:11 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 02:46:12 (GMT) |
commit | 02232f8d2b22708f0651dc515544f4a7ef1e0224 (patch) | |
tree | 600e8848f756ad5731781d7df34d784b83be9251 /arch | |
parent | afd3f96dc34357584763c2dc453192c78a9dbce0 (diff) | |
download | linux-02232f8d2b22708f0651dc515544f4a7ef1e0224.tar.xz |
microblaze: rt_sigreturn is too trigger-happy about sigaltstack errors
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index 3847e5b..3903e3d 100644 --- 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; |