patch-2.1.60 linux/arch/mips/kernel/irixelf.c
Next file: linux/arch/ppc/config.in
Previous file: linux/arch/mips/config.in
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Oct 20 10:12:00 1997
- Orig file:
v2.1.59/linux/arch/mips/kernel/irixelf.c
- Orig date:
Mon Aug 4 16:25:36 1997
diff -u --recursive --new-file v2.1.59/linux/arch/mips/kernel/irixelf.c linux/arch/mips/kernel/irixelf.c
@@ -683,9 +683,12 @@
}
}
- /* OK, This is the point of no return. */
- flush_old_exec(bprm);
+ /* Flush all traces of the currently running executable */
+ retval = flush_old_exec(bprm);
+ if (retval)
+ return retval;
+ /* OK, This is the point of no return */
current->mm->end_data = 0;
current->mm->end_code = 0;
current->mm->start_mmap = ELF_START_MMAP;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov