Re: [PATCH v2 6/6] powerpc/pkeys: Deny read/write/execute by default

2018-06-19 Thread Ram Pai
On Tue, Jun 19, 2018 at 10:39:59PM +1000, Michael Ellerman wrote: > Ram Pai writes: > > Deny all permissions on all keys, with some exceptions. pkey-0 must > > allow all permissions, or else everything comes to a screaching halt. > > Execute-only key must allow execute permission. > > Another AB

Re: [PATCH v2 6/6] powerpc/pkeys: Deny read/write/execute by default

2018-06-19 Thread Florian Weimer
On 06/19/2018 02:39 PM, Michael Ellerman wrote: Ram Pai writes: Deny all permissions on all keys, with some exceptions. pkey-0 must allow all permissions, or else everything comes to a screaching halt. Execute-only key must allow execute permission. Another ABI change. Are we calling this a

Re: [PATCH v2 6/6] powerpc/pkeys: Deny read/write/execute by default

2018-06-19 Thread Michael Ellerman
Ram Pai writes: > Deny all permissions on all keys, with some exceptions. pkey-0 must > allow all permissions, or else everything comes to a screaching halt. > Execute-only key must allow execute permission. Another ABI change. Are we calling this a bug fix? cheers

[PATCH v2 6/6] powerpc/pkeys: Deny read/write/execute by default

2018-06-13 Thread Ram Pai
Deny all permissions on all keys, with some exceptions. pkey-0 must allow all permissions, or else everything comes to a screaching halt. Execute-only key must allow execute permission. Signed-off-by: Ram Pai --- arch/powerpc/mm/pkeys.c | 10 -- 1 files changed, 4 insertions(+), 6 del