On 06/11/2018 07:23 PM, Ram Pai wrote:
On Fri, Jun 08, 2018 at 07:53:51AM +0200, Florian Weimer wrote:
On 06/08/2018 04:34 AM, Ram Pai wrote:
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