verify_write not needed 486 & up
The existing CONFIG_WP_WORKS_OK can be used to exclude verify_write from being built into kernels for 486 and higher.
Paul.
i386/mm/fault.c renamed from i386/mm/fault.c~ +3 -0
@@ -4,6 +4,7 @@* Copyright (C) 1995 Linus Torvalds */ +#include <linux/config.h> #include <linux/signal.h> #include <linux/sched.h> #include <linux/kernel.h>
@@ -25,6 +26,7 @@extern void die (const char *,struct pt_regs *,long ); +#ifndef CONFIG_X86_WP_WORKS_OK /* * Ugly, ugly, but the goto's result in better assembly.. */
@@ -76,6 +78,7 @@ bad_area: return 0; } +#endif extern spinlock_t console_lock, timerlist_lock;
i386/kernel/i386_ksyms.c renamed from i386/kernel/i386_ksyms.c~ +2 -0
@@ -53,7 +53,9 @@EXPORT_SYMBOL (EISA_bus);#endif EXPORT_SYMBOL (MCA_bus); +#ifndef CONFIG_X86_WP_WORKS_OK EXPORT_SYMBOL (__verify_write); +#endif EXPORT_SYMBOL (dump_thread);EXPORT_SYMBOL (dump_fpu);EXPORT_SYMBOL (dump_extended_fpu);
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/