All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered
@ 2010-09-28  2:57 Al Viro
  2010-11-01  8:20 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 3+ messages in thread
From: Al Viro @ 2010-09-28  2:57 UTC (permalink / raw)
  To: hans-christian.egtvedt; +Cc: torvalds, linux-kernel, linux-arch


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

diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index 52affae..7dbbec1 100644
--- a/arch/avr32/kernel/signal.c
+++ b/arch/avr32/kernel/signal.c
@@ -246,6 +246,10 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
 		sigaddset(&current->blocked, sig);
 	recalc_sigpending();
 	spin_unlock_irq(&current->sighand->siglock);
+
+	/* mask saved on sigframe we'd set up */
+	clear_thread_flag(TIF_RESTORE_SIGMASK);
+
 	return;
 
 fail:
-- 
1.5.6.5



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

* Re: [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered
  2010-09-28  2:57 [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered Al Viro
@ 2010-11-01  8:20 ` Hans-Christian Egtvedt
  0 siblings, 0 replies; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2010-11-01  8:20 UTC (permalink / raw)
  To: Al Viro; +Cc: torvalds, linux-kernel, linux-arch

On Tue, 2010-09-28 at 03:57 +0100, Al Viro wrote: 
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>

-- 
Hans-Christian Egtvedt


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

* [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered...
@ 2010-12-15 10:39 Al Viro
  0 siblings, 0 replies; 3+ messages in thread
From: Al Viro @ 2010-12-15 10:39 UTC (permalink / raw)
  To: hans-christian.egtvedt; +Cc: linux-kernel


Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 arch/avr32/kernel/signal.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index 25090d6..b9fa924 100644
--- a/arch/avr32/kernel/signal.c
+++ b/arch/avr32/kernel/signal.c
@@ -244,6 +244,10 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
 		sigaddset(&current->blocked, sig);
 	recalc_sigpending();
 	spin_unlock_irq(&current->sighand->siglock);
+
+	/* mask saved on sigframe we'd set up */
+	clear_thread_flag(TIF_RESTORE_SIGMASK);
+
 	return;
 
 fail:
-- 
1.5.6.5



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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-28  2:57 [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when signal is delivered Al Viro
2010-11-01  8:20 ` Hans-Christian Egtvedt
2010-12-15 10:39 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.