Thread (2 messages) 2 messages, 2 authors, 2018-12-05

Re: pkeys: Reserve PKEY_DISABLE_READ

From: Ram Pai <hidden>
Date: 2018-12-05 20:23:45
Also in: linux-api, linuxppc-dev

Possibly related (same subject, not in this thread)

On Wed, Dec 05, 2018 at 02:00:59PM +0100, Florian Weimer wrote:
* Ram Pai:
quoted
Ok. here is a patch, compiled but not tested. See if this meets the
specifications.

-----------------------------------------------------------------------------------

commit 3dc06e73f3795921265d5d1d935e428deab01616
Author: Ram Pai [off-list ref]
Date:   Tue Dec 4 00:04:11 2018 -0500

    pkeys: add support of PKEY_DISABLE_READ
Thanks.  In the x86 code, the translation of PKEY_DISABLE_READ |
PKEY_DISABLE_WRITE to PKEY_DISABLE_ACCESS appears to be missing.  I
believe the existing code produces PKEY_DISABLE_WRITE, which is wrong.
ah. yes. good point.
Rest looks okay to me (again not tested).
thanks,
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