On 10/01/2015 01:39 PM, Kees Cook wrote: > On Thu, Oct 1, 2015 at 4:17 AM, Ingo Molnar wrote: >> So could we try to add an (opt-in) kernel option that enables this transparently >> and automatically for all PROT_EXEC && !PROT_WRITE mappings, without any >> user-space changes and syscalls necessary? > > I would like this very much. :) Here it is in a quite fugly form (well, it's not opt-in). Init crashes if I boot with this, though. I'll see if I can turn it in to a bit more of an opt-in and see what's actually going wrong.