Re: mm, x86, powerpc: pkey semantics for key-0 ?

From: Dave Hansen
Date: Thu Mar 08 2018 - 14:30:38 EST


On 03/08/2018 10:25 AM, Ram Pai wrote:
> Is there a reason why the default key; key-0, is not allowed to be
> explicitly associated with pages using pkey_mprotect()?

No, it's a bug if it is not permitted. I have a vague recollection of
knowing about this and having a patch.