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

Next file: linux/fs/proc/link.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.3/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -196,7 +196,7 @@
 		return;
 	}
 	ino &= 0x0000ffff;
-	if (p->dumpable) {
+	if (p->dumpable && p->uid == p->euid && p->gid == p->egid) {
 		inode->i_uid = p->uid;
 		inode->i_gid = p->gid;
 	}

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