]> 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)
commit76ccd4c44a554074064754c934e4272c177403da
tree84daad698cac49a0595b8940e6888bf01cc83796
parent3024a7bb17f6f4335cba0e50c9408a93a4870199
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