On Tue, Oct 24, 2017 at 10:06:18AM +0530, Aneesh Kumar K.V wrote:
> Ram Pai writes:
>
> > powerpc has hardware support to disable execute on a pkey.
> > This patch enables the ability to create execute-disabled
> > keys.
>
> Can you summarize here how this works? Access to IAMR is
> privileged
On Tue, Oct 24, 2017 at 12:28:35PM +0530, Aneesh Kumar K.V wrote:
> Ram Pai writes:
>
> > On Wed, Oct 18, 2017 at 02:42:56PM +1100, Balbir Singh wrote:
> >> On Fri, 8 Sep 2017 15:44:57 -0700
> >> Ram Pai wrote:
> >>
> >> > powerpc has hardware support to disable execute on a pkey.
> >> > This
Ram Pai writes:
> On Wed, Oct 18, 2017 at 02:42:56PM +1100, Balbir Singh wrote:
>> On Fri, 8 Sep 2017 15:44:57 -0700
>> Ram Pai wrote:
>>
>> > powerpc has hardware support to disable execute on a pkey.
>> > This patch enables the ability to create execute-disabled
>> > keys.
>> >
>> > Signed-
Ram Pai writes:
> powerpc has hardware support to disable execute on a pkey.
> This patch enables the ability to create execute-disabled
> keys.
Can you summarize here how this works? Access to IAMR is
privileged so how will keys framework work with IAMR?
-aneesh
On Wed, Oct 18, 2017 at 02:42:56PM +1100, Balbir Singh wrote:
> On Fri, 8 Sep 2017 15:44:57 -0700
> Ram Pai wrote:
>
> > powerpc has hardware support to disable execute on a pkey.
> > This patch enables the ability to create execute-disabled
> > keys.
> >
> > Signed-off-by: Ram Pai
> > ---
> >
On Fri, 8 Sep 2017 15:44:57 -0700
Ram Pai wrote:
> powerpc has hardware support to disable execute on a pkey.
> This patch enables the ability to create execute-disabled
> keys.
>
> Signed-off-by: Ram Pai
> ---
> arch/powerpc/include/uapi/asm/mman.h |6 ++
> arch/powerpc/mm/pkeys.c