patch-2.0.13 linux/fs/binfmt_elf.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/binfmt_aout.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 12 11:09:46 1996
- Orig file:
v2.0.12/linux/fs/binfmt_elf.c
- Orig date:
Sat Aug 10 10:03:15 1996
diff -u --recursive --new-file v2.0.12/linux/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -982,7 +982,7 @@
elf_fpregset_t fpu; /* NT_PRFPREG */
struct elf_prpsinfo psinfo; /* NT_PRPSINFO */
- if (!current->dumpable || limit < PAGE_SIZE)
+ if (!current->dumpable || limit < PAGE_SIZE || current->mm->count != 1)
return 0;
current->dumpable = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov