commit | b9456371a73871d001e67b5f4eac118c2c278e1c | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Jan 08 11:18:31 2009 +0000 |
committer | James Morris <jmorris@namei.org> | Thu Jan 08 23:13:56 2009 +1100 |
tree | 1bfe87d83dc3d7f34b9d7edf9a9ef3a693afcf29 | |
parent | 9e42d0cf5020aaf217433cad1a224745241d212a [diff] |
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 <jirislaby@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>