|
|
Subscribe / Log in / New account

Please fix the buggy rwlock!

Please fix the buggy rwlock!

Posted Jun 3, 2025 8:25 UTC (Tue) by jwakely (subscriber, #60262)
In reply to: Please fix the buggy rwlock! by PengZheng
Parent article: Glibc project revisits infrastructure security

This is completely off topic on an lwn article about the project infrastructure.


to post comments

Please fix the buggy rwlock!

Posted Jun 3, 2025 8:43 UTC (Tue) by PengZheng (subscriber, #108006) [Link] (1 responses)

I'm afraid that it is not, just as another commenter has already pointed out:

> glibc test-suite does not cover pthread well.

Please fix the buggy rwlock!

Posted Jun 3, 2025 9:15 UTC (Tue) by PengZheng (subscriber, #108006) [Link]

Anyone follow my explanation in the bugzilla thread [0] will agree that this is obviously a severe bug.
It is common sense that infinite user space spin should almost NEVER be allowed.

This just illustrates the lack of testing infrastructure of glibc.

[0] https://sourceware.org/bugzilla/show_bug.cgi?id=31477#c9


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds