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
- Lines: 9
- Date:
Mon Jun 26 16:18:15 1995
- Orig file:
v1.3.3/linux/fs/proc/inode.c
- Orig date:
Fri Jun 16 22:02:55 1995
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