Thread (31 messages) flat view 31 messages, 4 authors, 2018-06-12

Re: pkeys on POWER: Access rights not reset on execve

From: Florian Weimer <hidden>
Date: 2018-06-11 17:29:36
Also in: linux-mm

On 06/11/2018 07:23 PM, Ram Pai wrote:
On Fri, Jun 08, 2018 at 07:53:51AM +0200, Florian Weimer wrote:
quoted
On 06/08/2018 04:34 AM, Ram Pai wrote:
quoted
quoted
So the remaining question at this point is whether the Intel
behavior (default-deny instead of default-allow) is preferable.
Florian, remind me what behavior needs to fixed?
See the other thread.  The Intel register equivalent to the AMR by
default disallows access to yet-unallocated keys, so that threads
which are created before key allocation do not magically gain access
to a key allocated by another thread.
Are you referring to the thread
'[PATCH] pkeys: Introduce PKEY_ALLOC_SIGNALINHERIT and change signal semantics'
Otherwise please point me to the URL of that thread. Sorry and thankx. :)
No, it's this issue:

   <https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-May/173157.html>

The UAMOR part has been fixed (thanks), but I think processes still 
start out with default-allow AMR.

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help