Re: [PATCH RFC 3/4] x86/pti: don't mark the user PGD with _PAGE_NX.
From: Dave Hansen
Date: Mon Jan 08 2018 - 13:44:44 EST
On 01/08/2018 09:50 AM, Ingo Molnar wrote:
>> This does get immensely easier if we choose a mode at exec() (or fork()
>> even) and never change it. The prctl() _could_ just be a flag to tell
>> what your children should do.
> Switching PTI on/off for a whole process would be nightmarish.
Yeah, totally. I meant "future children" aka. things *after* fork().