From ae441b0e3169188eb6f3b4a5520e3e4b5e1ef5ff Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 22 Nov 2010 14:45:44 -0500 Subject: [PATCH] fix incorrect reporting of whether nx is disabled or not Thanks to Kees Cook for noticing. Message-ID: <20101121070342.GE4617@outflux.net> --- linux-2.6-i386-nx-emulation.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-i386-nx-emulation.patch b/linux-2.6-i386-nx-emulation.patch index e36bb5ecc..094c5b845 100644 --- a/linux-2.6-i386-nx-emulation.patch +++ b/linux-2.6-i386-nx-emulation.patch @@ -384,7 +384,7 @@ void __init x86_report_nx(void) { if (!cpu_has_nx) { -+ if (disable_nx) ++ if (!disable_nx) + printk(KERN_INFO "Using x86 segment limits to approximate NX protection\n"); + else +