From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:23 +0000 (-0700) Subject: allow_signal: kill the bogus ->mm check, add a note about CLONE_SIGHAND X-Git-Tag: v2.6.31-rc1~228 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87245135d5057edd5a8037131f81eeffd76d4fef;p=pandora-kernel.git allow_signal: kill the bogus ->mm check, add a note about CLONE_SIGHAND allow_signal() checks ->mm == NULL. Not sure why. Perhaps to make sure current is the kernel thread. But this helper must not be used unless we are the kernel thread, kill this check. Also, document the fact that the CLONE_SIGHAND kthread must not use allow_signal(), unless the caller really wants to change the parent's ->sighand->action as well. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed