[PATCH] Fix thread-safety for elfutils

Heather McIntyre hsm2@rice.edu
Tue Aug 8 17:07:39 GMT 2023


Hello all,

This patch was created to address thread-safety issues reported in bug 26921
<https://sourceware.org/bugzilla/show_bug.cgi?id=26921> and bug 26930
<https://sourceware.org/bugzilla/show_bug.cgi?id=26930>.
Additionally, other thread-safety fixes were applied during the process.

Brief Description:
Locking was implemented for tsearch and tfind.
Changes to multiple files within the libelf library were made such that
USE_LOCKS no longer causes tests to fail when enabled.
New tests were added to confirm thread-safety.

Please review the attached patch file and feel free to provide feedback. I
am available for any clarifications or modifications needed.

Best regards,
Heather McIntyre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-thread-safety-for-elfutils.patch
Type: application/octet-stream
Size: 83636 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20230808/ad372c6a/attachment-0001.obj>


More information about the Elfutils-devel mailing list