stdlib: resolve a double lock init issue after fork [BZ #32994]
Davide Cavalca
davide@cavalca.name
Sat Jun 14 09:56:50 GMT 2025
On 2025-06-14 11:51, Florian Weimer wrote:
> Sorry, can you move the lock definition into __abort_fork_reset_child?
> Without the static, so (, lock). I think GCC will then turn the memcpy
> call into a memset. We don't actually need the global variable.
Thanks, updated with this change, tests still pass with no change.
Cheers
Davide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stdlib-resolve-a-double-lock-init-issue-after-fork-B.patch
Type: text/x-diff
Size: 1410 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250614/51b16b11/attachment.bin>
More information about the Libc-alpha
mailing list