patch-2.0.13 linux/fs/binfmt_aout.c

Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/sound/uart401.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.12/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -91,7 +91,7 @@
 #       define START_DATA(u)	(u.u_tsize << PAGE_SHIFT)
 #endif
 
-	if (!current->dumpable)
+	if (!current->dumpable || 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