From 0f865c9c5e1cc353f4180723bdc0b3575d1ab60c Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 22 Nov 2010 14:45:44 -0500 Subject: 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 582ce627d..24a2ed500 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 + -- cgit