powerpc: sys_pkey_alloc() and sys_pkey_free() system calls
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:45 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 14:06:15 +0000 (01:06 +1100)
commit9499ec1b5e82321829e1c1510bcc37edc20b6f38
tree84096798e943acf55119fc976c4d7cd2cd305294
parentcf43d3b26452a332d7e1d64a00079c607613e944
powerpc: sys_pkey_alloc() and sys_pkey_free() system calls

Finally this patch provides the ability for a process to
allocate and free a protection key.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/unistd.h