From: KOSAKI Motohiro Date: Wed, 27 Oct 2010 22:34:08 +0000 (-0700) Subject: signals: move cred_guard_mutex from task_struct to signal_struct X-Git-Tag: v2.6.37-rc1~85^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1bf12d5d51bca178dea21b04a0805e29d60cf1;p=pandora-kernel.git signals: move cred_guard_mutex from task_struct to signal_struct Oleg Nesterov pointed out we have to prevent multiple-threads-inside-exec itself and we can reuse ->cred_guard_mutex for it. Yes, concurrent execve() has no worth. Let's move ->cred_guard_mutex from task_struct to signal_struct. It naturally prevent multiple-threads-inside-exec. Signed-off-by: KOSAKI Motohiro Reviewed-by: Oleg Nesterov Acked-by: Roland McGrath Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed