Messages in this thread | | | Date | Mon, 11 Feb 2019 20:01:08 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v2 10/20] x86: avoid W^X being broken during modules loading |
| |
On Mon, Feb 11, 2019 at 10:45:26AM -0800, Nadav Amit wrote: > Are you sure about that? This path is still used when modules are loaded.
Yes, I'm sure. Loading a module does a gazillion things so saving a couple of insns - yes, boot_cpu_has() is usually a RIP-relative MOV and a TEST - doesn't show even as a blip on any radar.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |