Re: Oops in 2.4.7-pre9.

From: David S. Miller (davem@redhat.com)
Date: Fri Jul 20 2001 - 01:26:58 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:13 EST