Re: Oops in 2.4.7-pre9.

David S. Miller (davem@redhat.com)
Thu, 19 Jul 2001 23:26:58 -0700 (PDT)


Niels Kristian Bech Jensen writes:
> >>EIP; c01467e3 <proc_pid_make_inode+83/b0> <=====

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/