[PATCH] Whinge in paging_init if noexec is on with a non-PAE kernel
From: Kyle McMartin
Date: Mon Dec 11 2006 - 19:06:12 EST
Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxxxxx>
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c
index 84697df..fb61709 100644
--- a/arch/i386/mm/init.c
+++ b/arch/i386/mm/init.c
@@ -512,6 +512,9 @@ void __init paging_init(void)
set_nx();
if (nx_enabled)
printk("NX (Execute Disable) protection: active\n");
+#else
+ if (!disable_nx)
+ printk("NX (Execute Disable) only supported with CONFIG_HIGHMEM64G\n");
#endif
pagetable_init();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/