Messages in this thread | | | Date | Tue, 10 Nov 2009 09:12:44 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v4] [x86] detect and report lack of NX protections |
| |
On 11/10/2009 08:57 AM, Kees Cook wrote: > > 64-bit does not set nx_enabled to "1" by default anywhere. And setting > the default to 1 in check_efer() seemed out of place to me. >
If it doesn't set nx_enabled anywhere, you'll end up with the message
+ printk(KERN_NOTICE "Notice: NX (Execute Disable) protection " + "missing in CPU or disabled in BIOS!\n");
which seems obviously wrong... no?
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |