about summary refs log tree commit diff
path: root/rt/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-21 08:25:15 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-21 08:25:15 +0200
commitc6e7ec2f123bceb323836cc4558f9586959ebf58 (patch)
tree9fc6a7af72b75e9996ed0e0c90278f976737e3ab /rt/Versions
parenta749a00fb55e7ee7ede658ef12de4c7de1570b99 (diff)
downloadglibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.tar.gz
glibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.tar.xz
glibc-c6e7ec2f123bceb323836cc4558f9586959ebf58.zip
rt: Move shm_open into libc
This function has no dependency on libpthread, so the move is also
applied to Hurd.

To avoid localplt failures, use __open64_nocancel instead of
pthread_setcancelstate and open.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'rt/Versions')
-rw-r--r--rt/Versions9
1 files changed, 8 insertions, 1 deletions
diff --git a/rt/Versions b/rt/Versions
index f151f85ef6..e1d208eeb3 100644
--- a/rt/Versions
+++ b/rt/Versions
@@ -1,3 +1,11 @@
+libc {
+  GLIBC_2.2 {
+    shm_open;
+  }
+  GLIBC_2.34 {
+    shm_open;
+  }
+}
 librt {
   GLIBC_2.1 {
     aio_cancel;
@@ -19,7 +27,6 @@ librt {
     lio_listio64;
   }
   GLIBC_2.2 {
-    shm_open;
     shm_unlink;
     timer_create;
     timer_delete;