[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Dec 2006 19:03:59 -0500
From: Kyle McMartin <kyle@...ntu.com>
To: akpm@...l.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] Whinge in paging_init if noexec is on with a non-PAE kernel
Signed-off-by: Kyle McMartin <kyle@...onical.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists