On Thu, Nov 05, 2015 at 02:04:55PM -0800, Linus Torvalds wrote: > and there's quite a few other pages there that are RW but not marked > NX. I suspect they come from the EFI runtime services because the
Yeah, at least the EFI mappings would need a bit more fiddling until they're NX: https://lkml.kernel.org/r/20151012124113.gd2...@codeblueprint.co.uk Perhaps we don't even have to make them NX - just set the PGD entry containing them before the EFI call and unset it after its done. I.e., something like that. > pattern seems to match what I see in that area, but there's at least a > PSE mapping at START_KERNEL_map too, etc. Maybe we should default n CONFIG_DEBUG_WX until stuff has been fixed...? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/