From: David Howells Date: Thu, 8 Jan 2009 11:18:31 +0000 (+0000) Subject: CRED: Fix commit_creds() on a process that has no mm X-Git-Tag: v2.6.29-rc1~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9456371a73871d001e67b5f4eac118c2c278e1c;p=pandora-kernel.git CRED: Fix commit_creds() on a process that has no mm Fix commit_creds()'s handling of a process that has no mm (such as one that is calling or has called daemonize()). commit_creds() should check to see if task->mm is not NULL before calling set_dumpable() on it. Reported-by: Jiri Slaby Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed