Skip to content

Commit 39b91dd

Browse files
bauermannmpe
authored andcommitted
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>
1 parent 1f7256e commit 39b91dd

2 files changed

Lines changed: 464 additions & 3 deletions

File tree

‎tools/testing/selftests/powerpc/ptrace/Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# SPDX-License-Identifier: GPL-2.0
22
TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
33
ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4-
ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey
4+
ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey
55

66
include ../../lib.mk
77

88
all: $(TEST_PROGS)
99

1010
CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
1111

12-
ptrace-pkey: child.h
13-
ptrace-pkey: LDLIBS += -pthread
12+
ptrace-pkey core-pkey: child.h
13+
ptrace-pkey core-pkey: LDLIBS += -pthread
1414

1515
$(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
1616

0 commit comments

Comments
 (0)