]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing symbols to Version files
authorFlorian Weimer <fweimer@redhat.com>
Wed, 2 Jun 2021 05:32:19 +0000 (07:32 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 2 Jun 2021 05:32:19 +0000 (07:32 +0200)
Some symbols have explicit versioned_symbol or compat_symbol markers
in the sources, but no corresponding entry in the Versions files.
This presently works because the local: * directive is only applied
to the base version.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
18 files changed:
inet/Versions
io/Versions
libio/Versions
nptl/Versions
posix/Versions
sysdeps/mach/hurd/i386/Versions
sysdeps/unix/sysv/linux/Versions
sysdeps/unix/sysv/linux/alpha/Versions
sysdeps/unix/sysv/linux/i386/Versions
sysdeps/unix/sysv/linux/ia64/Versions
sysdeps/unix/sysv/linux/mips/Versions
sysdeps/unix/sysv/linux/powerpc/Versions
sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
sysdeps/unix/sysv/linux/s390/s390-32/Versions
sysdeps/unix/sysv/linux/sh/Versions
sysdeps/unix/sysv/linux/sparc/Versions
sysdeps/unix/sysv/linux/sparc/sparc32/Versions

index 9b3661e0467887b89e756458579eebe159492b34..84cbe847cdb40158b6dad4446b89a2be990b617e 100644 (file)
@@ -54,6 +54,8 @@ libc {
     gethostbyname_r; gethostent_r; getnetbyaddr_r; getnetbyname_r;
     getnetent_r; getnetgrent_r; getprotobyname_r; getprotobynumber_r;
     getprotoent_r; getservbyname_r;
+    getservbyport_r;
+    getservent_r;
   }
   GLIBC_2.2 {
     # i*
index 49c4d2d40a256e6e55e102e557bf209338ad245c..88caf76bbcc3768d9d2c4953df5f4ccc850ee9ea 100644 (file)
@@ -129,6 +129,7 @@ libc {
     copy_file_range;
   }
   GLIBC_2.28 {
+    fcntl;
     fcntl64;
     statx;
   }
index 6f1ab96100a9a91df5c0f725dc3beaa90abd5883..b91a7bc914ae3b213c6d594f39eb90fedbf32303 100644 (file)
@@ -92,6 +92,9 @@ libc {
     # Changed getline function in libio.
     _IO_getline_info;
 
+    _IO_fgetpos64;
+    _IO_fsetpos64;
+
     # f*
     fgetpos64; fopen64; freopen64; fseeko; fseeko64; fsetpos64; ftello;
     ftello64; fopen; fclose; fdopen; fread_unlocked; fwrite_unlocked;
index af62a47cca0bca0a2b52f00df9becf359c4ce28a..b8b82991fdd937cc2492ac4ec793c42a98cc0ac4 100644 (file)
@@ -175,6 +175,7 @@ libc {
   GLIBC_2.3.4 {
     pthread_attr_getaffinity_np;
     pthread_attr_setaffinity_np;
+    pthread_getaffinity_np;
     pthread_setaffinity_np;
     pthread_setschedprio;
   }
@@ -258,6 +259,7 @@ libc {
     __pthread_register_cancel_defer;
     __pthread_unregister_cancel;
     __pthread_unregister_cancel_restore;
+    __pthread_unwind_next;
     call_once;
     cnd_broadcast;
     cnd_destroy;
@@ -294,6 +296,7 @@ libc {
     pthread_condattr_getpshared;
     pthread_condattr_setclock;
     pthread_condattr_setpshared;
+    pthread_create;
     pthread_detach;
     pthread_getattr_default_np;
     pthread_getconcurrency;
@@ -308,9 +311,12 @@ libc {
     pthread_mutex_consistent;
     pthread_mutex_getprioceiling;
     pthread_mutex_setprioceiling;
+    pthread_mutex_timedlock;
+    pthread_mutex_trylock;
     pthread_mutexattr_destroy;
     pthread_mutexattr_getprioceiling;
     pthread_mutexattr_getprotocol;
+    pthread_mutexattr_getpshared;
     pthread_mutexattr_getrobust;
     pthread_mutexattr_gettype;
     pthread_mutexattr_init;
@@ -323,6 +329,7 @@ libc {
     pthread_rwlock_clockrdlock;
     pthread_rwlock_clockwrlock;
     pthread_rwlock_destroy;
+    pthread_rwlock_init;
     pthread_rwlock_rdlock;
     pthread_rwlock_timedrdlock;
     pthread_rwlock_timedwrlock;
@@ -336,6 +343,7 @@ libc {
     pthread_rwlockattr_init;
     pthread_rwlockattr_setkind_np;
     pthread_rwlockattr_setpshared;
+    pthread_setaffinity_np;
     pthread_setattr_default_np;
     pthread_setconcurrency;
     pthread_setname_np;
index b77e251e002963c0ca602b607298f4674e528cfe..5983144d01b9b2a730a681c5597e1f39569d12ea 100644 (file)
@@ -138,6 +138,10 @@ libc {
   GLIBC_2.11 {
     execvpe;
   }
+  GLIBC_2.15 {
+    posix_spawn;
+    posix_spawnp;
+  }
   GLIBC_2.27 {
     glob; glob64;
   }
index 67e6d94204f6d212313a6a3433cb95cc4de5f4f3..fb7f89f0d03da794cb4fc13c07fbba36ece042ce 100644 (file)
@@ -7,4 +7,8 @@ libc {
   GLIBC_2.2.6 {
     ioperm;
   }
+  GLIBC_2.3.3 {
+    posix_fadvise64;
+    posix_fallocate64;
+  }
 }
index 220bb2dffe2fbc514453a68bb8b41eb484434261..c864ad38ca945a952d0832cdb06f2a4c6333c0f0 100644 (file)
@@ -86,6 +86,16 @@ libc {
 
     # ipc ctl interface change.
     semctl; shmctl; msgctl;
+
+    # Old symbol versions from libpthread.
+    __pread64;
+    __pwrite64;
+    lseek64;
+    open64;
+    pread;
+    pread64;
+    pwrite;
+    pwrite64;
   }
   GLIBC_2.2.1 {
     # p*
@@ -102,7 +112,14 @@ libc {
     epoll_create; epoll_ctl; epoll_wait;
   }
   GLIBC_2.3.3 {
-    gnu_dev_major; gnu_dev_minor; gnu_dev_makedev;
+    _sys_siglist;
+    gnu_dev_major;
+    gnu_dev_makedev;
+    gnu_dev_minor;
+    posix_fadvise64;
+    posix_fallocate64;
+    sys_sigabbrev;
+    sys_siglist;
   }
   GLIBC_2.3.4 {
     sched_getaffinity; sched_setaffinity;
index b90d5f2e5a0b2abbc0c2afd6873cac272a9081cc..b113cb60e400fc6b0b79ea522e6a8a651a82fe15 100644 (file)
@@ -64,6 +64,11 @@ libc {
   GLIBC_2.3 {
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.3.3 {
+    # Changed PTHREAD_STACK_MIN.
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+  }
   GLIBC_2.4 {
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
@@ -85,12 +90,6 @@ ld {
     __libc_alpha_cache_shape;
   }
 }
-libpthread {
-  GLIBC_2.3.3 {
-    # Changed PTHREAD_STACK_MIN.
-    pthread_attr_setstack; pthread_attr_setstacksize;
-  }
-}
 librt {
   GLIBC_2.3 {
     # AIO functions.
index b59ace48dadb8aa34f288a7cedae3bedfdc934ac..1335e6551bfbf29f01a6aebb52632da8c8d374d4 100644 (file)
@@ -33,10 +33,6 @@ libc {
     # v*
     versionsort64;
   }
-  GLIBC_2.3.3 {
-    # p*
-    posix_fadvise64; posix_fallocate64;
-  }
   GLIBC_2.3.4 {
     # v*
     vm86;
index 214e6f9f1afd8c3e48640478d30cdcfb437b6f72..54e7723ca42c2d566bd10b4d6549f928643f65d6 100644 (file)
@@ -14,6 +14,11 @@ libc {
     # w*
     wordexp;
   }
+  GLIBC_2.3.3 {
+    # Changed PTHREAD_STACK_MIN.
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+  }
   GLIBC_2.2.6 {
     getunwind;
   }
@@ -21,12 +26,6 @@ libc {
     recvmsg; sendmsg;
   }
 }
-libpthread {
-  GLIBC_2.3.3 {
-    # Changed PTHREAD_STACK_MIN.
-    pthread_attr_setstack; pthread_attr_setstacksize;
-  }
-}
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
index aeaac4174474b4b77cc8462c5c77c0079c71cba6..db6222e9a79628ae4f75eec4d33087730079fdef 100644 (file)
@@ -21,6 +21,11 @@ libc {
     # _*
     _test_and_set;
   }
+  GLIBC_2.3.3 {
+    # Changed PTHREAD_STACK_MIN.
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+  }
   GLIBC_2.11 {
     fallocate64;
   }
index 416272b7183bb9b19b84ce7df51864c460ccec29..4e814077b5ebf1ea05aa2bff258509381c80b3fb 100644 (file)
@@ -1,4 +1,9 @@
 libc {
+  GLIBC_2.6 {
+    # Changed PTHREAD_STACK_MIN.
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+  }
   GLIBC_PRIVATE {
     __vdso_get_tbfreq;
     __vdso_clock_gettime;
index ee505efb9e72c3c866b17afa6e9999fbb73a1a62..918e0231d0ed3925beebd1bc5b36f80f0565babb 100644 (file)
@@ -21,11 +21,15 @@ libc {
     scandir64;
   }
   GLIBC_2.3.3 {
-    posix_fadvise64; posix_fallocate64;
     setcontext; getcontext; swapcontext; makecontext;
   }
   GLIBC_2.3.4 {
-    setcontext; getcontext; swapcontext; makecontext;
+    getcontext;
+    longjmp;
+    makecontext;
+    setcontext;
+    siglongjmp;
+    swapcontext;
   }
   GLIBC_2.11 {
     fallocate64;
@@ -34,9 +38,3 @@ libc {
     __ppc_get_timebase_freq;
   }
 }
-
-libpthread {
-  GLIBC_2.3.4 {
-    longjmp; siglongjmp;
-  }
-}
index 7a166f2400aa3a22ca5239cf399bd2da5e258aab..84c809507ff9d5c1c44b791748405e09a107e64e 100644 (file)
@@ -16,7 +16,9 @@ libc {
   }
   GLIBC_2.3.4 {
     getcontext;
+    longjmp;
     setcontext;
+    siglongjmp;
     swapcontext;
   }
   GLIBC_2.17 {
@@ -31,9 +33,3 @@ librt {
     timer_settime;
   }
 }
-
-libpthread {
-  GLIBC_2.3.4 {
-    longjmp; siglongjmp;
-  }
-}
index 99193982a700308c610a7e8a20ea5a1d9b8c8031..cc03e700157f140893719944e8fcd81ea66d0418 100644 (file)
@@ -26,9 +26,6 @@ libc {
     # v*
     versionsort64;
   }
-  GLIBC_2.3.3 {
-    posix_fadvise64; posix_fallocate64;
-  }
   GLIBC_2.9 {
     getutent;
     getutid;
index e0938c4165888a300dfac51f415944b13521009e..19ba1d8d91dcca83594f61334661a00c76820b29 100644 (file)
@@ -21,9 +21,6 @@ libc {
     # v*
     versionsort64;
   }
-  GLIBC_2.3.3 {
-    posix_fadvise64; posix_fallocate64;
-  }
   GLIBC_2.11 {
     fallocate64;
   }
index 61e57fae9910928c2f7a6b848238a9c5d5b5d301..f1027603a463ba10cd9250c20758e364cd62cd88 100644 (file)
@@ -8,6 +8,11 @@ libc {
   GLIBC_2.3 {
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.3.3 {
+    # Changed PTHREAD_STACK_MIN.
+    pthread_attr_setstack;
+    pthread_attr_setstacksize;
+  }
   GLIBC_2.4 {
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
@@ -25,13 +30,6 @@ libc {
   }
 }
 
-libpthread {
-  GLIBC_2.3.3 {
-    # Changed PTHREAD_STACK_MIN.
-    pthread_attr_setstack; pthread_attr_setstacksize;
-  }
-}
-
 librt {
   GLIBC_2.3 {
     # AIO functions.
index c9a5b3e9d5d27ea0f4c4ac2d550df9c4213a03d7..d928a6534616c56375a0042b61b8b9b663b9bb3d 100644 (file)
@@ -17,9 +17,6 @@ libc {
     # s*
     scandir64;
   }
-  GLIBC_2.3.3 {
-    posix_fadvise64; posix_fallocate64;
-  }
   GLIBC_2.11 {
     fallocate64;
   }