mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UML - Fix botched signal handling patch
@ 2006-08-07 17:15 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-08-07 17:15 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

I botched a previous patch which changed how UML handles signals.  I
left out a bit which sets the signal handler to be one provided by the
architecture.

This patch sets the handler correctly.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.18-mm/arch/um/os-Linux/signal.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/os-Linux/signal.c	2006-08-07 10:05:32.000000000 -0400
+++ linux-2.6.18-mm/arch/um/os-Linux/signal.c	2006-08-07 10:15:38.000000000 -0400
@@ -118,7 +118,8 @@ void set_handler(int sig, void (*handler
 	sigset_t sig_mask;
 	int mask;
 
-	action.sa_handler = handler;
+	handlers[sig] = (void (*)(int, struct sigcontext *)) handler;
+	action.sa_handler = hard_handler;
 
 	sigemptyset(&action.sa_mask);
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-07 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-07 17:15 [PATCH] UML - Fix botched signal handling patch Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome