glibc.git
5 months agolocal-no_unsupported_ioctls
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-no_unsupported_ioctls

These ioctls are not actually supported (and will probably not be in the
close future), and are not available on Linux either, so don't expose
them to application at the risk of them complaining that they don't work
(e.g. xterm using TIOCLSET).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-no_unsupported_ioctls.diff

5 months ago[PATCH] XXX: make libc_rwlock recursive
Samuel Thibault [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] XXX: make libc_rwlock recursive

Without making the rwlocks recursive, running fakeroot-tcp gets this:

#0  0x0106e91c in mach_msg_trap () at /usr/src/glibc-2.24/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
#1  0x0106f090 in __mach_msg (msg=0x20034a0, option=3, send_size=64, rcv_size=32, rcv_name=421, timeout=0, notify=0) at msg.c:110
#2  0x0125a241 in __gsync_wait (task=1, addr=19101080, val1=2, val2=0, msec=0, flags=0)
    at /usr/src/glibc-2.24/build-tree/hurd-i386-libc/mach/RPC_gsync_wait.c:175
#3  0x010b0743 in __dcigettext (domainname=0x8050740 <_libc_intl_domainname@@GLIBC_2.2.6> "libc",
    msgid1=0x8051d88 "undefined symbol: acl_get_fd", msgid2=0x0, plural=0, n=0, category=5) at dcigettext.c:527
#4  0x010af776 in __dcgettext (domainname=0x8050740 <_libc_intl_domainname@@GLIBC_2.2.6> "libc",
    msgid=0x8051d88 "undefined symbol: acl_get_fd", category=5) at dcgettext.c:47
#5  0x0124e427 in __dlerror () at dlerror.c:94
#6  0x01035ae3 in load_library_symbols () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#7  0x01035cc3 in tmp___fxstat64 () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#8  0x01036cd6 in __fxstat64 () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#9  0x010ad831 in _nl_load_locale_from_archive (category=category@entry=0, namep=namep@entry=0x200399c) at loadarchive.c:211
#10 0x010ac45b in _nl_find_locale (locale_path=0x0, locale_path_len=0, category=category@entry=0, name=0x200399c) at findlocale.c:154
#11 0x010abde7 in setlocale (category=0, locale=0x804c2e4 "") at setlocale.c:417
#12 0x0804947f in main (argc=2, argv=0x2003ad4) at programs/locale.c:191

That's very unfortunate: libfakeroot gets initialized from a section
where __libc_setlocale_lock is already locked, and thus the dlerror()
call hangs inside __dcigettext. It happens that Linux doesn't have
the problem probably because pthread_rwlock_wrlock returns a EDEADLK
error instead of hanging, and then the first unlock unlocks, and the
second unlock probably returns an EINVAL. This is all very unsafe, but
that's fakeroot-tcp's matter (see http://bugs.debian.org/845930 for the
follow-up)...

We only use it when constructing the debian installer for -s -r options
anyway.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-libc_rwlock_recursive.diff

5 months agotg-bootstrap
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
tg-bootstrap

This dependency is missing, but would pose problem on Darwin

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-bootstrap.diff

5 months agosubmitted-bind_umask2
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-bind_umask2

2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>

Fix bind when umask is e.g. 0777.

        * sysdeps/mach/hurd/bind.c (__bind): Pass mode 0666 to __dir_mkfile
        instead of final mode, so that call __ifsock_getsockaddr can always
        succeed, before calling __file_chmod to fix the mode according to umask,
        before calling __dir_link to show the file.

Part of the original fix was committed, the other hasn't been yet, see Roland's
"Harumph" reply to
https://sourceware.org/ml/libc-alpha/2014-08/msg00408.html

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name submitted-bind_umask2.diff

5 months agosubmitted-path_mounted
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-path_mounted

http://sourceware.org/ml/libc-alpha/2013-08/msg00207.html

To: libc-alpha@sourceware.org
Subject: [PATCH 2/2] Define _PATH_MOUNTED as "/etc/mtab"
Date: Thu, 15 Aug 2013 10:43:35 +0200

Change the definition of _PATH_MOUNTED to "/etc/mtab". This is the
value used on Linux.

The change is motivated by the fact that on Debian /etc/mtab is a
symbolic link to /proc/mounts. This patch adjusts the macro for
non-linux systems such as Hurd. Changing this using
sysdeps/mach/hurd/paths.h causes build problems because
/usr/include/hurd/paths.h is shadowed by this file. This change is
proposed in the hope that aligning the non-linux targets with the
glibc for Linux is perceived as a good thing while fixing this problem
on Debian/Hurd along the way.

* sysdeps/generic/paths.h (_PATH_MOUNTED): Change value to "/etc/mtab".

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name submitted-path_mounted.diff

5 months agounsubmitted-clock_t_centiseconds
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
unsubmitted-clock_t_centiseconds

Some applications assume centisecond precision, or at most millisecond precision
(e.g. guile).  This is a work-around for them.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name unsubmitted-clock_t_centiseconds.diff

5 months ago[PATCH] Workaround to add IPv6 support to getifaddrs
Samuel Thibault [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff

5 months agolocal-usr
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-usr

Upstream uses prefix= while we use prefix=/usr

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-usr.diff

5 months agolocal-madvise_warn
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-madvise_warn

Do not warn about madvise not being implemented. It does not have any real
semantic anyway, and that brings some -Werror FTBFS.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-madvise_warn.diff

5 months agolocal-ED
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-ED

This is a long funny story, but even if it's standard-compliant, it poses too
many problems.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-ED.diff

5 months ago[PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd.
Samuel Thibault [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd.

http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html

2011-03-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to
        libc.so on GNU/Hurd.

It's still unclear what we want to aim for.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-mach-hurd-link.diff

5 months ago[PATCH] hurd: SCM_CREDS support
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] hurd: SCM_CREDS support

Svante Signell  <svante.signell@gmail.com>
Samuel Thibault  <samuel.thibault@ens-lyon.org>

* sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): On SCM_CREDS
control messages, record uids, pass a rendez-vous port in the
control message, and call __auth_user_authenticate_request to
make auth send credentials on that port.  Do not wait for a
reply.
* sysdeps/mach/hurd/recvmsg.c (contains_uid, contains_gid,
check_auth): New functions.
(__libc_recvmsg): On SCM_CREDS control messages, call check_auth
to check the passed credentials thanks to the answer from the
auth server.
* hurd/Makefile (user-interfaces): Add auth_request and
auth_reply.

FIXME: this doesn't actually check uid/gid.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-sendmsg-SCM_CREDS.diff

5 months agolocal-disable-ioctls
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-disable-ioctls

struct ortentry and struct ifalias req are actually not defined
struct arpreq is defined, but can not be passed to an ioctl on the Hurd.
so let's make packages not believe these are available.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-disable-ioctls.diff

5 months ago[PATCH] The critical section lock _can_ be held in these place.
Samuel Thibault [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] The critical section lock _can_ be held in these place.

At least since hurd_thread_cancel can be called by another thread and lock our
critical lock.

http://bugs.debian.org/46859


Thomas suggested that there is no need to take the critical section
lock.  I believe that taking the critical section lock is necessary to
prevent the target thread from entering a signal handler.  Roland will
look into the problem.


Taking the critical section lock makes these assertions bogus.

It happens that hurd_thread_cancel is only called from libports and inside
/hurd/term so this is rare in practice.

A reproducer can be found here:

http://lists.gnu.org/archive/html/bug-hurd/2014-05/msg00025.html

2006-08-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

       * hurd/thread-cancel.c (hurd_thread_cancel): Do not assert that
       `&ss->critical_section_lock' is unlocked.
       * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise, and take
       critical section lock before taking the sigstate lock.
       * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-thread-cancel.diff

5 months ago[PATCH] Implement SysV shared memory for GNU/Hurd.
Marcus Brinkmann [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
[PATCH] Implement SysV shared memory for GNU/Hurd.

2005-07-11  Marcus Brinkmann  <marcus@gnu.org>

        * hurd/Makefile (routines): Add sysvshm.
        (distribute): Add sysvshm.h.
        * hurd/sysvshm.h: New file.
        * hurd/sysvshm.c: New file.
        * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
        (S_ISPARE): Unset the S_IMMAP0 flag.
        * sysdeps/mach/hurd/ftok.c: New file.
        * sysdeps/mach/hurd/shmat.c: New file.
        * sysdeps/mach/hurd/shmctl.c: New file.
        * sysdeps/mach/hurd/shmdt.c: New file.
        * sysdeps/mach/hurd/bits/posix_opt.h: Define _XOPEN_SHM to 1.

TODO:

> +  char filename[sizeof (SHM_DIR) - 1 + SHM_NAMEMAX];
> +  struct stat statbuf;
> +
> +  sprintf (filename, SHM_DIR SHM_NAMEPRI, id);
> +  /* SysV requires read access for IPC_STAT.  */
> +  fd = __open (filename, O_NORW);
> +  if (fd < 0)
> +    {
> +      if (errno == ENOENT)
> +     errno = EINVAL;
> +      return -1;
> +    }

Since this is repeated in more than one function, put it into an
internal subroutine.  Then we have only one place doing the
name-generation logic.



> +    case IPC_RMID:
> +      res = __unlink (filename);
> +      /* FIXME: Check error (mapping ENOENT to EINVAL).  */

Fix it.


Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-sysvshm.diff

5 months agolocal-enable-ldconfig
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-enable-ldconfig

# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd.  We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003

# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd.  We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-enable-ldconfig.diff

5 months agolocal-64b-align
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-64b-align

Avoid 64b typing error on RPC with 64b members in structures, while we migrate
to the fixed 64b structure alignment.

To be removed after people have migrated both gnumach libc+hurd rebuilt against
fixed mig.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-64b-align.diff

5 months agolocal-pthread_once
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-pthread_once

Note: compared to upstream, this was changed to exposing pthread_once as version

2.41. When 2.42 gets integrated, we'll want to keep the 2.41 symbol until we
rebuild packages against the 2.42 symbol. This is done by
local-pthread_once-2.42.diff which is to be used instead of
local-pthread_once.diff in 2.42

commit ccdb68e829a31e4cda8339ea0d2dc3e51fb81ba5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 2 15:16:45 2025 +0100

    htl: move pthread_once into libc

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-pthread_once.diff

5 months agogit-rename
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-rename

commit 2ae4ec56c2b18c46ef8220bcddac4303a4b6ef1c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon May 12 01:52:51 2025 +0200

    hurd: Make rename refuse trailing slashes [BZ #32570]

    As tested by Gnulib's renameatu module.

    Reported by Collin Funk on
    https://sourceware.org/bugzilla/show_bug.cgi?id=32570

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-rename.diff

5 months agogit-symlink-eexist
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-symlink-eexist

commit 1eb32c5788a59b821087f971821536a22a3b65de
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Apr 21 22:21:17 2025 +0200

    hurd: Make symlink return EEXIST on existing target directory

    The gnulib testsuite does not recognize ENOTDIR for such a situation,
    and this error is indeed more comprehensible to users.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-symlink-eexist.diff

5 months agogit-signal-fpe-exceptions
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-signal-fpe-exceptions

===================================================================

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-signal-fpe-exceptions.diff

5 months agogit-xstate-initialized
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-xstate-initialized

commit 8d54b428cfe98c21049f94c8af3bf302e44091e9
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Apr 21 19:42:27 2025 +0200

    hurd: Do not restore xstate when it is not initialized

    If the process has never used fp before getting a signal, xstate is set
    (and thus the x87 state is not initialized) but xstate->initialized is still
    0, and we should not restore anything.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-xstate-initialized.diff

5 months agogit-utime-EINVAL
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-utime-EINVAL

commit 8a0200c833f261e8eb456bbc4f0f5449e1a5e367
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Mar 18 18:49:21 2025 +0100

    hurd: Make *utime*s catch invalid times [BZ #32802]

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-utime-EINVAL.diff

5 months agogit-xstate
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-xstate

commit 6d6a6e2dd2133908e3f5cb8a2ed817ccb2a0bb06
Author: Luca Dariz <luca@orpolo.org>
Date:   Wed Mar 19 18:11:18 2025 +0100

    hurd: save xstate during signal handling

    * hurd/Makefile: add new tests
    * hurd/test-sig-rpc-interrupted.c: check xstate save and restore in
      the case where a signal is delivered to a thread which is waiting
      for an rpc. This test implements the rpc interruption protocol used
      by the hurd servers. It was so far passing on Debian thanks to the
      local-intr-msg-clobber.diff patch, which is now obsolete.
    * hurd/test-sig-xstate.c: check xstate save and restore in the case
      where a signal is delivered to a running thread, making sure that
      the xstate is modified in the signal handler.
    * hurd/test-xstate.h: add helpers to test xstate
    * sysdeps/mach/hurd/i386/bits/sigcontext.h: add xstate to the
      sigcontext structure.
    + sysdeps/mach/hurd/i386/sigreturn.c: restore xstate from the saved
      context
    * sysdeps/mach/hurd/x86/trampoline.c: save xstate if
      supported. Otherwise we fall back to the previous behaviour of
      ignoring xstate.
    * sysdeps/mach/hurd/x86_64/bits/sigcontext.h: add xstate to the
      sigcontext structure.
    * sysdeps/mach/hurd/x86_64/sigreturn.c: restore xstate from the saved
      context

Signed-off-by: Luca Dariz <luca@orpolo.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Message-ID: <20250319171118.142163-1-luca@orpolo.org>

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-xstate.diff

5 months agogit-dup-refcnt
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-dup-refcnt

commit e150ee870907e1c5ded4aad8d22a92a98f59d243
Author: Zhaoming Luo <zhmingluo@163.com>
Date:   Mon Mar 10 16:44:09 2025 +0800

    hurd: Check return value of mach_port_mod_refs() in the dup routine of fcntl()

    Message-ID: <20250310084409.24177-1-zhmingluo@163.com>

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-dup-refcnt.diff

5 months agogit-pthread_setcancel
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-pthread_setcancel

commit bfb2f2f481147da54237ade3266f2586a51d43c9
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Mar 15 15:23:42 2025 +0000

    htl: Make pthread_setcanceltype / state a cancellation point

    as expected by tst-cancel32.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_setcancel.diff

5 months agogit-rt-timedwait-realtime
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-rt-timedwait-realtime

commit 5293b5ec02706bad449ea5eccd0058257a369638
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 9 22:25:14 2025 +0100

    aio_suspend64: Fix clock discrepancy [BZ #32795]

    cc5d5852c65e ("y2038: Convert aio_suspend to support 64 bit time")
    switched from __clock_gettime (CLOCK_REALTIME, &now); to __clock_gettime64
    (CLOCK_MONOTONIC, &ts);, but pthread_cond_timedwait is based on the
    absolute realtime clock, so migrate to using pthread_cond_clockwait to
    select CLOCK_MONOTONIC. Also fix AIO_MISC_WAIT into passing
    CLOCK_MONOTONIC to __futex_abstimed_wait64.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-rt-timedwait-realtime.diff

5 months agogit-pthread_sigmask_nothread
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-pthread_sigmask_nothread

Upstream 2.42 has a much more involved cleanup fix which in the end
boils down to this.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_sigmask_nothread.diff

5 months agogit-mig-strncpy
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-mig-strncpy

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>

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-mig-strncpy.diff

5 months agogit-proc_reauth
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-proc_reauth

===================================================================

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-proc_reauth.diff

5 months agoLie about futex_atomic_cmpxchg_inatomic kernel support.
Adam Conrad [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
Lie about futex_atomic_cmpxchg_inatomic kernel support.

Bug-Ubuntu: https://launchpad.net/bugs/1436162
Bug-Debian: https://bugs.debian.org/788799
Last-Update: 2015-03-25

In past versions of glibc, we incorrectly assumed all ARM kernels
in all configurations supported futex_atomic_cmpxchg_inatomic. This
was clearly a lie, however it was a lie that we relied on, because
the fallback implementation appears to not play nicely with certain
applications like pulseaudio.  Restore the lie for kernels > 2.6.32
and plug our ears and scream "LA LA LA" about how wrong this is.

Gbp-Pq: Topic arm
Gbp-Pq: Name local-arm-futex.diff

5 months agounsubmitted-ldso-multilib
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
unsubmitted-ldso-multilib

Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff

5 months agolocal-sigaction
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-sigaction

Gbp-Pq: Topic arm
Gbp-Pq: Name local-sigaction.diff

5 months agosubmitted-makecontext
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-makecontext

2018-03-01  Aurelien Jarno  <aurelien@aurel32.net>

[BZ #22910]
* sysdeps/unix/sysv/linux/alpha/setcontext.S (__startcontext): Set
up CFI directive to forbid further backtracing.

Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-makecontext.diff

5 months agosubmitted-fts64
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-fts64

2016-03-22  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/alpha/fts.c: New file.
* sysdeps/unix/sysv/linux/alpha/fts64.c: New file.

Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-fts64.diff

5 months agosubmitted-dl-support
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-dl-support

older versions of glibc would build dl-sysdep as shared-only and dl-support as
static-only.  alpha hooks in a cache variable via dl-auxv.h.  newer versions of
glibc build dl-sysdep as both shared and static which means we now have symbol
duplication for static builds with dl-sysdep and dl-support.  since dl-sysdep
is both shared/static, there is no point in hooking dl-support anymore, so we
can punt it.

Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-dl-support.diff

5 months agolocal-gcc4.1
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
local-gcc4.1

2006-05-30  Falk Hueffner <falk@debian.org>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: force the architecture
  to ev6 in assembly code.

{standard input}: Assembler messages:
{standard input}:341: Error: macro requires $at register while noat in effect
{standard input}:374: Error: macro requires $at register while noat in effect
{standard input}:438: Error: macro requires $at register while noat in effect
{standard input}:471: Error: macro requires $at register while noat in effect
make[3]: *** [/tmp/buildd/glibc-2.3.6/build-tree/alpha-libc/misc/ioperm.o] Error 1

Hrm. gcc puts .arch ev4 into the .s, and this overrides -mev6 for as.
I cannot really think of anything better than

Gbp-Pq: Topic alpha
Gbp-Pq: Name local-gcc4.1.diff

5 months agosubmitted-es_MX-decimal_point
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
submitted-es_MX-decimal_point

2012-06-06  Aurelien Jarno  <aurelien@aurel32.net>

* locales/es_MX (LC_MONETARY): Set mon_thousands_sep to space
( ).

Gbp-Pq: Topic localedata
Gbp-Pq: Name submitted-es_MX-decimal_point.diff

5 months agotailor-iso14651_t1
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
tailor-iso14651_t1

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP:  ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP:    submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP:  ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP:    submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18

2008-08-08  Aurelien Jarno <aurel32@debian.org>

        Loosy update for glibc 2.8.

2007-05-25  Pierre Habouzit <madcoder@debian.org>

        Loosy update for glibc 2.6.

2005-01-16  Denis Barbier  <barbier@linuxfr.org>

[BZ #672]
        Replace current collation rules by including iso14651_t1 and adding
        extra rules if needed.  There should be no noticeable changes in
        sorted text. only ligatures and ignoreable characters have modified
        weights.
* locales/da_DK: Likewise.

Gbp-Pq: Topic localedata
Gbp-Pq: Name tailor-iso14651_t1.diff

5 months agolocale-zh_TW
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locale-zh_TW

See BTS #352600.
Not submitted yet.

Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-zh_TW.diff

5 months agolocale-en_DK
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locale-en_DK

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP:   This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP:   This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16

Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-en_DK.diff

5 months agolocales-fr
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locales-fr

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377  #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377  #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

Gbp-Pq: Topic localedata
Gbp-Pq: Name locales-fr.diff

5 months agofo_FO-date_fmt
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
fo_FO-date_fmt

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

Gbp-Pq: Topic localedata
Gbp-Pq: Name fo_FO-date_fmt.diff

5 months agolocale-ku_TR
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locale-ku_TR

# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP:   has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06

# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP:   has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06

Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-ku_TR.diff

5 months agolocale-eu_FR
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locale-eu_FR

# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31

# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31

Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-eu_FR.diff

5 months agosupported
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
supported

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP:   no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP:   no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10

Gbp-Pq: Topic localedata
Gbp-Pq: Name supported.diff

5 months agosort-UTF8-first
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
sort-UTF8-first

Gbp-Pq: Topic localedata
Gbp-Pq: Name sort-UTF8-first.diff

5 months agoLC_IDENTIFICATION-optional-fields
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
LC_IDENTIFICATION-optional-fields

In LC_IDENTIFICATION, audience, application and abbreviation keywords
are optional, thus do not report an error if they are not defined.

# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08

Gbp-Pq: Topic locale
Gbp-Pq: Name LC_IDENTIFICATION-optional-fields.diff

5 months agolocale-print-LANGUAGE
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
locale-print-LANGUAGE

Comments tell that LANG has to be the first value, and LC_ALL the last
one.  Thus LANGUAGE is printed between them.

# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08

Gbp-Pq: Topic locale
Gbp-Pq: Name locale-print-LANGUAGE.diff

5 months agocheck-unknown-symbols
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
check-unknown-symbols

Check for unknown symbols in collation rules.  This is useful to detect
broken locales since unknown symbols are always wrong.

This request has not been submitted upstream yet.

# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08

Gbp-Pq: Topic locale
Gbp-Pq: Name check-unknown-symbols.diff

5 months agogit-updates
GNU Libc Maintainers [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
git-updates

GIT update of https://sourceware.org/git/glibc.git/release/2.41/master from glibc-2.41

GIT update of https://sourceware.org/git/glibc.git/release/2.41/master from glibc-2.41

Gbp-Pq: Name git-updates.diff

5 months agoglibc (2.41-10) unstable; urgency=medium
Aurelien Jarno [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
glibc (2.41-10) unstable; urgency=medium

  [ Samuel Thibault ]
  * debian/testsuite-xfail-debian.mk: Update xfails.
  * debian/patches/hurd-i386/local-pthread_once.diff: Pave the way for 2.42.

  [ Helmut Grohne ]
  * Partially restore init restarting. (Closes: #1108193)

  [ Aurelien Jarno ]
  * debian/patches/git-updates.diff: update from upstream stable branch:
    - Fix sparc32 Fix argument passing to __libc_start_main
    - Fix error reporting (false negatives) in SGID tests

[dgit import unpatched glibc 2.41-10]

5 months agoImport glibc_2.41-10.debian.tar.xz
Aurelien Jarno [Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)]
Import glibc_2.41-10.debian.tar.xz

[dgit import tarball glibc 2.41-10 glibc_2.41-10.debian.tar.xz]

10 months agoImport glibc_2.41.orig.tar.xz
Aurelien Jarno [Thu, 30 Jan 2025 22:14:50 +0000 (23:14 +0100)]
Import glibc_2.41.orig.tar.xz

[dgit import orig glibc_2.41.orig.tar.xz]