patch-1.3.2 linux/fs/proc/inode.c
Next file: linux/fs/select.c
Previous file: linux/fs/ext2/balloc.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Jun 14 14:28:09 1995
- Orig file:
v1.3.1/linux/fs/proc/inode.c
- Orig date:
Mon Jun 12 16:49:41 1995
diff -u --recursive --new-file v1.3.1/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -196,8 +196,10 @@
return;
}
ino &= 0x0000ffff;
- inode->i_uid = p->euid;
- inode->i_gid = p->egid;
+ if (p->dumpable) {
+ inode->i_uid = p->uid;
+ inode->i_gid = p->gid;
+ }
switch (ino) {
case PROC_PID_INO:
inode->i_nlink = 4;
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