diff options
author | Michael Jeanson <mjeanson@efficios.com> | 2024-08-01 10:35:34 -0400 |
---|---|---|
committer | Michael Jeanson <mjeanson@efficios.com> | 2025-01-10 20:20:17 +0000 |
commit | 494d65129ed5ae1154b75cc189bbdde5e9ecf1df (patch) | |
tree | 0025adfdd5e774e0a9a5467b31996e54daa97e2d /sysdeps/unix/sysv/linux/tst-rseq-static.c | |
parent | be440f6c38ec2cdfd05439d2d90f140da34b8ce6 (diff) | |
download | glibc-494d65129ed5ae1154b75cc189bbdde5e9ecf1df.zip glibc-494d65129ed5ae1154b75cc189bbdde5e9ecf1df.tar.gz glibc-494d65129ed5ae1154b75cc189bbdde5e9ecf1df.tar.bz2 |
nptl: Introduce <rseq-access.h> for RSEQ_* accessors
In preparation to move the rseq area to the 'extra TLS' block, we need
accessors based on the thread pointer and the rseq offset. The ONCE
variant of the accessors ensures single-copy atomicity for loads and
stores which is required for all fields once the registration is active.
A separate header is required to allow including <atomic.h> which
results in an include loop when added to <tcb-access.h>.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-rseq-static.c')
0 files changed, 0 insertions, 0 deletions