|
Message-ID: <20190410010912.GT23599@brightrain.aerifal.cx> Date: Tue, 9 Apr 2019 21:09:12 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: musl 1.1.22 released This release makes major internal changes to the way threads, dynamic thread-local storage, and multi-threaded set*id() work. There is now a global thread list that is complete and consistent whenever the lock protecting it can be obtained, including at the moment of kernel-level task exit, and the lock protocol is async-signal-safe. This allows set*id() to safely synchronize privilege change for all live threads without a /proc dependency which turned out to have fundamental race conditions. Availability of the thread list has also allowed dlopen to install new TLS for each thread at library load time, rather than deferring installation to first access, which improves global-dynamic model performance and eliminates working but theoretically-unsafe calls from the TLSDESC asm into C code when the TLSDESC model is used to access dynamic TLS. Major changes have also been made to the dynamic linker's library dependency handling, for the purposes of correcting dlsym dependency-order resolution of symbols and providing dependency-order execution of shared library constructors. Calls to dlopen from multiple threads can now run ctors concurrently, serializing only on shared dependencies, and recursive calls to dlopen behave more correctly (believed to be to the maximum extent possible) with regard to non-deadlock and to ensuring that dependencies have been constructed. Support for the priority inheritance mutex type has also been added, with the ability to create PI mutexes conditional on a probe for support by the kernel. Notable regressions in sscanf and pthread_key_create introduced in 1.1.21 have also been fixed, along with various other bugs and minor conformance issues. https://www.musl-libc.org/releases/musl-1.1.22.tar.gz https://www.musl-libc.org/releases/musl-1.1.22.tar.gz.asc Special thanks to musl's release sponsors (patreon.com/musl): * The Midipix Project (midipix.org) * Hurricane Labs (hurricanelabs.com) * Neal Gompa * Les Aker * Laurent Bercot * Justin Cormack I'd also especially like to thank musl's new individual project sponsor, Jeremiah Gowdy, who'll be credited on the new project website (coming very soon!), and others who have supported the work in this release cycle. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.