Re: [PATCH v2 10/20] x86: avoid W^X being broken during modules loading
From: Borislav Petkov <bp@alien8.de>
Date: 2019-02-11 19:01:19
Also in:
linux-integrity, linux-mm, lkml
From: Borislav Petkov <bp@alien8.de>
Date: 2019-02-11 19:01:19
Also in:
linux-integrity, linux-mm, lkml
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.