Skip to contentSkip to conversation

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

PATCH Applied Stuart MENEFY 2 participants 2 messages Jul 17, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Don't miss pending signals returning to user mode after

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.

---

  entry-common.S |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/entry-common.S +1 -1
@@ -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
Applied
#1 lore raw

Re: [PATCH] sh: Don't miss pending signals returning to user mode after signal processing

Quoted 11 lines · Stuart MENEFY

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.

Applied, thanks Stuart.