aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/include
diff options
context:
space:
mode:
authorSandipan Das <sandipan@linux.ibm.com>2020-07-27 09:30:37 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-29 21:02:10 +1000
commit03634bbf5d8a6f2d97e6150a1b8ff03675badac3 (patch)
treec00a058714c9903a6780917a30a96b01a9eb1980 /tools/testing/selftests/powerpc/include
parentselftests/powerpc: Add pkey helpers for rights (diff)
downloadlinux-dev-03634bbf5d8a6f2d97e6150a1b8ff03675badac3.tar.xz
linux-dev-03634bbf5d8a6f2d97e6150a1b8ff03675badac3.zip
selftests/powerpc: Harden test for execute-disabled pkeys
Commit 192b6a7805989 ("powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey") fixed a bug that caused repetitive faults for pkeys with no execute rights alongside some combination of read and write rights. This removes the last two cases of the test, which check the behaviour of pkeys with read, write but no execute rights and all the rights, in favour of checking all the possible combinations of read, write and execute rights to be able to detect bugs like the one mentioned above. Signed-off-by: Sandipan Das <sandipan@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/db467500f8af47727bba6b35796e8974a78b71e5.1595821792.git.sandipan@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/include')
0 files changed, 0 insertions, 0 deletions