[PATCH] nptl: initialize rseq area prior to registration

Michael Jeanson mjeanson@efficios.com
Mon Nov 4 18:57:14 GMT 2024


On 2024-10-15 14:38, Michael Jeanson wrote:
> 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.

Ping? This would be a backportable fix to 2.40 as discussed at Cauldron.

Thanks,

Michael



More information about the Libc-alpha mailing list