about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoan Bruguera <joanbrugueram@gmail.com>2023-02-18 21:52:15 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-20 11:54:45 -0300
commit590d0e089b06f158ded713f5e5600eaa66dcea44 (patch)
tree1ca93f5efd8a0ac3902ae71a78b13ff6aca09d01 /NEWS
parent790e504a172a5ef7399b3e3f481d76394dce0a23 (diff)
downloadglibc-590d0e089b06f158ded713f5e5600eaa66dcea44.tar.gz
glibc-590d0e089b06f158ded713f5e5600eaa66dcea44.tar.xz
glibc-590d0e089b06f158ded713f5e5600eaa66dcea44.zip
elf: Restore ldconfig libc6 implicit soname logic [BZ #30125]
While cleaning up old libc version support, the deprecated libc4 code was
accidentally kept in `implicit_soname`, instead of the libc6 code.

This causes additional symlinks to be created by `ldconfig` for libraries
without a soname, e.g. a library `libsomething.123.456.789` without a soname
will create a `libsomething.123` -> `libsomething.123.456.789` symlink.

As the libc6 version of the `implicit_soname` code is a trivial `xstrdup`,
just inline it and remove `implicit_soname` altogether.

Some further simplification looks possible (e.g. the call to `create_links`
looks like a no-op if `soname == NULL`, other than the verbose printfs), but
logic is kept as-is for now.

Fixes: BZ #30125
Fixes: 8ee878592c4a ("Assume only FLAG_ELF_LIBC6 suport")
Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
(cherry picked from commit 1b0ea8c5d886fedabd611a569b5ec58a6f5153e6)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7ba8846fcc..e1562857b1 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,8 @@ Security related changes:
 The following bugs are resolved with this release:
 
   [30053] time: strftime %s returns -1 after 2038 on 32 bits systems
+  [30125] dynamic-link: [regression, bisected] glibc-2.37 creates new
+    symlink for libraries without soname
 
 Version 2.37