Re: [PATCH] x86/mm: Refuse W^X violations

From: Kees Cook
Date: Thu Aug 25 2022 - 14:17:14 EST


On Thu, Aug 25, 2022 at 02:23:31PM +0200, Peter Zijlstra wrote:
> x86 has STRICT_*_RWX, but not even a warning when someone violates it.

Yes please. I assume this is only kernel pages? Doing this globally is
nice too, but runs into annoying problems[1].

-Kees

[1] https://lore.kernel.org/all/20220701130444.2945106-1-ardb@xxxxxxxxxx/

--
Kees Cook