Messages in this thread | | | Date | Thu, 8 Jan 2009 23:46:03 +1100 (EST) | From | James Morris <> | Subject | Re: [PATCH] CRED: Fix commit_creds() on a process that has no mm |
| |
On Thu, 8 Jan 2009, David Howells wrote:
> 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.
This looks correct in its own right, and is available for Linus to pull per below, but I'd also like to know that Jiri's problem is verified to be fixed.
The following changes since commit 9e42d0cf5020aaf217433cad1a224745241d212a: Linus Torvalds (1): Merge git://git.kernel.org/.../davem/sparc-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6 for-linus
David Howells (1): CRED: Fix commit_creds() on a process that has no mm
kernel/cred.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
| |