sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (320a4a00fb9775924bc4e2f70fc1ed49fe20dff1)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (320a4a00fb9775924bc4e2f70fc1ed49fe20dff1)
- Date: Tue, 29 Jul 2025 16:59:43 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
libs/glibc/DETAILS | 11 -
libs/glibc/HISTORY | 5
libs/glibc/patches/0002-glibc-2.41-getenv-override.patch | 117
---------------
3 files changed, 10 insertions(+), 123 deletions(-)
New commits:
commit 320a4a00fb9775924bc4e2f70fc1ed49fe20dff1
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
libs/glibc: version 2.42, SECURITY_PATCH++
diff --git a/libs/glibc/DETAILS b/libs/glibc/DETAILS
index 8e40b9f..ae39c62 100755
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -10,17 +10,16 @@ SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
SOURCE_URL="git://sourceware.org/git/glibc.git:$SPELL-git"
SOURCE_IGNORE=volatile
else
- VERSION=2.41
- PATCHLEVEL=1
-
SOURCE_HASH="sha512:894a3e5a796bc13df30c26a5bfbe4d60b5dbdaac54e7763432235124b547070c7dda88c50584536870cab79183d8cad73a3ac6ed09bfe54fa8482aad07253169"
- SECURITY_PATCH=25
+ VERSION=2.42
+
SOURCE_HASH="sha512:73a617db8e0f0958c0575f7a1c5a35b72b7e070b6cbdd02a9bb134995ca7ca0909f1e50d7362c53d2572d72f1879bb201a61d5275bac16136895d9a34ef0c068"
+ SECURITY_PATCH=26
SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
SOURCE_URL[0]=$GNU_URL/$SPELL/$SOURCE
fi
if [[ $GLIBC_SANITIZE_HEADERS == n ]]; then
- HEADERS_VERSION=6.13
-
SOURCE3_HASH="sha512:1137e6440132b0958f89165440e99208f82b204e7245ae69dc9c808df97d13ce8f58136db92407e0e93394fa7f6283ec7a34597c6e92a5b6d9025e0960357957"
+ HEADERS_VERSION=6.16
+
SOURCE3_HASH="sha512:55a00f89ad6db6db2e26ff5dc5cfc96bbf6654e5bd5d17d2a3b944a47640367e54139716d230923187bebc6cb7756edc9511a620fb8abc6f32c50a658a734784"
HEADERS_MAJOR_VERSION=$(echo $HEADERS_VERSION|cut -f1 -d.)
SOURCE3=linux-${HEADERS_VERSION}.tar.xz
SOURCE3_URL[0]="$KERNEL_URL/pub/linux/kernel/v${HEADERS_MAJOR_VERSION}.x/$SOURCE3"
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index b6395f3..62b15ab 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,8 @@
+2025-07-29 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 2.42, SECURITY_PATCH++, (CVE-2025-0395,
CVE-2025-5702,
+ CVE-2025-5745, CVE-2025-8058), HEADERS_VERSION=6.16
+ * patches/0002-glibc-2.41-getenv-override.patch: removed, fixed in
upstream
+
2025-03-11 Thomas Orgis <sobukus AT sourcemage.org>
* patches/0002-glibc-2.41-getenv-override.patch: fix bash build,
broken
by recent update
diff --git a/libs/glibc/patches/0002-glibc-2.41-getenv-override.patch
b/libs/glibc/patches/0002-glibc-2.41-getenv-override.patch
deleted file mode 100644
index adf6cec..0000000
--- a/libs/glibc/patches/0002-glibc-2.41-getenv-override.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-From: Florian Weimer <fweimer AT redhat.com>
-To: libc-alpha AT sourceware.org
-Subject: [PATCH] posix: Move environ helper variables next to environ
definition (bug 32541)
-Date: Fri, 07 Mar 2025 17:32:41 +0100 [thread overview]
-Message-ID: <871pv84x92.fsf AT oldenburg.str.redhat.com> (raw)
-
-This helps with statically interposing getenv.
-
-Updates commit 7a61e7f557a97ab597d6fca5e2d1f13f65685c61
-("stdlib: Make getenv thread-safe in more cases").
-
----
- posix/environ.c | 4 ++++
- stdlib/Makefile | 2 ++
- stdlib/getenv.c | 3 ---
- stdlib/tst-getenv-static.c | 38 ++++++++++++++++++++++++++++++++++++++
- 4 files changed, 44 insertions(+), 3 deletions(-)
-
-diff --git a/posix/environ.c b/posix/environ.c
-index a0ed0d80ea..924effe3cd 100644
---- a/posix/environ.c
-+++ b/posix/environ.c
-@@ -2,6 +2,7 @@
-
- #include <unistd.h>
- #include <stddef.h>
-+#include <stdlib/setenv.h>
-
- /* This must be initialized; we cannot have a weak alias into bss. */
- char **__environ = NULL;
-@@ -10,3 +11,6 @@ weak_alias (__environ, environ)
- /* The SVR4 ABI says `_environ' will be the name to use
- in case the user overrides the weak alias `environ'. */
- weak_alias (__environ, _environ)
-+
-+struct environ_array *__environ_array_list;
-+environ_counter __environ_counter;
-diff --git a/stdlib/Makefile b/stdlib/Makefile
-index 1c4fa2382f..c9c8f702a2 100644
---- a/stdlib/Makefile
-+++ b/stdlib/Makefile
-@@ -282,6 +282,7 @@ tests := \
- tst-environ-change-3 \
- tst-environ-change-4 \
- tst-getenv-signal \
-+ tst-getenv-static \
- tst-getenv-thread \
- tst-getenv-unsetenv \
- tst-getrandom \
-@@ -377,6 +378,7 @@ tests-internal := \
- # tests-internal
-
- tests-static := \
-+ tst-getenv-static \
- tst-secure-getenv \
- # tests-static
-
-diff --git a/stdlib/getenv.c b/stdlib/getenv.c
-index 5e7212cca6..1a7b0bfc06 100644
---- a/stdlib/getenv.c
-+++ b/stdlib/getenv.c
-@@ -20,9 +20,6 @@
- #include <string.h>
- #include <unistd.h>
-
--struct environ_array *__environ_array_list;
--environ_counter __environ_counter;
--
- char *
- getenv (const char *name)
- {
-diff --git a/stdlib/tst-getenv-static.c b/stdlib/tst-getenv-static.c
-new file mode 100644
-index 0000000000..f5f484c83a
---- /dev/null
-+++ b/stdlib/tst-getenv-static.c
-@@ -0,0 +1,38 @@
-+/* Static interposition of getenv (bug 32541).
-+ This file is part of the GNU C Library.
-+
-+ The GNU C Library is free software; you can redistribute it and/or
-+ modify it under the terms of the GNU Lesser General Public
-+ License as published by the Free Software Foundation; either
-+ version 2.1 of the License, or (at your option) any later version.
-+
-+ The GNU C Library is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ Lesser General Public License for more details.
-+
-+ You should have received a copy of the GNU Lesser General Public
-+ License along with the GNU C Library; if not, see
-+ <https://www.gnu.org/licenses/>. */
-+
-+#include <stdlib.h>
-+#include <support/check.h>
-+
-+/* Some programs try to interpose getenv for their own use (not
-+ glibc's internal use). Make sure that this is possible without
-+ introducing linker failures due to duplicate symbols. */
-+
-+char *
-+getenv (const char *ignored)
-+{
-+ return NULL;
-+}
-+
-+static int
-+do_test (void)
-+{
-+ TEST_COMPARE_STRING (getenv ("PATH"), NULL);
-+ return 0;
-+}
-+
-+#include <support/test-driver.c>
-
-base-commit: 59dc232df277c21239c357e3519682c26e182cd7
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (320a4a00fb9775924bc4e2f70fc1ed49fe20dff1), Pavel Vinogradov, 07/29/2025
Archive powered by MHonArc 2.6.24.