Thread (16 messages) flat view 16 messages, 6 authors, 2018-03-14

Re: [PATCH] x86, powerpc : pkey-mprotect must allow pkey-0

From: Ram Pai <hidden>
Date: 2018-03-09 20:06:50
Also in: linux-arch, linux-mm, lkml

On Fri, Mar 09, 2018 at 09:19:53PM +1100, Michael Ellerman wrote:
Ram Pai [off-list ref] writes:
=20
quoted
Once an address range is associated with an allocated pkey, it cannot be
reverted back to key-0. There is no valid reason for the above behavior=
=2E  On
quoted
the contrary applications need the ability to do so.
=20
Please explain this in much more detail. Is it an ABI change?
Not necessarily an ABI change. older binary applications  will continue
to work. It can be considered as a bug-fix.
=20
And why did we just notice this?
Yes. this was noticed by an application vendor.
=20
quoted
The patch relaxes the restriction.

Tested on powerpc and x86_64.
=20
Thanks, but please split the patch, one for each arch.
Will do.
RP
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help