selftests/powerpc: Fix ptrace-pkey for default execute permission change
authorRam Pai <linuxram@us.ibm.com>
Tue, 17 Jul 2018 13:51:10 +0000 (06:51 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:03:14 +0000 (22:03 +1000)
commit29e8131cd77ae49750e7e2f9f596afa5812435f2
treea563df6f31565d7af355be74d8c8a67d0aa00f42
parent5db26e8903deb111b303bd6e0cf304215e0b4fd9
selftests/powerpc: Fix ptrace-pkey for default execute permission change

The test case assumes execute-permissions of unallocated keys are
enabled by default, which is incorrect.

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/ptrace-pkey.c