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

Dave Hansen dave.hansen at
Fri Mar 9 06:30:29 AEDT 2018

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.

More information about the Linuxppc-dev mailing list