fix: always set the rseq offset and flags
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 22 Feb 2024 23:16:13 +0000 (18:16 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 23 Feb 2024 20:15:22 +0000 (15:15 -0500)
commit9de60bd2c5cd1a82ba1d29634b6d708c99fff1b9
tree79c0ac953ae5c3efa95edc055da8ffeaff7660a1
parentebd2757381d9a641c39bbaad73ecd7e1ef000797
fix: always set the rseq offset and flags

Even when the rseq syscall is unavailable, set the __rseq_offset to the
correct value as application or library code might try to check the
registration status by reading the cpu_id.

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