selftests/powerpc: Add core file test for Protection Key registers
authorThiago Jung Bauermann <bauerman@linux.ibm.com>
Fri, 25 May 2018 02:11:45 +0000 (23:11 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 May 2018 08:46:36 +0000 (18:46 +1000)
commit39b91dd625f15438859204a489ab62ef41d2be39
treeacb991aae4814d06e03a1000adecd7e9a5e7c1fe
parent1f7256e7dddef49acf9f6c9fe3f93522a8a2a4c2
selftests/powerpc: Add core file test for Protection Key registers

This test verifies that the AMR, IAMR and UAMOR are being written to a
process' core file.

Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
[mpe: Simplify make rule]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/ptrace/Makefile
tools/testing/selftests/powerpc/ptrace/core-pkey.c [new file with mode: 0644]