fix: check if libc rseq support is registered
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 13 Jun 2022 15:37:41 +0000 (15:37 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Jun 2022 20:05:27 +0000 (16:05 -0400)
commitad538a8058c5294a6ea4d015b28ccfecb0c4efd8
tree18d54581c0b930823ada07ab92bab542540a841b
parent170f840b498e1aff068b90188727a656111bfc2f
fix: 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.

Change-Id: I662e537a6511fd4fd9e0650feb17e9c72ec39ddc
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/rseq.c
This page took 0.034811 seconds and 4 git commands to generate.