about summary refs log tree commit diff
path: root/nptl/Versions
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-11 15:19:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-21 14:01:58 -0300
commitc6663fee4340291cd825fd8a88c219621f4eca9d (patch)
treef8dd659610efa8dcd8de0f4cbac48af46cd26a8d /nptl/Versions
parent8645f624697afecfaa4d97ac584bc0a943cbca17 (diff)
downloadglibc-c6663fee4340291cd825fd8a88c219621f4eca9d.tar.gz
glibc-c6663fee4340291cd825fd8a88c219621f4eca9d.tar.xz
glibc-c6663fee4340291cd825fd8a88c219621f4eca9d.zip
nptl: Move pthread_sigmask implementation to libc
This is part of the libpthread removal project:

  <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>

A new symbol version is added on libc to force loading failure
instead of lazy binding one for newly binaries with old loaders.

Checked with a build against all affected ABIs.
Diffstat (limited to 'nptl/Versions')
-rw-r--r--nptl/Versions4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/Versions b/nptl/Versions
index 543dddc4ee..f7140277f5 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -16,6 +16,7 @@ libc {
     pthread_mutex_lock; pthread_mutex_unlock;
     pthread_self;
     pthread_setcancelstate; pthread_setcanceltype;
+    pthread_sigmask;
   }
   GLIBC_2.1 {
     pthread_attr_init;
@@ -32,6 +33,9 @@ libc {
   GLIBC_2.28 {
     thrd_current; thrd_equal; thrd_sleep; thrd_yield;
   }
+  GLIBC_2.32 {
+    pthread_sigmask;
+  }
   GLIBC_PRIVATE {
     __libc_alloca_cutoff;
     # Internal libc interface to libpthread