]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: ability to create execute-disabled pkeys
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:30 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:00 +0000 (22:59 +1100)
commit4abe5b8ed39d4dd91a0f0ee6bb3b50b708420794
tree84daad698cac49a0595b8940e6888bf01cc83796
parentdf88d84385a037b5e335cdd940eb868ccaa02119
powerpc: ability to create execute-disabled pkeys

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 <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/uapi/asm/mman.h
arch/powerpc/mm/pkeys.c