diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-07-24 16:50:38 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-07-31 12:59:03 +0200 |
commit | 89c255294a5b14dd88e45ed3b2a2a66517ed1a6f (patch) | |
tree | 3f2f3f211b1c5955444c9655ee28cd3858b10682 /NEWS | |
parent | NEWS: Deprecate nss_hesiod (diff) | |
download | glibc-89c255294a5b14dd88e45ed3b2a2a66517ed1a6f.tar.gz glibc-89c255294a5b14dd88e45ed3b2a2a66517ed1a6f.tar.bz2 glibc-89c255294a5b14dd88e45ed3b2a2a66517ed1a6f.zip |
NEWS: Deprecate weak libpthread symbols for single-threaded checks
Recommend the new __libc_single_thread variable instead.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 + <sys/single_threaded.h> 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 |