Skip to contentSkip to conversation

+ signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 15, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch added to -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]
From: [email protected]
Date: Tue, 15 Apr 2014 12:28:45 -0700

The patch titled
Subject: signals: s/siginitset/sigemptyset/ in do_sigtimedwait()
has been added to the -mm tree. Its filename is
signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: signals: s/siginitset/sigemptyset/ in do_sigtimedwait()

Cosmetic, but siginitset(0) looks a bit strange, sigemptyset() is what do_sigtimedwait() needs.

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/signal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/signal.c renamed from kernel/signal.c~signals-s-siginitset-sigemptyset-in-do_sigtimedwait +1 -1
diff -puN kernel/signal.c~signals-s-siginitset-sigemptyset-in-do_sigtimedwait kernel/signal.c
@@ -2854,7 +2854,7 @@ int do_sigtimedwait(const sigset_t *whic
 
 		spin_lock_irq(&tsk->sighand->siglock);
 		__set_task_blocked(tsk, &tsk->real_blocked);
-		siginitset(&tsk->real_blocked, 0);
+		sigemptyset(&tsk->real_blocked);
 		sig = dequeue_signal(tsk, &mask, info);
 	}
 	spin_unlock_irq(&tsk->sighand->siglock);

_

Patches currently in -mm which might be from [email protected] are

signals-kill-sigfindinword.patch signals-s-siginitset-sigemptyset-in-do_sigtimedwait.patch signals-kill-rm_from_queue-change-prepare_signal-to-use-for_each_thread.patch signals-rename-rm_from_queue_full-to-flush_sigqueue_mask.patch signals-cleanup-the-usage-of-t-current-in-do_sigaction.patch signals-mv-disallow_signal-from-schedh-exitc-to-signal.patch signals-jffs2-fix-the-wrong-usage-of-disallow_signal.patch signals-kill-the-obsolete-sigdelset-and-recalc_sigpending-in-allow_signal.patch signals-disallow_signal-should-flush-the-potentially-pending-signal.patch signals-introduce-kernel_sigaction.patch signals-change-wait_for_helper-to-use-kernel_sigaction.patch