[PATCH v2 10/20] x86: avoid W^X being broken during modules loading
Borislav Petkov
bp at alien8.de
Mon Feb 11 19:01:08 UTC 2019
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.
More information about the Linux-security-module-archive
mailing list