]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Fix core-pkey for default execute permission change
authorRam Pai <linuxram@us.ibm.com>
Tue, 17 Jul 2018 13:51:09 +0000 (06:51 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:02:29 +0000 (22:02 +1000)
commitc7232a3f8a372372df707e5dedbc780aa493f2a9
tree4a9d3cc662317b90934d762aec7c3bf06a894f14
parent1bcf17573d4a4b7c2e45a5fe3023b328577e04ae
selftests/powerpc: Fix core-pkey for default execute permission change

Only when the key is allocated, its permission are enabled.

Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/ptrace/core-pkey.c