patch-1.3.7 linux/fs/exec.c
Next file: linux/fs/filesystems.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jul 6 13:24:46 1995
- Orig file:
v1.3.6/linux/fs/exec.c
- Orig date:
Tue Jun 27 14:11:39 1995
diff -u --recursive --new-file v1.3.6/linux/fs/exec.c linux/fs/exec.c
@@ -515,7 +515,8 @@
int ch;
char * name;
- current->dumpable = 1;
+ if (current->euid == current->uid && current->egid == current->gid)
+ current->dumpable = 1;
name = bprm->filename;
for (i=0; (ch = *(name++)) != '\0';) {
if (ch == '/')
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