]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Make __rseq_size useful for feature detection (bug 31965)
authorFlorian Weimer <fweimer@redhat.com>
Mon, 8 Jul 2024 19:14:00 +0000 (21:14 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 16 Jul 2024 15:24:53 +0000 (17:24 +0200)
commit7f769dd0084cb1c857fd6fa90f60e92711b9ce7c
tree8b7836dda7df64c1469d15bbb9bd83e4f53e41b8
parent643709c6eeaa04cd48916c3bdb017f149d8ae6ac
Linux: Make __rseq_size useful for feature detection (bug 31965)

The __rseq_size value is now the active area of struct rseq
(so 20 initially), not the full struct size including padding
at the end (32 initially).

Update misc/tst-rseq to print some additional diagnostics.

Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
(cherry picked from commit 2e456ccf0c34a056e3ccafac4a0c7effef14d918)
NEWS
manual/threads.texi
sysdeps/nptl/dl-tls_init_tp.c
sysdeps/unix/sysv/linux/rseq-internal.h
sysdeps/unix/sysv/linux/tst-rseq.c