All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] mips: don't block signals if we'd failed setting sigframe up
@ 2010-09-28 17:50 Al Viro
  2010-10-14 12:48 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Al Viro @ 2010-09-28 17:50 UTC (permalink / raw)
  To: ralf; +Cc: linux-kernel, linux-arch


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 arch/mips/kernel/signal.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index 2099d5a..b3273ae 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -575,6 +575,9 @@ static int handle_signal(unsigned long sig, siginfo_t *info,
 		ret = abi->setup_frame(vdso + abi->signal_return_offset,
 				       ka, regs, sig, oldset);
 
+	if (ret)
+		return ret;
+
 	spin_lock_irq(&current->sighand->siglock);
 	sigorsets(&current->blocked, &current->blocked, &ka->sa.sa_mask);
 	if (!(ka->sa.sa_flags & SA_NODEFER))
-- 
1.5.6.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/5] mips: don't block signals if we'd failed setting sigframe up
  2010-09-28 17:50 [PATCH 1/5] mips: don't block signals if we'd failed setting sigframe up Al Viro
@ 2010-10-14 12:48 ` Ralf Baechle
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2010-10-14 12:48 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-kernel, linux-arch, linux-mips

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/5] mips: don't block signals if we'd failed setting sigframe up
@ 2010-09-28 17:50 Al Viro
  0 siblings, 0 replies; 3+ messages in thread
From: Al Viro @ 2010-09-28 17:50 UTC (permalink / raw)
  To: ralf; +Cc: linux-kernel, linux-arch


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 arch/mips/kernel/signal.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index 2099d5a..b3273ae 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -575,6 +575,9 @@ static int handle_signal(unsigned long sig, siginfo_t *info,
 		ret = abi->setup_frame(vdso + abi->signal_return_offset,
 				       ka, regs, sig, oldset);
 
+	if (ret)
+		return ret;
+
 	spin_lock_irq(&current->sighand->siglock);
 	sigorsets(&current->blocked, &current->blocked, &ka->sa.sa_mask);
 	if (!(ka->sa.sa_flags & SA_NODEFER))
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-14 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-28 17:50 [PATCH 1/5] mips: don't block signals if we'd failed setting sigframe up Al Viro
2010-10-14 12:48 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2010-09-28 17:50 Al Viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.