summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-22 23:27:12 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-22 23:27:12 +0000
commit6dd778f9528c1acc17dbfca685f51bd5c3750d45 (patch)
tree45c8be9edc454b787dd06d3d4aee79dccea0a979 /fs/binfmt_elf.c
parentf1382dc4850bb459d24a81c6cb0ef93ea7bd4a79 (diff)
o Fix handling of interrupted syscalls.
o Just count missed heartbeats on Indys but don't print a messages. This was a bug by itself. o Fix a crash in exit_mmap(). o Fix scanmem(). o Fix clear_active_bh(), a ~ was missing causing weak performance. o Remove experimental cache instructions from stackframe.h. It wasn't improving performance as I was hoping. o Shrink the size of the exception handler routines in uaccess.h. o Cleanup, remove dead code in various files.
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index d03873a3b..e75692a3f 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -391,7 +391,7 @@ static unsigned long load_elf_interp(struct elfhdr * interp_elf_ex,
error = ((unsigned long) interp_elf_ex->e_entry) + load_addr;
out_close:
- fput(file);
+// fput(file);
sys_close(elf_exec_fileno);
out_free:
kfree(elf_phdata);
@@ -731,7 +731,7 @@ do_load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs)
}
}
set_fs(old_fs);
- fput(file); /* all done with the file */
+// fput(file); /* all done with the file */
elf_entry += load_bias;
elf_bss += load_bias;
@@ -850,7 +850,7 @@ out_free_interp:
if (elf_interpreter)
kfree(elf_interpreter);
out_free_file:
- fput(file);
+// fput(file);
sys_close(elf_exec_fileno);
out_free_ph:
kfree(elf_phdata);