From: Florian Weimer Date: Fri, 24 Jul 2020 14:50:38 +0000 (+0200) Subject: NEWS: Deprecate weak libpthread symbols for single-threaded checks X-Git-Tag: glibc-2.32~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c255294a5b14dd88e45ed3b2a2a66517ed1a6f;p=thirdparty%2Fglibc.git NEWS: Deprecate weak libpthread symbols for single-threaded checks Recommend the new __libc_single_thread variable instead. Reviewed-by: Carlos O'Donell --- diff --git a/NEWS b/NEWS index 83aed60e197..7fb167e6509 100644 --- a/NEWS +++ b/NEWS @@ -134,6 +134,14 @@ Deprecated and removed features, and other changes affecting compatibility: or contents might be overwritten on subsequent calls in the same thread or if the thread is terminated. It makes strerror MT-safe. +* Using weak references to libpthread functions such as pthread_create + or pthread_key_create to detect the singled-threaded nature of a + program is an obsolescent feature. Future versions of glibc will + define pthread_create within libc.so.6 itself, so such checks will + always flag the program as multi-threaded. Applications should check + the __libc_single_threaded variable declared in + instead. + * The "files" NSS module no longer supports the "key" database (used for secure RPC). The contents of the /etc/publickey file will be ignored, regardless of the settings in /etc/nsswitch.conf. (This method of