summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/signal/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-03-04 22:04:02 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2020-03-20 13:10:21 +1100
commita0968a025c04702427a4aee2c618f451a5098cd8 (patch)
treee0163edf3d4957f91db07098b35e18f9e5fbc2da /tools/testing/selftests/powerpc/signal/Makefile
parent59ed2adf393109c56d383e568f2e57bb5ad6d901 (diff)
selftests/powerpc: Add a test of sigreturn vs VDSO
There's two different paths through the sigreturn code, depending on whether the VDSO is mapped or not. We recently discovered a bug in the unmapped case, because it's not commonly used these days. So add a test that sends itself a signal, then moves the VDSO, takes another signal and finally unmaps the VDSO before sending itself another signal. That tests the standard signal path, the code that handles the VDSO being moved, and also the signal path in the case where the VDSO is unmapped. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200304110402.6038-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/testing/selftests/powerpc/signal/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/signal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile
index 113838fbbe7f..63b57583e07d 100644
--- a/tools/testing/selftests/powerpc/signal/Makefile
+++ b/tools/testing/selftests/powerpc/signal/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-TEST_GEN_PROGS := signal signal_tm sigfuz
+TEST_GEN_PROGS := signal signal_tm sigfuz sigreturn_vdso
CFLAGS += -maltivec
$(OUTPUT)/signal_tm: CFLAGS += -mhtm