linux/tools/testing/selftests/powerpc
Michael Ellerman a0968a025c 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
2020-03-20 13:10:21 +11:00
..
alignment treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
benchmarks treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
cache_shape treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
copyloops seltests/powerpc: Add a selftest for memcpy_mcsafe 2019-09-12 09:27:00 +10:00
dscr treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
eeh selftests/eeh: Bump EEH wait time to 60s 2020-01-26 00:11:37 +11:00
include selftests/powerpc: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
math treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mm selftests/powerpc: Add tlbie_test in .gitignore 2020-03-17 23:40:37 +11:00
pmu selftests/powerpc: Handle Makefile for unrecognized option 2019-11-14 19:50:31 +11:00
primitives treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace selftests/powerpc: Enable range tests on 8xx in ptrace-hwbreak.c selftest 2020-01-23 21:31:14 +11:00
scripts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
security selftests/powerpc: spectre_v2 test must be built 64-bit 2019-11-21 15:41:39 +11:00
signal selftests/powerpc: Add a test of sigreturn vs VDSO 2020-03-20 13:10:21 +11:00
stringloops selftests/powerpc: Ignore generated files 2019-08-22 23:12:47 +10:00
switch_endian selftests/powerpc/switch_endian: Fix out-of-tree build 2018-10-31 23:56:21 +11:00
syscalls treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tm selftests/powerpc: Skip tm-signal-sigreturn-nt if TM not available 2019-11-05 11:26:20 +11:00
vphn powerpc/pseries: Move mm/book3s64/vphn.c under platforms/pseries/ 2019-07-04 22:23:38 +10:00
harness.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
Makefile selftests/powerpc: Add basic EEH selftest 2019-09-05 14:22:40 +10:00
utils.c selftests/powerpc: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11:00