[PATCH v3] powerpc, pkey: make protection key 0 less special

Dave Hansen dave.hansen at intel.com
Sat May 5 07:31:10 AEST 2018


On 05/04/2018 02:26 PM, Michal Suchánek wrote:
> If it is not ok to change permissions of pkey 0 is it ok to free it?

It's pretty much never OK to free it on x86 or ppc.  But, we're not
going to put code in to keep userspace from shooting itself in the foot,
at least on x86.


More information about the Linuxppc-dev mailing list