d1a997ba4c
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 |
||
---|---|---|
.. | ||
.gitignore | ||
basic_percpu_ops_test.c | ||
basic_test.c | ||
compiler.h | ||
Makefile | ||
param_test.c | ||
rseq-abi.h | ||
rseq-arm64.h | ||
rseq-arm.h | ||
rseq-generic-thread-pointer.h | ||
rseq-mips.h | ||
rseq-ppc-thread-pointer.h | ||
rseq-ppc.h | ||
rseq-riscv.h | ||
rseq-s390.h | ||
rseq-skip.h | ||
rseq-thread-pointer.h | ||
rseq-x86-thread-pointer.h | ||
rseq-x86.h | ||
rseq.c | ||
rseq.h | ||
run_param_test.sh | ||
settings |