patch-1.3.15 linux/fs/proc/inode.c

Next file: linux/fs/proc/scsi.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -230,10 +230,9 @@
 		return;
 	}
 	ino &= 0x0000ffff;
-	if (ino == PROC_PID_INO ||
-	    (p->dumpable && p->uid == p->euid && p->gid == p->egid)) {
-		inode->i_uid = p->uid;
-		inode->i_gid = p->gid;
+	if (ino == PROC_PID_INO || p->dumpable) {
+		inode->i_uid = p->euid;
+		inode->i_gid = p->egid;
 	}
 	switch (ino) {
 		case PROC_PID_INO:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this