From: Oleg Nesterov Date: Sun, 5 Jul 2009 19:08:26 +0000 (-0700) Subject: cred_guard_mutex: do not return -EINTR to user-space X-Git-Tag: v2.6.31-rc3~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793285fcafce4719a05e0c99fa74b188157fe7fe;p=pandora-kernel.git cred_guard_mutex: do not return -EINTR to user-space do_execve() and ptrace_attach() return -EINTR if mutex_lock_interruptible(->cred_guard_mutex) fails. This is not right, change the code to return ERESTARTNOINTR. Perhaps we should also change proc_pid_attr_write(). Signed-off-by: Oleg Nesterov Cc: David Howells Acked-by: Roland McGrath Cc: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed