Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Maytha8/glibc
  • vimerbf-guest/glibc
  • schopin/glibc
  • yumeyao/glibc
  • carlespina/po-debconf-manager-glibc
  • Claudia/glibc-widevine
  • andrewsh/glibc
  • jscott/glibc
  • bluca/glibc
  • gioele/glibc
  • rouca/glibc
  • sven/glibc
  • josch/glibc
  • cjwatson/glibc
  • fw/glibc
  • rbalint/glibc
  • bsd-team/glibc-packaging
  • glibc-team/glibc
  • bigon/glibc
  • ahrex-guest/glibc
  • friki/glibc
21 results
Show changes
Commits on Source (12)
......@@ -7,6 +7,7 @@ glibc (2.41-2) UNRELEASED; urgency=medium
* debian/debhelper.in/*.lintian-overrides, debian/source/lintian-overrides:
update to limit the errors/warnings with recent lintian versions.
* debian/salsa-ci.yml: add CI/CD pipeline configuration for salsa.
* debian/patches/git-updates.diff: update from upstream stable branch.
 
-- Samuel Thibault <sthibault@debian.org> Sat, 01 Feb 2025 18:21:38 +0100
 
......@@ -49,14 +50,35 @@ glibc (2.41-1) experimental; urgency=medium
 
-- Aurelien Jarno <aurel32@debian.org> Thu, 30 Jan 2025 23:14:50 +0100
 
glibc (2.40-7) UNRELEASED; urgency=medium
glibc (2.40-7) unstable; urgency=medium
 
[ Samuel Thibault ]
* debian/libc0.3.symbols.hurd-*: Prepare removal of experimental
exec_exec_file_name and file_exec_file_name.
* debian/patches/hurd-i386/local-exec_filename.diff: Drop old experimental
patch.
* debian/patches/hurd-i386/git-mig-strncpy.diff: ensure destination string is
null terminated.
[ Aurelien Jarno ]
* debian/libc0.1.symbols.common: remove leftover from kfreebsd removal.
* debhelper.in/locales.NEWS: remove asterisks list to make lintian happier.
* debian/copyright: fix issues reported by lintian.
* debian/tests/rebuild: rename into upstream-testsuite and only run the
build-arch-post-check target instead of the full build.
* debian/tests/control.in: update accordingly and drop fakeroot from the
depends.
* debian/rules.d/build.mk: display the failures again in the
build-arch-post-check target, useful for debci which drop the middle of
the autopkgtest log.
 
-- Samuel Thibault <sthibault@debian.org> Sat, 01 Feb 2025 17:57:29 +0100
[ Frans Spiesschaert ]
* Update Dutch debconf translation. Closes: #1094154.
[ Bjarni Ingi Gislason ]
* debian/local/manpages/locale.gen.5: editorial fixes. Closes: #1095789.
-- Aurelien Jarno <aurel32@debian.org> Sat, 15 Feb 2025 11:20:09 +0100
 
glibc (2.40-6) unstable; urgency=medium
 
......@@ -1023,7 +1045,7 @@ glibc (2.36-6) unstable; urgency=medium
* debian/rules.d/build.mk: ensure that an empty libanl.a is shipped even on
newly added upstream architectures.
* debian/patches/git-updates.diff: update from upstream stable branch.
[ Dandan Zhang ]
* debian/sysdeps/loong64.mk: add support for loong64 architecture. Closes:
#1024130.
......
......@@ -207,7 +207,7 @@ License: Inner-Net and LGPL-2.1+
Files: posix/runtests.c
Copyright: 1995 by Tom Lord
License:
License: MIT-like-Lord
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
......@@ -215,7 +215,7 @@ License:
supporting documentation, and that the name of the copyright holder not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
.
.
Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL TOM LORD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
......@@ -226,7 +226,7 @@ License:
Files: posix/rxspencer/*
Copyright: 1992, 1993, 1994, 1997 Henry Spencer
License:
License: BSD-like-Spencer
This software is not subject to any license of the American Telephone
and Telegraph Company or of the Regents of the University of California.
.
......@@ -263,6 +263,8 @@ License: Unicode-DFS-2016
Files: posix/BOOST.tests
License: BSL-1.0
Copyright: 2004 John Maddock
Comment: Tests taken from BOOST testsuite and adapted to glibc regex.
Files:
math/s_ldexp_template.c
......@@ -340,7 +342,6 @@ Files:
sysdeps/ieee754/k_standard.c
sysdeps/ieee754/ldbl-128/e_atan2l.c
sysdeps/ieee754/ldbl-128/e_atanhl.c
sysdeps/ieee754/ldbl-128/e_coshl.c
sysdeps/ieee754/ldbl-128/e_fmodl.c
sysdeps/ieee754/ldbl-128/e_ilogbl.c
sysdeps/ieee754/ldbl-128/e_remainderl.c
......@@ -754,7 +755,9 @@ Files:
localedata/locales/kk_KZ
localedata/locales/syr
localedata/locales/tok
Copyright: None
License: public-domain
These files are in Public Domain.
Files:
timezone/africa
......@@ -1025,13 +1028,30 @@ License: FSFAP
notice and this notice are preserved. This file is offered as-is,
without any warranty.
License: GPL-2
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as published
by the Free Software Foundation.
.
This file 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 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/>.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in `/usr/share/common-licenses/GPL-2'.
License: GPL-2+
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.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, 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
......@@ -1042,8 +1062,8 @@ License: GPL-2+
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Library
General Public License can be found in `/usr/share/common-licenses/GPL-2'.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in `/usr/share/common-licenses/GPL-2'.
License: GPL-2+-with-link-exception
This file is free software; you can redistribute it and/or modify it
......@@ -1068,6 +1088,26 @@ License: GPL-2+-with-link-exception
You should have received a copy of the GNU General Public License
along with this program. If not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in `/usr/share/common-licenses/GPL-2'.
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program 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 General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in `/usr/share/common-licenses/GPL-3'.
License: IBM
Permission is hereby granted, free of charge, to any person obtaining
......@@ -1156,8 +1196,8 @@ License: LGPL-2+
License along with the GNU C Library. If not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Library
General Public License can be found in `/usr/share/common-licenses/LGPL-2'.
On Debian systems, the complete text of the GNU Library General Public
License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
License: LGPL-2.1+
This file is part of the GNU C Library.
......@@ -1176,8 +1216,8 @@ License: LGPL-2.1+
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Library
General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
On Debian systems, the complete text of the GNU Library General Public
License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
License: LGPL-2.1+-with-link-exception
This file is part of the GNU C Library.
......@@ -1205,8 +1245,8 @@ License: LGPL-2.1+-with-link-exception
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Library
General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
On Debian systems, the complete text of the GNU Library General Public
License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
License: LGPL-3+
This file is part of the GNU Hurd.
......@@ -1225,8 +1265,8 @@ License: LGPL-3+
License along with this program. If not, see
<https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Library
General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
On Debian systems, the complete text of the GNU Library General Public
License version 3 can be found in `/usr/share/common-licenses/LGPL-3'.
License: PCRE
PCRE LICENCE
......
locales (2.37-6) unstable; urgency=low
* Starting with locales 2.37-6, locale variables are now stored in
/etc/locale.conf and /etc/default/locale will be converted to a symlink
to the former. This is to harmonize locale support configuration across
distributions.
Starting with locales 2.37-6, locale variables are now stored in
/etc/locale.conf and /etc/default/locale will be converted to a symlink
to the former. This is to harmonize locale support configuration across
distributions.
-- Aurelien Jarno <aurel32@debian.org> Fri, 14 Jul 2023 17:04:23 +0200
locales (2.31-14) unstable; urgency=low
* Starting with locales 2.31-14, non UTF-8 locales are deprecated and not
offered anymore in the debconf dialog, except for the ones already
configured. Nevertheless users of non UTF-8 locales are encouraged to
switch their system to an UTF-8 locale.
Starting with locales 2.31-14, non UTF-8 locales are deprecated and not
offered anymore in the debconf dialog, except for the ones already
configured. Nevertheless users of non UTF-8 locales are encouraged to
switch their system to an UTF-8 locale.
Please note that iconv still supports conversion to and from non UTF-8
charset. For instance reading a file using an ISO-8859-15 charset can be
done with: iconv --from-code=ISO-8859-15 foobar.txt
Please note that iconv still supports conversion to and from non UTF-8
charset. For instance reading a file using an ISO-8859-15 charset can be
done with: iconv --from-code=ISO-8859-15 foobar.txt
-- Aurelien Jarno <aurel32@debian.org> Tue, 17 Aug 2021 16:27:59 +0200
-- Aurelien Jarno <aurel32@debian.org> Tue, 17 Aug 2021 16:27:59 +0200
locales (2.7-3) unstable; urgency=low
* Starting with locales 2.7-3, users can provide their own locales in
/usr/local/share/i18n. See /usr/share/doc/locales/README.Debian for
more information.
Starting with locales 2.7-3, users can provide their own locales in
/usr/local/share/i18n. See /usr/share/doc/locales/README.Debian for
more information.
-- Aurelien Jarno <aurel32@debian.org> Thu, 29 Nov 2007 18:54:12 +0100
locales (2.7-1) unstable; urgency=low
* Starting with locales 2.7-1 the deprecated no_NO locale has been
removed. The switch to the nb_NO locale should be done automatically
by this package, however some applications may have to be restarted
in order to recognize the new locale settings.
Starting with locales 2.7-1 the deprecated no_NO locale has been
removed. The switch to the nb_NO locale should be done automatically
by this package, however some applications may have to be restarted
in order to recognize the new locale settings.
-- Aurelien Jarno <aurel32@debian.org> Mon, 26 Nov 2007 18:56:32 +0100
locales (2.3.6-7) unstable; urgency=low
* Locale variables are now stored in /etc/default/locale and no more
/etc/environment. The reason is that Debian Policy forbids modifying
configuration files of other packages, and /etc/environment is a
configuration file for PAM.
Make sure to remove old definitions from /etc/environment, this file
is no more modified for the reason explained above.
Locale variables are now stored in /etc/default/locale and no more
/etc/environment. The reason is that Debian Policy forbids modifying
configuration files of other packages, and /etc/environment is a
configuration file for PAM.
Make sure to remove old definitions from /etc/environment, this file
is no more modified for the reason explained above.
-- Denis Barbier <barbier@debian.org> Tue, 11 Apr 2006 21:24:13 +0200
libc.so.0.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libBrokenLocale.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libc_malloc_debug.so.0 #PACKAGE# #MINVER#
#include "symbols.wildcards"
libdl.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libm.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libmemusage.so #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
calloc@Base 2.3.6
free@Base 2.3.6
malloc@Base 2.3.6
mmap64@Base 2.3.6
mmap@Base 2.3.6
munmap@Base 2.3.6
realloc@Base 2.3.6
#include "symbols.wildcards"
libnsl.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libnss_compat.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libnss_dns.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libnss_files.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libnss_hesiod.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libpcprofile.so #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
__cyg_profile_func_enter@Base 2.3.6
__cyg_profile_func_exit@Base 2.3.6
#include "symbols.wildcards"
libresolv.so.2 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
librt.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libutil.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libanl.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
libpthread.so.0 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
pthread_condattr_getclock@GLIBC_2.3.3 2.13-31
pthread_condattr_setclock@GLIBC_2.3.3 2.13-31
pthread_getaffinity_np@GLIBC_2.3.4 2.18
pthread_setaffinity_np@GLIBC_2.3.4 2.18
pthread_attr_getaffinity_np@GLIBC_2.3.4 2.18
pthread_attr_setaffinity_np@GLIBC_2.3.4 2.18
pthread_setname_np@GLIBC_2.12 2.18
pthread_getname_np@GLIBC_2.12 2.18
libthread_db.so.1 #PACKAGE# (>= 2.17-91), #PACKAGE# #MINVER#
#include "symbols.wildcards"
......@@ -15,9 +15,9 @@
.\" along with this program; if not, write to the Free Software Foundation,
.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.TH locale.gen 5 "July 2005" "Debian GNU/Linux"
.SH "NAME"
.SH NAME
locale.gen \- Configuration file for locale-gen
.SH "DESCRIPTION"
.SH DESCRIPTION
The file \fI/etc/locale.gen\fP lists the locales that are to be generated
by the \fBlocale-gen\fP command.
......@@ -25,9 +25,9 @@ Each line is of the form:
<locale> <charset>
where <locale> is one of the locales given in
where <locale> is one of the locales given in
.B /usr/share/i18n/locales
and <charset> is one of the character sets listed in
and <charset> is one of the character sets listed in
.B /usr/share/i18n/charmaps
The
......@@ -35,7 +35,7 @@ The
command will generate all the locales, placing them in
\fB/usr/lib/locale\fP.
.SH "SEE ALSO"
.SH SEE ALSO
\fBlocale-gen\fP(8), \fBlocaledef\fP(1), \fBlocale\fP(1)
.SH "AUTHOR"
.SH AUTHOR
Alastair McKinstry <mckinstry@computer.org>
......@@ -9,22 +9,25 @@ index 0000000000..d4e33f2df3
+For the GNU C Library Security Advisories, see the git master branch:
+https://sourceware.org/git/?p=glibc.git;a=tree;f=advisories;hb=HEAD
diff --git a/NEWS b/NEWS
index b11422b060..0fef024e7f 100644
index b11422b060..cc98ab54c2 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,12 @@ See the end for copying conditions.
@@ -5,6 +5,15 @@ See the end for copying conditions.
Please send GNU C library bug reports via <https://sourceware.org/bugzilla/>
using `glibc' in the "product" field.
+
+Version 2.41.1
+
+The following bugs were resolved with this release:
+
+
+ [32626] math: math: log10p1f is not correctly rounded
+ [32627] math: math: sinhf is not correctly rounded
+ [32630] math: math: tanf is not correctly rounded for all rounding
+ modes
+
Version 2.41
Major new features:
diff --git a/advisories/GLIBC-SA-2023-0001 b/advisories/GLIBC-SA-2023-0001
deleted file mode 100644
index 3d19c91b6a..0000000000
......@@ -474,3 +477,320 @@ index b8f8a829ca..0000000000
- scripts/process-advisories.sh news
-
-and copy the content into the NEWS file.
diff --git a/assert/Makefile b/assert/Makefile
index 65b9d0768e..8d106d8752 100644
--- a/assert/Makefile
+++ b/assert/Makefile
@@ -39,6 +39,7 @@ tests := \
test-assert-perr \
tst-assert-c++ \
tst-assert-g++ \
+ tst-assert-sa-2025-0001 \
# tests
ifeq ($(have-cxx-thread_local),yes)
diff --git a/assert/tst-assert-sa-2025-0001.c b/assert/tst-assert-sa-2025-0001.c
new file mode 100644
index 0000000000..102cb0078d
--- /dev/null
+++ b/assert/tst-assert-sa-2025-0001.c
@@ -0,0 +1,92 @@
+/* Test for CVE-2025-0395.
+ Copyright The GNU Toolchain Authors.
+ 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/>. */
+
+/* Test that a large enough __progname does not result in a buffer overflow
+ when printing an assertion failure. This was CVE-2025-0395. */
+#include <assert.h>
+#include <inttypes.h>
+#include <signal.h>
+#include <stdbool.h>
+#include <string.h>
+#include <sys/mman.h>
+#include <support/check.h>
+#include <support/support.h>
+#include <support/xstdio.h>
+#include <support/xunistd.h>
+
+extern const char *__progname;
+
+int
+do_test (int argc, char **argv)
+{
+
+ support_need_proc ("Reads /proc/self/maps to add guards to writable maps.");
+ ignore_stderr ();
+
+ /* XXX assumes that the assert is on a 2 digit line number. */
+ const char *prompt = ": %s:99: do_test: Assertion `argc < 1' failed.\n";
+
+ int ret = fprintf (stderr, prompt, __FILE__);
+ if (ret < 0)
+ FAIL_EXIT1 ("fprintf failed: %m\n");
+
+ size_t pagesize = getpagesize ();
+ size_t namesize = pagesize - 1 - ret;
+
+ /* Alter the progname so that the assert message fills the entire page. */
+ char progname[namesize];
+ memset (progname, 'A', namesize - 1);
+ progname[namesize - 1] = '\0';
+ __progname = progname;
+
+ FILE *f = xfopen ("/proc/self/maps", "r");
+ char *line = NULL;
+ size_t len = 0;
+ uintptr_t prev_to = 0;
+
+ /* Pad the beginning of every writable mapping with a PROT_NONE map. This
+ ensures that the mmap in the assert_fail path never ends up below a
+ writable map and will terminate immediately in case of a buffer
+ overflow. */
+ while (xgetline (&line, &len, f))
+ {
+ uintptr_t from, to;
+ char perm[4];
+
+ sscanf (line, "%" SCNxPTR "-%" SCNxPTR " %c%c%c%c ",
+ &from, &to,
+ &perm[0], &perm[1], &perm[2], &perm[3]);
+
+ bool writable = (memchr (perm, 'w', 4) != NULL);
+
+ if (prev_to != 0 && from - prev_to > pagesize && writable)
+ xmmap ((void *) from - pagesize, pagesize, PROT_NONE,
+ MAP_ANONYMOUS | MAP_PRIVATE, 0);
+
+ prev_to = to;
+ }
+
+ xfclose (f);
+
+ assert (argc < 1);
+ return 0;
+}
+
+#define EXPECTED_SIGNAL SIGABRT
+#define TEST_FUNCTION_ARGV do_test
+#include <support/test-driver.c>
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 01ba689aa8..4f194da19d 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -7291,6 +7291,8 @@ log10p1 -0x1p-125
log10p1 -0x1p-1021
log10p1 -0x1p-16381
+log10p1 0x1.27f7dap-17
+
log10p1 0x7.2a4368p-4
log10p1 0x6.d3a118p-4
log10p1 0x5.03f228p+0
@@ -8298,6 +8300,7 @@ sinh -0x1.3dda8ap+0
sinh -0x5.ee9218p-4
sinh -0x1.bcfc98p+0
sinh -0x6.9bbb6df7c5d08p-4
+sinh 0x1.250bfep-11
# the next value generates larger error bounds on x86_64 (ldbl-96)
sinh 0x2.c5d376167f4052f4p+12
sinh max
@@ -8661,6 +8664,7 @@ tan 0x1.1ad374p+0
tan -0x1.0d55b8p+0
tan 1.57079697
tan -1.57079697
+tan 0x1.ada6aap+27
tan 0x1p-5
tan 0x1p-10
tan 0x1p-15
diff --git a/math/auto-libm-test-out-log10p1 b/math/auto-libm-test-out-log10p1
index 87bdb0bcde..f5ce965720 100644
--- a/math/auto-libm-test-out-log10p1
+++ b/math/auto-libm-test-out-log10p1
@@ -1789,6 +1789,31 @@ log10p1 -0x1p-16381
= log10p1 tonearest binary128 -0x8p-16384 : -0x3.796f62a4dca1c654d56eaabeb4dp-16384 : inexact-ok underflow errno-erange-ok
= log10p1 towardzero binary128 -0x8p-16384 : -0x3.796f62a4dca1c654d56eaabeb4ccp-16384 : inexact-ok underflow errno-erange-ok
= log10p1 upward binary128 -0x8p-16384 : -0x3.796f62a4dca1c654d56eaabeb4ccp-16384 : inexact-ok underflow errno-erange-ok
+log10p1 0x1.27f7dap-17
+= log10p1 downward binary32 0x9.3fbedp-20 : 0x4.044b5p-20 : inexact-ok
+= log10p1 tonearest binary32 0x9.3fbedp-20 : 0x4.044b5p-20 : inexact-ok
+= log10p1 towardzero binary32 0x9.3fbedp-20 : 0x4.044b5p-20 : inexact-ok
+= log10p1 upward binary32 0x9.3fbedp-20 : 0x4.044b58p-20 : inexact-ok
+= log10p1 downward binary64 0x9.3fbedp-20 : 0x4.044b5157872ep-20 : inexact-ok
+= log10p1 tonearest binary64 0x9.3fbedp-20 : 0x4.044b5157872e4p-20 : inexact-ok
+= log10p1 towardzero binary64 0x9.3fbedp-20 : 0x4.044b5157872ep-20 : inexact-ok
+= log10p1 upward binary64 0x9.3fbedp-20 : 0x4.044b5157872e4p-20 : inexact-ok
+= log10p1 downward intel96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 tonearest intel96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 towardzero intel96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 upward intel96 0x9.3fbedp-20 : 0x4.044b5157872e287p-20 : inexact-ok
+= log10p1 downward m68k96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 tonearest m68k96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 towardzero m68k96 0x9.3fbedp-20 : 0x4.044b5157872e2868p-20 : inexact-ok
+= log10p1 upward m68k96 0x9.3fbedp-20 : 0x4.044b5157872e287p-20 : inexact-ok
+= log10p1 downward binary128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d808p-20 : inexact-ok
+= log10p1 tonearest binary128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d80cp-20 : inexact-ok
+= log10p1 towardzero binary128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d808p-20 : inexact-ok
+= log10p1 upward binary128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d80cp-20 : inexact-ok
+= log10p1 downward ibm128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d8p-20 : inexact-ok
+= log10p1 tonearest ibm128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d8p-20 : inexact-ok
+= log10p1 towardzero ibm128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287d8p-20 : inexact-ok
+= log10p1 upward ibm128 0x9.3fbedp-20 : 0x4.044b5157872e2868f5c04287dap-20 : inexact-ok
log10p1 0x7.2a4368p-4
= log10p1 downward binary32 0x7.2a4368p-4 : 0x2.9248dcp-4 : inexact-ok
= log10p1 tonearest binary32 0x7.2a4368p-4 : 0x2.9248ep-4 : inexact-ok
diff --git a/math/auto-libm-test-out-sinh b/math/auto-libm-test-out-sinh
index 0b77a77eeb..3924e19d86 100644
--- a/math/auto-libm-test-out-sinh
+++ b/math/auto-libm-test-out-sinh
@@ -2115,6 +2115,31 @@ sinh -0x6.9bbb6df7c5d08p-4
= sinh tonearest ibm128 -0x6.9bbb6df7c5d08p-4 : -0x6.cc3ddf003dcda77f8f9e892e36p-4 : inexact-ok
= sinh towardzero ibm128 -0x6.9bbb6df7c5d08p-4 : -0x6.cc3ddf003dcda77f8f9e892e36p-4 : inexact-ok
= sinh upward ibm128 -0x6.9bbb6df7c5d08p-4 : -0x6.cc3ddf003dcda77f8f9e892e36p-4 : inexact-ok
+sinh 0x1.250bfep-11
+= sinh downward binary32 0x2.4a17fcp-12 : 0x2.4a17fcp-12 : inexact-ok
+= sinh tonearest binary32 0x2.4a17fcp-12 : 0x2.4a17fcp-12 : inexact-ok
+= sinh towardzero binary32 0x2.4a17fcp-12 : 0x2.4a17fcp-12 : inexact-ok
+= sinh upward binary32 0x2.4a17fcp-12 : 0x2.4a18p-12 : inexact-ok
+= sinh downward binary64 0x2.4a17fcp-12 : 0x2.4a17fdffffffep-12 : inexact-ok
+= sinh tonearest binary64 0x2.4a17fcp-12 : 0x2.4a17fep-12 : inexact-ok
+= sinh towardzero binary64 0x2.4a17fcp-12 : 0x2.4a17fdffffffep-12 : inexact-ok
+= sinh upward binary64 0x2.4a17fcp-12 : 0x2.4a17fep-12 : inexact-ok
+= sinh downward intel96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87cp-12 : inexact-ok
+= sinh tonearest intel96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff88p-12 : inexact-ok
+= sinh towardzero intel96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87cp-12 : inexact-ok
+= sinh upward intel96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff88p-12 : inexact-ok
+= sinh downward m68k96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87cp-12 : inexact-ok
+= sinh tonearest m68k96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff88p-12 : inexact-ok
+= sinh towardzero m68k96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87cp-12 : inexact-ok
+= sinh upward m68k96 0x2.4a17fcp-12 : 0x2.4a17fdfffffff88p-12 : inexact-ok
+= sinh downward binary128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ec88p-12 : inexact-ok
+= sinh tonearest binary128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ec8ap-12 : inexact-ok
+= sinh towardzero binary128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ec88p-12 : inexact-ok
+= sinh upward binary128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ec8ap-12 : inexact-ok
+= sinh downward ibm128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ecp-12 : inexact-ok
+= sinh tonearest ibm128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786edp-12 : inexact-ok
+= sinh towardzero ibm128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786ecp-12 : inexact-ok
+= sinh upward ibm128 0x2.4a17fcp-12 : 0x2.4a17fdfffffff87e8d322786edp-12 : inexact-ok
sinh 0x2.c5d376167f4052f4p+12
= sinh downward binary32 0x2.c5d378p+12 : 0xf.fffffp+124 : inexact-ok overflow errno-erange-ok
= sinh tonearest binary32 0x2.c5d378p+12 : plus_infty : inexact-ok overflow errno-erange
diff --git a/math/auto-libm-test-out-tan b/math/auto-libm-test-out-tan
index 7d00d03e1d..1d5999ab90 100644
--- a/math/auto-libm-test-out-tan
+++ b/math/auto-libm-test-out-tan
@@ -2532,6 +2532,31 @@ tan -1.57079697
= tan tonearest ibm128 -0x1.921fc00ece4f02f278ade6ad9fp+0 : 0x1.7b91a0851bbbafa14cf21c2b5c8p+20 : inexact-ok
= tan towardzero ibm128 -0x1.921fc00ece4f02f278ade6ad9fp+0 : 0x1.7b91a0851bbbafa14cf21c2b5cp+20 : inexact-ok
= tan upward ibm128 -0x1.921fc00ece4f02f278ade6ad9fp+0 : 0x1.7b91a0851bbbafa14cf21c2b5c8p+20 : inexact-ok
+tan 0x1.ada6aap+27
+= tan downward binary32 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan tonearest binary32 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan towardzero binary32 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan upward binary32 0xd.6d355p+24 : 0x3.d0060cp-4 : inexact-ok
+= tan downward binary64 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan tonearest binary64 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan towardzero binary64 0xd.6d355p+24 : 0x3.d00608p-4 : inexact-ok
+= tan upward binary64 0xd.6d355p+24 : 0x3.d006080000002p-4 : inexact-ok
+= tan downward intel96 0xd.6d355p+24 : 0x3.d006080000000504p-4 : inexact-ok
+= tan tonearest intel96 0xd.6d355p+24 : 0x3.d006080000000508p-4 : inexact-ok
+= tan towardzero intel96 0xd.6d355p+24 : 0x3.d006080000000504p-4 : inexact-ok
+= tan upward intel96 0xd.6d355p+24 : 0x3.d006080000000508p-4 : inexact-ok
+= tan downward m68k96 0xd.6d355p+24 : 0x3.d006080000000504p-4 : inexact-ok
+= tan tonearest m68k96 0xd.6d355p+24 : 0x3.d006080000000508p-4 : inexact-ok
+= tan towardzero m68k96 0xd.6d355p+24 : 0x3.d006080000000504p-4 : inexact-ok
+= tan upward m68k96 0xd.6d355p+24 : 0x3.d006080000000508p-4 : inexact-ok
+= tan downward binary128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c15ap-4 : inexact-ok
+= tan tonearest binary128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c15ap-4 : inexact-ok
+= tan towardzero binary128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c15ap-4 : inexact-ok
+= tan upward binary128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c15cp-4 : inexact-ok
+= tan downward ibm128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c1p-4 : inexact-ok
+= tan tonearest ibm128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c1p-4 : inexact-ok
+= tan towardzero ibm128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c1p-4 : inexact-ok
+= tan upward ibm128 0xd.6d355p+24 : 0x3.d0060800000005067d16c1c9c2p-4 : inexact-ok
tan 0x1p-5
= tan downward binary32 0x8p-8 : 0x8.00aabp-8 : inexact-ok
= tan tonearest binary32 0x8p-8 : 0x8.00aacp-8 : inexact-ok
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
index e98e2df152..43dd16d59c 100644
--- a/nptl/pthread_getattr_np.c
+++ b/nptl/pthread_getattr_np.c
@@ -145,9 +145,9 @@ __pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr)
> (size_t) iattr->stackaddr - last_to)
iattr->stacksize = (size_t) iattr->stackaddr - last_to;
#else
- /* The limit might be too high. */
+ /* The limit might be too low. */
if ((size_t) iattr->stacksize
- > to - (size_t) iattr->stackaddr)
+ < to - (size_t) iattr->stackaddr)
iattr->stacksize = to - (size_t) iattr->stackaddr;
#endif
/* We succeed and no need to look further. */
diff --git a/sysdeps/ieee754/flt-32/e_sinhf.c b/sysdeps/ieee754/flt-32/e_sinhf.c
index c007c7d174..dee96fc7cb 100644
--- a/sysdeps/ieee754/flt-32/e_sinhf.c
+++ b/sysdeps/ieee754/flt-32/e_sinhf.c
@@ -83,7 +83,7 @@ __ieee754_sinhf (float x)
{ /* |x| <= 0x1.250bfep-11 */
if (__glibc_unlikely (ux < 0x66000000u)) /* |x| < 0x1p-24 */
return fmaf (x, fabsf (x), x);
- if (__glibc_unlikely (st.uarg == asuint (ux)))
+ if (__glibc_unlikely (st.uarg == ux))
{
float sgn = copysignf (1.0f, x);
return sgn * st.rh + sgn * st.rl;
diff --git a/sysdeps/ieee754/flt-32/s_log10p1f.c b/sysdeps/ieee754/flt-32/s_log10p1f.c
index 64deb1eeda..4e11d55d49 100644
--- a/sysdeps/ieee754/flt-32/s_log10p1f.c
+++ b/sysdeps/ieee754/flt-32/s_log10p1f.c
@@ -70,7 +70,7 @@ __log10p1f (float x)
};
static const double tl[] =
{
- 0x1.562ec497ef351p-43, 0x1.b9476892ea99cp-8, 0x1.b5e909c959eecp-7,
+ -0x1.562ec497ef351p-43, 0x1.b9476892ea99cp-8, 0x1.b5e909c959eecp-7,
0x1.45f4f59ec84fp-6, 0x1.af5f92cbcf2aap-6, 0x1.0ba01a6069052p-5,
0x1.3ed119b99dd41p-5, 0x1.714834298a088p-5, 0x1.a30a9d98309c1p-5,
0x1.d41d51266b9d9p-5, 0x1.02428c0f62dfcp-4, 0x1.1a23444eea521p-4,
diff --git a/sysdeps/ieee754/flt-32/s_tanf.c b/sysdeps/ieee754/flt-32/s_tanf.c
index dfe56fc2a0..5ee1d6f35e 100644
--- a/sysdeps/ieee754/flt-32/s_tanf.c
+++ b/sysdeps/ieee754/flt-32/s_tanf.c
@@ -166,7 +166,7 @@ __tanf (float x)
uint32_t sgn = t >> 31;
for (int j = 0; j < array_length (st); j++)
{
- if (__glibc_unlikely (asfloat (st[j].arg) == ax))
+ if (__glibc_unlikely (asuint (st[j].arg) == ax))
{
if (sgn)
return -st[j].rh - st[j].rl;
diff --git a/sysdeps/unix/sysv/linux/aarch64/tst-aarch64-pkey.c b/sysdeps/unix/sysv/linux/aarch64/tst-aarch64-pkey.c
index 3ff33ef72a..c884efc3b4 100644
--- a/sysdeps/unix/sysv/linux/aarch64/tst-aarch64-pkey.c
+++ b/sysdeps/unix/sysv/linux/aarch64/tst-aarch64-pkey.c
@@ -55,6 +55,10 @@ do_test (void)
if (errno == ENOSYS || errno == EINVAL)
FAIL_UNSUPPORTED
("kernel or CPU does not support memory protection keys");
+ if (errno == ENOSPC)
+ FAIL_UNSUPPORTED
+ ("no keys available or kernel does not support memory"
+ " protection keys");
FAIL_EXIT1 ("pkey_alloc: %m");
}
commit da49165ea6ca9a759229becc5e269594a80b0976
Author: Flavio Cruz <flaviocruz@gmail.com>
Date: Sun Feb 9 22:37:56 2025 -0500
mig_strncpy: ensure destination string is null terminated
Message-ID: <xaqw66fuawxm5hzgjscfg2oyp6lxflm5tnbb7u253pw3gmdy4m@5z42mw2qz2l2>
diff --git a/mach/mig_strncpy.c b/mach/mig_strncpy.c
index b0c001d775..dbd0a08e56 100644
--- a/mach/mig_strncpy.c
+++ b/mach/mig_strncpy.c
@@ -6,6 +6,14 @@
vm_size_t
__mig_strncpy (char *dst, const char *src, vm_size_t len)
{
- return __stpncpy (dst, src, len) - dst;
+ if (len == 0)
+ return 0;
+
+ char *end = __stpncpy (dst, src, len - 1);
+ vm_size_t ret = end - dst;
+ /* Null terminate the string. */
+ if (ret == len - 1)
+ *end = '\0';
+ return ret;
}
weak_alias (__mig_strncpy, mig_strncpy)
......@@ -28,6 +28,9 @@ hppa/local-inlining.diff
# Commited for 2.42
hurd-i386/git-proc_reauth.diff
# Commited for 2.42
hurd-i386/git-mig-strncpy.diff
hurd-i386/local-intr-msg-clobber.diff
hurd-i386/local-enable-ldconfig.diff
hurd-i386/tg-sysvshm.diff
......
......@@ -3,14 +3,14 @@
# This file is distributed under the same license as the glibc package.
# Bart Cornelis <cobaco@skolelinux.no>, 2008.
# Vincent Zweije <vincent@zweije.nl>, 2011.
# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2016-2017, 2023.
# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2016-2025.
#
msgid ""
msgstr ""
"Project-Id-Version: glibc 2.36-8\n"
"Project-Id-Version: glibc 2.40-5\n"
"Report-Msgid-Bugs-To: glibc@packages.debian.org\n"
"POT-Creation-Date: 2025-01-02 16:30+0000\n"
"PO-Revision-Date: 2023-03-18 21:31+0100\n"
"PO-Revision-Date: 2025-01-15 20:33+0100\n"
"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
"Language: nl\n"
......@@ -18,7 +18,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.1\n"
"X-Generator: Poedit 3.2.2\n"
#. Type: multiselect
#. Choices
......@@ -62,6 +62,8 @@ msgid ""
"Please note that the C, C.UTF-8 and POSIX locales are always available and "
"do not need to be generated."
msgstr ""
"Houd er rekening mee dat de locales C, C.UTF-8 en POSIX altijd beschikbaar "
"zijn en niet gegenereerd hoeven te worden."
#. Type: select
#. Choices
......
......@@ -178,7 +178,7 @@ $(stamp)check_%: $(stamp)build_%
echo "+---------------------------------------------------------------------+" ; \
grep -E '^FAIL:' $(DEB_BUILDDIR)/tests.sum | sort ; \
if ! echo $(DEB_VERSION) | grep -q -E '^Version:.*\+deb[0-9]+u[0-9]+' ; then \
touch $@_failed ; \
grep -E '^FAIL:' $(DEB_BUILDDIR)/tests.sum | sort > $@_failed ; \
fi ; \
else \
echo "+---------------------------------------------------------------------+" ; \
......@@ -200,6 +200,7 @@ build-arch-post-check: $(patsubst %,$(stamp)check_%,$(GLIBC_PASSES))
for pass in $(patsubst %,$(stamp)check_%,$(GLIBC_PASSES)); do \
if [ -f $${pass}_failed ]; then \
echo "check for $$(basename $$pass) failed"; \
sed -e 's/^/ /' $${pass}_failed ; \
fail=1; \
fi; \
done; \
......
Tests: rebuild
Depends: @builddeps@, fakeroot, binutils, linux-libc-dev [linux-any], gcc-14
Tests: upstream-testsuite
Depends: @builddeps@, binutils, linux-libc-dev [linux-any], gcc-14
Restrictions: allow-stderr
Tests: rebuild
Depends: @builddeps@, fakeroot, @triggers@
Tests: upstream-testsuite
Depends: @builddeps@, @triggers@
Restrictions: allow-stderr
#!/bin/sh
set -e
dpkg-buildpackage -rfakeroot -us -uc -b
#!/bin/sh
set -e
debian/rules build-arch-post-check