linux/tools/testing/selftests/rseq
Michael Jeanson d1a997ba4c selftests/rseq: check if libc rseq support is registered
When checking for libc rseq support in the library constructor, don't
only depend on the symbols presence, check that the registration was
completed.

This targets a scenario where the libc has rseq support but it is not
wired for the current architecture in 'bits/rseq.h', we want to fallback
to our internal registration mechanism.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/r/20220614154830.1367382-4-mjeanson@efficios.com
2022-06-28 09:08:28 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
basic_percpu_ops_test.c selftests/rseq: Fix ppc32 offsets by using long rather than off_t 2022-02-02 13:11:36 +01:00
basic_test.c
compiler.h selftests/rseq: Fix: work-around asm goto compiler bugs 2022-02-02 13:11:37 +01:00
Makefile selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35 2022-02-02 13:11:35 +01:00
param_test.c RISC-V Patches for the 5.18 Merge Window, Part 1 2022-03-25 10:11:38 -07:00
rseq-abi.h selftests/rseq: introduce own copy of rseq uapi header 2022-02-02 13:11:33 +01:00
rseq-arm64.h selftests/rseq: Fix: work-around asm goto compiler bugs 2022-02-02 13:11:37 +01:00
rseq-arm.h selftests/rseq: Fix: work-around asm goto compiler bugs 2022-02-02 13:11:37 +01:00
rseq-generic-thread-pointer.h selftests/rseq: Introduce thread pointer getters 2022-02-02 13:11:35 +01:00
rseq-mips.h selftests/rseq: Remove arm/mips asm goto compiler work-around 2022-02-02 13:11:36 +01:00
rseq-ppc-thread-pointer.h selftests/rseq: Introduce thread pointer getters 2022-02-02 13:11:35 +01:00
rseq-ppc.h selftests/rseq: Fix: work-around asm goto compiler bugs 2022-02-02 13:11:37 +01:00
rseq-riscv.h selftests/rseq: riscv: fix 'literal-suffix' warning 2022-06-28 09:08:28 +02:00
rseq-s390.h selftests/rseq: Fix: work-around asm goto compiler bugs 2022-02-02 13:11:37 +01:00
rseq-skip.h selftests/rseq: Fix ppc32 offsets by using long rather than off_t 2022-02-02 13:11:36 +01:00
rseq-thread-pointer.h selftests/rseq: Introduce thread pointer getters 2022-02-02 13:11:35 +01:00
rseq-x86-thread-pointer.h selftests/rseq: Introduce thread pointer getters 2022-02-02 13:11:35 +01:00
rseq-x86.h selftests/rseq: Change type of rseq_offset to ptrdiff_t 2022-02-11 23:30:08 +01:00
rseq.c selftests/rseq: check if libc rseq support is registered 2022-06-28 09:08:28 +02:00
rseq.h RISC-V Patches for the 5.18 Merge Window, Part 1 2022-03-25 10:11:38 -07:00
run_param_test.sh rseq/selftests: Test MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ 2020-09-25 14:23:27 +02:00
settings rseq/selftests: Turn off timeout setting 2019-12-23 10:52:41 -07:00