patch-2.3.14 linux/fs/exec.c
Next file: linux/fs/minix/truncate.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Thu Aug 12 11:53:18 1999
- Orig file:
v2.3.13/linux/fs/exec.c
- Orig date:
Mon Aug 9 14:59:23 1999
diff -u --recursive --new-file v2.3.13/linux/fs/exec.c linux/fs/exec.c
@@ -811,6 +811,7 @@
if (!binfmt || !binfmt->core_dump)
goto fail;
if (!current->dumpable || atomic_read(¤t->mm->mm_users) != 1)
+ goto fail;
current->dumpable = 0;
if (current->rlim[RLIMIT_CORE].rlim_cur < binfmt->min_coredump)
goto fail;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)