All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: Don't miss pending signals returning to user mode after
@ 2008-07-17 12:08 Stuart MENEFY
  2008-07-17 23:09 ` [PATCH] sh: Don't miss pending signals returning to user mode after signal processing Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart MENEFY @ 2008-07-17 12:08 UTC (permalink / raw)
  To: linux-sh

sh: Don't miss pending signals returning to user mode after signal processing

Without this patch, signals sent during architecture specific signal
handling (typically as a result of the user's stack being inaccessible)
are ignored.

This is the SH version of commit c3ff8ec31c1249d268cd11390649768a12bec1b9
which was for the i386.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
---

  entry-common.S |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/sh/kernel/entry-common.S
+++ b/arch/sh/kernel/entry-common.S
@@ -195,7 +195,7 @@ work_resched:
  	.align	2
  1:	.long	schedule
  2:	.long	do_notify_resume
-3:	.long	restore_all
+3:	.long	resume_userspace
  #ifdef CONFIG_TRACE_IRQFLAGS
  4:	.long	trace_hardirqs_on
  5:	.long	trace_hardirqs_off

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

* Re: [PATCH] sh: Don't miss pending signals returning to user mode after signal processing
  2008-07-17 12:08 [PATCH] sh: Don't miss pending signals returning to user mode after Stuart MENEFY
@ 2008-07-17 23:09 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-07-17 23:09 UTC (permalink / raw)
  To: linux-sh

On Thu, Jul 17, 2008 at 01:08:40PM +0100, Stuart MENEFY wrote:
> sh: Don't miss pending signals returning to user mode after signal 
> processing
> 
> Without this patch, signals sent during architecture specific signal
> handling (typically as a result of the user's stack being inaccessible)
> are ignored.
> 
> This is the SH version of commit c3ff8ec31c1249d268cd11390649768a12bec1b9
> which was for the i386.
> 
> Signed-off-by: Stuart Menefy <stuart.menefy@st.com>

Applied, thanks Stuart.

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

end of thread, other threads:[~2008-07-17 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 12:08 [PATCH] sh: Don't miss pending signals returning to user mode after Stuart MENEFY
2008-07-17 23:09 ` [PATCH] sh: Don't miss pending signals returning to user mode after signal processing Paul Mundt

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.