From: Oleg Nesterov Date: Wed, 17 Oct 2007 06:27:24 +0000 (-0700) Subject: do_sigaction: don't worry about signal_pending() X-Git-Tag: v2.6.24-rc1~671 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fbcb731220341537131b32cf01b1e70df7206d;p=pandora-kernel.git do_sigaction: don't worry about signal_pending() do_sigaction() returns -ERESTARTNOINTR if signal_pending(). The comment says: * If there might be a fatal signal pending on multiple * threads, make sure we take it before changing the action. I think this is not needed. We should only worry about SIGNAL_GROUP_EXIT case, bit it implies a pending SIGKILL which can't be cleared by do_sigaction. Kill this special case. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed