This should fix it:
--- fs/proc/base.c.~1~	Thu Jul 19 23:02:12 2001
+++ fs/proc/base.c	Thu Jul 19 23:25:28 2001
@@ -670,7 +670,8 @@
 	inode->u.proc_i.task = task;
 	inode->i_uid = 0;
 	inode->i_gid = 0;
-	if (ino == PROC_PID_INO || task->mm->dumpable) {
+	if (ino == PROC_PID_INO ||
+	    (task->mm && task->mm->dumpable)) {
 		inode->i_uid = task->euid;
 		inode->i_gid = task->egid;
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/