Michael Jeanson 9423cc5387 nptl: initialize rseq area prior to registration
Per the rseq syscall documentation, 3 fields are required to be
initialized by userspace prior to registration, they are 'cpu_id',
'rseq_cs' and 'flags'. Since we have no guarantee that 'struct pthread'
is cleared on all architectures, explicitly set those 3 fields prior to
registration.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 97f60abd25628425971f07e9b0e7f8eec0741235)
2024-12-06 16:01:45 +00:00
..
2023-06-19 09:15:05 -04:00
2023-06-19 09:14:56 -04:00
2023-05-18 12:39:47 -04:00
2023-05-18 12:39:47 -04:00
2023-05-18 12:39:47 -04:00
2023-05-18 12:39:47 -04:00
2023-06-01 12:40:05 -04:00