> I have an old patch pending for making non demand page executables
> work properly on architectures which are not cache coherent.
>
> Its for old code and probably a not very used file format these days,
> but it is actually a bugfix ;-)
You missed another occurance of this bug in binfmt_elf.c. Patch below.
Ralf
--- binfmt_elf.c.orig Fri Sep 4 00:51:06 1998
+++ binfmt_elf.c Fri Sep 4 00:56:28 1998
@@ -375,6 +375,8 @@
retval = read_exec(interpreter_dentry, offset, addr, text_data, 0);
if (retval < 0)
goto out;
+ flush_icache_range((unsigned long)addr,
+ (unsigned long)addr + text_data);
do_mmap(NULL, ELF_PAGESTART(text_data + ELF_EXEC_PAGESIZE - 1),
interp_ex->a_bss,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html