OSDN Git Service

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)
commitdcf872956d444bbbd46f601024ea989ced03f8a7
tree84daad698cac49a0595b8940e6888bf01cc83796
parent2ddc53f3a7516b3e2c4ab9c36854a227641a4fde
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