Skip to contentSkip to conversation

signals-change-wait_for_helper-to-use-kernel_sigaction.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 9, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [merged] signals-change-wait_for_helper-to-use-kernel_sigaction.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 09 Jun 2014 12:34:27 -0700

The patch titled
Subject: signals: change wait_for_helper() to use kernel_sigaction()
has been removed from the -mm tree. Its filename was
signals-change-wait_for_helper-to-use-kernel_sigaction.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: signals: change wait_for_helper() to use kernel_sigaction()

Now that we have kernel_sigaction() we can change wait_for_helper() to use it and cleans up the code a bit.

Cc Peter Zijlstra <[email protected]>
Cc Al Viro <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Mathieu Desnoyers <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Tejun Heo <[email protected]>

---

 kernel/kmod.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
kernel/kmod.c renamed from kernel/kmod.c~signals-change-wait_for_helper-to-use-kernel_sigaction +0 -3
diff -puN kernel/kmod.c~signals-change-wait_for_helper-to-use-kernel_sigaction kernel/kmod.c
@@ -285,10 +285,7 @@ static int wait_for_helper(void *data)
 	pid_t pid;
 
 	/* If SIGCLD is ignored sys_wait4 won't populate the status. */
-	spin_lock_irq(&current->sighand->siglock);
-	current->sighand->action[SIGCHLD-1].sa.sa_handler = SIG_DFL;
-	spin_unlock_irq(&current->sighand->siglock);