[PATCH] nptl: initialize cpu_id_start prior to rseq registration

Mathieu Desnoyers mathieu.desnoyers@efficios.com
Mon Nov 25 18:33:42 GMT 2024


On 2024-11-25 13:25, Florian Weimer wrote:
> * Mathieu Desnoyers:
> 
>> On 2024-11-20 14:15, Michael Jeanson wrote:
>>> When adding explicit initialization of rseq fields prior to
>>> registration, I glossed over the fact that 'cpu_id_start' is also
>>> documented as initialized by user-space.
>>> While current kernels don't validate the content of this field on
>>> registration, future ones could.
>>> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
>>
>> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> 
> Can we apply this?  I can push it for, Michael.

Hi Florian,

Yes, please go ahead and push this change, thank you!

Mathieu

> 
> Thanks,
> Florian
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com



More information about the Libc-alpha mailing list