glibc.git
4 years agoUse install_root for test destination override, not DESTDIR
Adam Conrad [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
Use install_root for test destination override, not DESTDIR

Forwarded: no
Last-Update: 2020-02-08

Gbp-Pq: Topic any
Gbp-Pq: Name local-test-install.diff

4 years agoTurn off HAVE_FLOAT128 for CUDACC and ICC compilers.
Adam Conrad [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
Turn off HAVE_FLOAT128 for CUDACC and ICC compilers.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1717257
Forwarded: no
Last-Update: 2017-10-11

Gbp-Pq: Topic any
Gbp-Pq: Name local-cudacc-float128.diff

4 years agosubmitted-resolv-unaligned
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-resolv-unaligned

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-resolv-unaligned.diff

4 years agolocal-bootstrap-headers
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-bootstrap-headers

Taken from EGLIBC, r1484 + r1525

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

* Makefile (install-headers): Amend to install gnu/lib-names-$abi.h.

2014-07-30  Helmut Grohne <helmut@subdivi.de>

* With the advent of multilib gnu/stubs.h became a meta-header that
includes the correct stubs-$abi.h. So install gnu/stubs.h as usual
and install stubs-bootstrap.h as gnu/stubs-$abi.h

2007-02-20  Jim Blandy  <jimb@codesourcery.com>

* Makefile (install-headers): Preserve old behavior: depend on
$(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers
is set; otherwise, place gnu/stubs.h on the 'install-others' list.

2007-02-16  Jim Blandy  <jimb@codesourcery.com>

        * Makefile: Amend make install-headers to install everything
        necessary for building a cross-compiler.  Install gnu/stubs.h as
        part of 'install-headers', not 'install-others'.
        If install-bootstrap-headers is 'yes', install a dummy copy of
        gnu/stubs.h, instead of computing the real thing.
        * include/stubs-bootstrap.h: New file.

Gbp-Pq: Topic any
Gbp-Pq: Name local-bootstrap-headers.diff

4 years agolocal-ldconfig-ignore-ld.so
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-ldconfig-ignore-ld.so

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-ignore-ld.so.diff

4 years agounsubmitted-ldso-machine-mismatch
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
unsubmitted-ldso-machine-mismatch

Gbp-Pq: Topic any
Gbp-Pq: Name unsubmitted-ldso-machine-mismatch.diff

4 years agolocal-revert-bz13979
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-revert-bz13979

Revert:

X-Git-Tag: glibc-2.16-tps~448
X-Git-Url: http://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=05c2c9618f583ea4acd69b3fe5ae2a2922dd2ddc

Warn if user requests __FORTIFY_SOURCE but it is disabled

[BZ #13979]
        * include/features.h: Warn if user requests __FORTIFY_SOURCE
        checking but the checks are disabled for any reason.

Gbp-Pq: Topic any
Gbp-Pq: Name local-revert-bz13979.diff

4 years agolocal-disable-libnss-db
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-disable-libnss-db

Disable libnss-db as the format is not compatible with the libnss-db package, and is
architecture dependent.

Gbp-Pq: Topic any
Gbp-Pq: Name local-disable-libnss-db.diff

4 years agomake ldconfig use the built-in system paths
Steve Langasek [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff

4 years agosubmitted-nptl-invalid-td
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-nptl-invalid-td

2010-02-27  Aurelien Jarno  <aurelien@aurel32.net>

* pthreadP.h(INVALID_TD_P, INVALID_NOT_TERMINATED_TD_P): detect
NULL pointers.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-nptl-invalid-td.patch

4 years agosubmitted-bits-fcntl_h-at
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-bits-fcntl_h-at

2012-10-08  Wookey  <wookey@wookware.org>

        * include AT_* defines in sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h

2009-11-19  Aurelien Jarno  <aurelien@aurel32.net>

* io/fcntl.h: Move AT_* defines to...
* sysdeps/mach/hurd/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h: ...here.

2009-11-19  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define AT_*
constants.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define AT_*
constants.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Define AT_*
constants.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Define AT_*
constants.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define AT_*
constants.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define AT_*
constants.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-bits-fcntl_h-at.diff

4 years agosubmitted-missing-etc-hosts
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-missing-etc-hosts

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-missing-etc-hosts.diff

4 years agolocal-nss-overflow
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-nss-overflow

2009-01-12  Arthur Loiret  <aloiret@debian.org>

nss/nss_files/files-parse.c: Include <limits.h>.
(INT_FIELD): Convert field to uintmax_t and check for 32-bit overflow.
(INT_FIELD_MAYBE_NULL): Likewise.

Gbp-Pq: Topic any
Gbp-Pq: Name local-nss-overflow.diff

4 years agolocal-tcsetaddr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-tcsetaddr

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: tcsetattr sanity check on PARENB/CREAD/CSIZE for ptys
# DP: Related bugs: 218131
# DP: Author: Jeff Licquia <licquia@progeny.com>
# DP: Upstream status: [In CVS | Debian-Specific | Pending | Not submitted ]
# DP: Status Details:
# DP: Date: 2003-10-29

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: tcsetattr sanity check on PARENB/CREAD/CSIZE for ptys
# DP: Related bugs: 218131
# DP: Author: Jeff Licquia <licquia@progeny.com>
# DP: Upstream status: [In CVS | Debian-Specific | Pending | Not submitted ]
# DP: Status Details:
# DP: Date: 2003-10-29

Gbp-Pq: Topic any
Gbp-Pq: Name local-tcsetaddr.diff

4 years agolocal-stubs_h
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-stubs_h

Gbp-Pq: Topic any
Gbp-Pq: Name local-stubs_h.diff

4 years agolocal-nss-upgrade
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-nss-upgrade

# DP: This patch makes future upgrades easier. It resolves problems with
# DP: running daemons having NSS modules upgraded out from under them.

# DP: This patch makes future upgrades easier. It resolves problems with
# DP: running daemons having NSS modules upgraded out from under them.

Gbp-Pq: Topic any
Gbp-Pq: Name local-nss-upgrade.diff

4 years agolocal-ldso-disable-hwcap
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-ldso-disable-hwcap

# DP: Allow hwcap's to be disabled with the existence of a file. This
# DP: makes it easier to do upgrades with optimized (hwcap) library
# DP: packages.
# DP: Author: Rewritten by Daniel Jacobowitz <dan@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: This isn't going to be acceptable upstream, we
# DP:                 only need it because we support in-place upgrades.
# DP: Date: 2003-10-28, (Updated 2005-01-02 gotom, 2007-05-20 aurel32)

# DP: Allow hwcap's to be disabled with the existence of a file. This
# DP: makes it easier to do upgrades with optimized (hwcap) library
# DP: packages.
# DP: Author: Rewritten by Daniel Jacobowitz <dan@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: This isn't going to be acceptable upstream, we
# DP:                 only need it because we support in-place upgrades.
# DP: Date: 2003-10-28, (Updated 2005-01-02 gotom, 2007-05-20 aurel32)

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldso-disable-hwcap.diff

4 years agolocal-ld-multiarch
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-ld-multiarch

2012-05-01  Aurelien Jarno  <aurelien@aurel32.net>

* elf/Makefile(trusted-dirs.st): Fix DL_DST_LIB computation with
two level slibdir directories.

2009-09-08  Aurelien Jarno  <aurelien@aurel32.net>

* Makeconfig: add support for multiarch compat directories.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ld-multiarch.diff

4 years agolocal-fhs-nscd
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-fhs-nscd

Gbp-Pq: Topic any
Gbp-Pq: Name local-fhs-nscd.diff

4 years agolocal-fhs-linux-paths
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-fhs-linux-paths

# DP: Description: Correct linux paths for FHS
# DP: Author: Unknown
# DP: Upstream status: Debian-Specific
# DP: Status Details: GNU doesn't follow the FHS.
# DP: Date: Unknown

# DP: Description: Correct linux paths for FHS
# DP: Author: Unknown
# DP: Upstream status: Debian-Specific
# DP: Status Details: GNU doesn't follow the FHS.
# DP: Date: Unknown

Gbp-Pq: Topic any
Gbp-Pq: Name local-fhs-linux-paths.diff

4 years agolocal-asserth-decls
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-asserth-decls

# DP: Description: /usr/include/assert.h
# DP: One must be allowed to include <assert.h> multiple times with different
# DP: values for NDEBUG, so the file is not protected against multiple
# DP: inclusions.  Unfortunately this means that the declarations for
# DP: __assert_fail() and the like may occur multiple times in a compilation
# DP: unit, causing gcc to issue a batch of warnings.
# DP: I believe this can be fixed by protecting the declarations (but only
# DP: those declarations) against repetition.
# DP: Author: Jeroen T. Vermeulen <jtv@xs4all.nl>
# DP: Upstream status: Not submitted
# DP: Status Details: Plan to submit
# DP: Date: 2003-01-01

# DP: Description: /usr/include/assert.h
# DP: One must be allowed to include <assert.h> multiple times with different
# DP: values for NDEBUG, so the file is not protected against multiple
# DP: inclusions.  Unfortunately this means that the declarations for
# DP: __assert_fail() and the like may occur multiple times in a compilation
# DP: unit, causing gcc to issue a batch of warnings.
# DP: I believe this can be fixed by protecting the declarations (but only
# DP: those declarations) against repetition.
# DP: Author: Jeroen T. Vermeulen <jtv@xs4all.nl>
# DP: Upstream status: Not submitted
# DP: Status Details: Plan to submit
# DP: Date: 2003-01-01

Gbp-Pq: Topic any
Gbp-Pq: Name local-asserth-decls.diff

4 years agosubmitted-po-fr-fixes
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-po-fr-fixes

2021-09-14  Aurelien Jarno  <aurelien@aurel32.net>

* po/fr.po: Fix French translation of short options.

2014-05-05  Aurelien Jarno  <aurelien@aurel32.net>

* po/fr.po: Fix French translation of inappropriate.

Gbp-Pq: Topic all
Gbp-Pq: Name submitted-po-fr-fixes.diff

4 years agolocal-nis-shadow
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-nis-shadow

Gbp-Pq: Topic all
Gbp-Pq: Name local-nis-shadow.diff

4 years agolocal-ldd
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-ldd

2013-05-11  Aurelien Jarno  <aurelien@aurel32.net>

* elf/ldd.bash.in: Verify the dynamic linker is working before
using it.

Gbp-Pq: Topic all
Gbp-Pq: Name local-ldd.diff

4 years agolocal-ru_RU
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-ru_RU

# DP: Description: Change default charset for 'russian' locale alias
# DP: Related bugs: #62586
# DP: Dpatch author: Ben Collins
# DP: Patch author: Alistair McKinstry
# DP: Upstream status: Submitted
# DP: Status Details: http://sources.redhat.com/bugzilla/show_bug.cgi?id=120
# DP: Date: 2002-03-10

# DP: Description: Change default charset for 'russian' locale alias
# DP: Related bugs: #62586
# DP: Dpatch author: Ben Collins
# DP: Patch author: Alistair McKinstry
# DP: Upstream status: Submitted
# DP: Status Details: http://sources.redhat.com/bugzilla/show_bug.cgi?id=120
# DP: Date: 2002-03-10

Gbp-Pq: Topic all
Gbp-Pq: Name local-ru_RU.diff

4 years agolocal-remove-manual
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-remove-manual

The GNU Libc Reference manual has to be removed for licensing reasons.
But some files have a dependency on manual/errno.texi; the easiest
solution is to drop those dependencies and make sure that MAKEINFO=:
so that no target depends on manual/*.texi files.

Gbp-Pq: Topic all
Gbp-Pq: Name local-remove-manual.diff

4 years agolocal-alias-et_EE
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-alias-et_EE

Gbp-Pq: Topic all
Gbp-Pq: Name local-alias-et_EE.diff

4 years agolocal-fpscr_values
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-fpscr_values

Gbp-Pq: Topic sh4
Gbp-Pq: Name local-fpscr_values.diff

4 years agogit-riscv64-gnu-ifunc
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-riscv64-gnu-ifunc

commit 306b8dbac917ef7f499044551df9bf051ca78fa4
Author: Vincent Chen <vincent.chen@sifive.com>
Date:   Tue Dec 15 17:16:40 2020 +0800

    riscv: Initialize $gp before resolving the IRELATIVE relocation

    The $gp register may be used to access the global variable in
    the PDE program, so the $gp register should be initialized before
    executing the IFUNC resolver of PDE program to avoid unexpected
    error occurs.

commit 963f5858750635876d849878fd1df9eac1a6cd6a
Author: Vincent Chen <vincent.chen@sifive.com>
Date:   Tue Dec 15 17:16:39 2020 +0800

    riscv: support GNU indirect function

    Enable riscv glibc to support GNU indirect function

Gbp-Pq: Topic riscv64
Gbp-Pq: Name git-riscv64-gnu-ifunc.diff

4 years agolocal-asin-acos-raise-invalid
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-asin-acos-raise-invalid

This workarounds GCC bug PR 95115 introduced in GCC 10. This is similar to
what is done in the float version.

Gbp-Pq: Topic riscv64
Gbp-Pq: Name local-asin-acos-raise-invalid.diff

4 years agolocal-powerpc8xx-dcbz
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-powerpc8xx-dcbz

Gbp-Pq: Topic powerpc
Gbp-Pq: Name local-powerpc8xx-dcbz.diff

4 years agosubmitted-rld_map
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-rld_map

2010-05-20  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): test for
RLD_MAP pointer before using it.

Gbp-Pq: Topic mips
Gbp-Pq: Name submitted-rld_map.diff

4 years agosubmitted-gcc34-seccomment
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-gcc34-seccomment

# DP: Description: Make glibc-2.3.5 compile with gcc-3.4/4.0 + binutils 2.16

# DP: Description: Make glibc-2.3.5 compile with gcc-3.4/4.0 + binutils 2.16
#    on m68k fixed by adding #APP.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Andreas Schwab <schwab@suse.de>
# DP: Upstream status: Pending
# DP: Status Details:
# DP: Date: 2005-08-03

From: Andreas Schwab <schwab@suse.de>

Gbp-Pq: Topic m68k
Gbp-Pq: Name submitted-gcc34-seccomment.diff

4 years agolocal-reloc
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-reloc

# DP: Description: binutils bug workaround
# DP: Related bugs: #263601: m68k: workaround for binutils problem
# DP: Dpatch author: Roman Zippel <zippel@linux-m68k.org>
# DP: Patch author: Richard Zidlicky <rz@linux-m68k.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: Actual fix is to modify m68k binutils.
# DP: Date: 2004-08-09

# DP: Description: binutils bug workaround
# DP: Related bugs: #263601: m68k: workaround for binutils problem
# DP: Dpatch author: Roman Zippel <zippel@linux-m68k.org>
# DP: Patch author: Richard Zidlicky <rz@linux-m68k.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: Actual fix is to modify m68k binutils.
# DP: Date: 2004-08-09

Gbp-Pq: Topic m68k
Gbp-Pq: Name local-reloc.diff

4 years agolocal-dwarf2-buildfix
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-dwarf2-buildfix

# DP: Description: Adding empty m68k framestate.c not to build for dwarf2.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: GOTO Masanori <gotom@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind.
# DP: This patch adds empty framestate.c for m68k to avoid
# DP: dwarf2 build failure.
# DP: Date: 2003-07-19 (Update 2005-03-16 gotom)

# DP: Description: Adding empty m68k framestate.c not to build for dwarf2.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: GOTO Masanori <gotom@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind.
# DP: This patch adds empty framestate.c for m68k to avoid
# DP: dwarf2 build failure.
# DP: Date: 2003-07-19 (Update 2005-03-16 gotom)

2005-03-16  GOTO Masanori  <gotom@debian.org>

* sysdeps/m68k/unwind-pe.c: Update to fix compilation failure.

2003-07-19  GOTO Masanori  <gotom@debian.org>

* sysdeps/m68k/framestate.c: Add to fix compilation failure
with sjlj exception, suggested by Philip Blundell.

Gbp-Pq: Topic m68k
Gbp-Pq: Name local-dwarf2-buildfix.diff

4 years agolocal-no-execfn
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-no-execfn

AT_EXECFN is Linux specific

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-no-execfn.diff

4 years agolocal-getaddrinfo-freebsd-kernel
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-getaddrinfo-freebsd-kernel

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-getaddrinfo-freebsd-kernel.diff

4 years agolocal-scripts
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-scripts

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-scripts.diff

4 years agolocal-fbtl-depends
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-fbtl-depends

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-fbtl-depends.diff

4 years agolocal-fbtl
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-fbtl

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-fbtl.diff

4 years agolocal-sysdeps
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-sysdeps

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-sysdeps.diff

4 years agolocal-grantpt
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-grantpt

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-grantpt.diff

4 years agolocal-config_h_in
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-config_h_in

2009-05-23  Aurelien Jarno <aurelien@aurel32.net>

* config.h.in (__KFREEBSD_KERNEL_VERSION): Add.

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-config_h_in.patch

4 years agosubmitted-auxv
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-auxv

https://sourceware.org/bugzilla/show_bug.cgi?id=15794

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name submitted-auxv.diff

4 years agosubmitted-waitid
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-waitid

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name submitted-waitid.diff

4 years agolocal-setcontext-revert-eax-ecx-edx
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-setcontext-revert-eax-ecx-edx

Revert upstream commit 15eab1e3e891 ("i386: Don't unnecessarily save and

Revert upstream commit 15eab1e3e891 ("i386: Don't unnecessarily save and
restore EAX, ECX and EDX [BZ# 25262]"). It breaks libunwind8.

Gbp-Pq: Topic i386
Gbp-Pq: Name local-setcontext-revert-eax-ecx-edx.patch

4 years agounsubmitted-quiet-ldconfig
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
unsubmitted-quiet-ldconfig

Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff

4 years agolocal-biarch
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-biarch

# DP: Description: Allow ldconfig to work on i386/x86-64 biarch systems
# DP: Related bugs:
# DP: Dpatch author: Daniel Jacobowitz
# DP: Patch author: Daniel Jacobowitz
# DP: Upstream status: Debian-Specific
# DP: Status Details: based on Ubuntu change by Jeff Bailey
# DP: Date: 2005-10-13

# DP: Description: Allow ldconfig to work on i386/x86-64 biarch systems
# DP: Related bugs:
# DP: Dpatch author: Daniel Jacobowitz
# DP: Patch author: Daniel Jacobowitz
# DP: Upstream status: Debian-Specific
# DP: Status Details: based on Ubuntu change by Jeff Bailey
# DP: Date: 2005-10-13

Gbp-Pq: Topic i386
Gbp-Pq: Name local-biarch.diff

4 years agolocal-stack_chk_guard
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-stack_chk_guard

Fix compatibility with binaries that reference __stack_chk_guard
TODO: find where these references are coming from.

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

4 years agoproc_reauth
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
proc_reauth

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

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

4 years agolocal-tls-ie-align
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-tls-ie-align

The elf/tst-tls-ie* tests try to load modules with 8-byte-aligned TLS data that
will get allocated in the static TLS area, so we need at least 8-byte alignment.
8-byte alignment requirement is not that uncommon on i386 anyway.

And upstream happens to have 32-byte alignment from
0c76fc3c2b34 ('Linux: Perform rseq registration at C startup and thread
creation') which just rounds up max_align to 32 anyway.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-tls-ie-align.diff

4 years agolocal-exec_filename
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-exec_filename

Keep compatibility with experimental implementation

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

4 years agolocal-no_unsupported_ioctls
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years ago[PATCH] XXX: make libc_rwlock recursive
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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

4 years agolocal-mach_print
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-mach_print

TODO: glibc 2.32 will provide it. Once it is uploaded, rebuild binaries

which might be referencing the 2.21-versioned symbol, and drop this
patch.

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

4 years agotg-bootstrap
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
tg-bootstrap

This dependency is missing, but would pose problem on Darwin

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

4 years agosubmitted-bind_umask2
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years agosubmitted-path_mounted
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years agounsubmitted-clock_t_centiseconds
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years ago[PATCH] t/EGREGIOUS-fr
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[PATCH] t/EGREGIOUS-fr

Fix grammar in french translation for EGREGIOUS

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

4 years ago[PATCH] Correction traduction « Computer bought the farm »
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[PATCH] Correction traduction « Computer bought the farm »

* po/fr.po: Fix EIEIO french translation.

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

4 years ago[PATCH] Workaround to add IPv6 support to getifaddrs
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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

4 years agolocal-usr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-usr

Upstream uses prefix= while we use prefix=/usr

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

4 years ago[PATCH] t/hooks
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[PATCH] t/hooks

Add link rules to sort hooks, otherwise they are not properly recorded

2012-04-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * Makerules (shlib.lds): Add hurd hooks sorting rules.

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

4 years agolocal-madvise_warn
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years agolocal-ED
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years ago[PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd.
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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

4 years ago[PATCH] hurd: SCM_CREDS support
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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.

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

4 years agolocal-disable-ioctls
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years ago[PATCH] The critical section lock _can_ be held in these place.
Samuel Thibault [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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

4 years ago[PATCH] Implement SysV shared memory for GNU/Hurd.
Marcus Brinkmann [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[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

4 years agolocal-enable-ldconfig
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
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

4 years agogit-msync
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-msync

commit 60dfb30976761c9b20a22f18356e0c3e581f5394
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Aug 31 19:41:02 2021 +0200

    hurd msync: Drop bogus test

    MS_SYNC is actually 0, so we cannot test that both MS_SYNC and MS_ASYNC
    are set.

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

4 years agogit-get_errlist
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-get_errlist

Committed for 2.35

commit 5eb3e2c794c3fdd553833af5342740051221479c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Aug 23 19:06:49 2021 +0200

    hurd: Fix errlist error mapping

    On the Hurd, the errno values don't start at 0, so _sys_errlist_internal
    needs index remapping. The _sys_errlist_internal definition already properly
    uses ERR_MAP, but __get_errlist and __get_errname were not.

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

4 years agogit-AT_NO_AUTOMOUNT
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-AT_NO_AUTOMOUNT

Committed for glibc 2.35

commit 13710e7e6af6c8965cc9a63a0660cb4ce1966557
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Aug 10 17:16:54 2021 +0200

    hurd: Add support for AT_NO_AUTOMOUNT

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

4 years agogit-drop-rmh
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-drop-rmh

Committed for 2.35

commit cbb2aa337bc3a5f1cb9936781c3a7f5036d4262e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Aug 16 11:20:38 2021 +0200

    hurd: Drop fmh kludge

    Gnumach's 0650a4ee30e3 implements support for high bits being set in the
    mask parameter of vm_map. This allows to remove the fmh kludge that was
    masking away the address range by mapping a dumb area there.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-drop-rmh.diff

4 years agogit-eintr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-eintr

Committed for glibc 2.34

commit 1ecc5307a84d34c25dc026aec02d9276cd569561
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Mar 22 22:44:36 2021 +0100

    hurd: handle EINTR during critical sections

    During critical sections, signal handling is deferred and thus RPCs return
    EINTR, even if SA_RESTART is set. We thus have to restart the whole critical
    section in that case.

    This also adds HURD_CRITICAL_UNLOCK in the cases where one wants to
    break the section in the middle.

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

4 years agogit-tiocflush
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-tiocflush

Committed for 2.34

commit 36231bee7ab36d59dd121ea85b91411ae86945f3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 1 19:39:48 2021 +0100

    hurd TIOCFLUSH: Cope BSD 4.1 semantic

    BSD 4.1 did not have an argument for TIOCFLUSH, BSD 4.2 added it. There
    are still a lot of applications out there that pass a NULL argument to
    TIOCFLUSH, so we should rather cope with it.

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

4 years agogit-ELF_MACHINE_USER_ADDRESS_MASK
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-ELF_MACHINE_USER_ADDRESS_MASK

Committed for 2.33

commit 407765e9f24f5a82f318a9e069a977710ac99ee0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 20 01:47:47 2020 +0100

    hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value

    x86 binaries are linked at 0x08000000, so we need to let them get mapped
    there.

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

4 years agogit-mmap_addr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-mmap_addr

Committed for 2.33

commit b47b07c92d82df497ad4e3abebfdab51be5d0546
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jan 4 20:22:59 2021 +0100

    hurd: Fix mmap(!MAP_FIXED) on bogus address

    In the !MAP_FIXED case, when a bogus address is given mmap should pick up a
    valide address rather than returning EINVAL: Posix only talks about
    EINVAL for the MAP_FIXED case.

    This fixes long-running ghc processes.

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

4 years agogit-hurd-version
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-hurd-version

Committed for 2.33

commit 016c64236dee6e28f09c10ba38f274aad7205f95
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Dec 29 03:26:12 2020 +0100

    hurd: Accept including hurd/version.h

    We need it to get the RPC API version.

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

4 years agogit-waitid
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-waitid

Committed for 2.33

commit f6abd970284a06380cd9d905f43da104bd49fc95
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Dec 28 23:37:04 2020 +0100

    hurd: Add WSTOPPED/WCONTINUED/WEXITED/WNOWAIT support [BZ #23091]

    The new __proc_waitid RPC now expects WEXITED to be passed, allowing to
    properly implement waitid, and thus define the missing W* macros
    (according to FreeBSD values).

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

4 years agogit-mmap-EINVAL
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-mmap-EINVAL

Committed for 2.33

commit b74233d0092c9ee6a2faee5adb375b3151bdc99c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Dec 19 18:57:47 2020 +0100

    hurd: Also turn KERN_INVALID_ADDRESS to EINVAL

    When e.g. mmap is passed an invalid address we would return
    KERN_INVALID_ADDRESS, while POSIX applications would expect EINVAL.

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

4 years agogit-siginfo_uesp
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-siginfo_uesp

Committed for 2.33

commit e0aec6c83374286ffac44ee1b0e628894b7102e3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Dec 21 03:15:38 2020 +0100

    hurd: Make trampoline fill siginfo ss_sp from sc_uesp

    Mach actually rather fills the uesp field, not esp.

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

4 years agogit-sem-open
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-open

Submitted for 2.33

commit 257e4e7b576d54ab943d73dcda64c9a62c15b907
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 15:20:32 2020 +0000

    htl: Get sem_open/sem_close/sem_unlink support

    This just moves the existing nptl implementation to reuse as it is in
    htl.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-open.diff

4 years agogit-sem-open-init
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-open-init

Submitted for 2.33

commit e453b54b02204e0bc4a36a865ecc0c82058f4f9d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 15:18:16 2020 +0000

    pthread: Move semaphore initialization for open to semaphoreP.h

    This allows to easily reuse all of the sem_open/sem_close/sem_unlink
    implementations in the various ports.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-open-init.diff

4 years agogit-sem-pshared
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-pshared

Commited for 2.33

commit 4702ba8c1726ef5b692fbca1255b632b8e81e8c7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 15:14:40 2020 +0000

    htl: Add pshared semaphore support

    The implementation is extremely similar to the nptl implementation, but
    with slight differences in the futex interface. This fixes some of BZ
    25521.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-pshared.diff

4 years agogit-libc-open
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-libc-open

Commited for 2.33

commit a6c9f54a3471a527ff502f26e3a1c1b03ab39d6e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 13:29:25 2020 +0000

    hurd: Add __libc_open and __libc_close

    Needed by libpthread for sem_open and sem_close

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-libc-open.diff

4 years agogit-futex-internal
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-futex-internal

Commited for 2.33

commit 65e43d5ad22ff527fd534679d357245f515bf308
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 11:06:27 2020 +0000

    htl: Add futex-internal.h

    That provides futex_supports_pshared

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-futex-internal.diff

4 years agogit-lll-private
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-private

Commited for 2.33

commit bcbabb9e6c14db9f35ed83862e88a6d986fc7a69
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 13:31:22 2020 +0000

    hurd: Add LLL_PRIVATE and LLL_SHARED

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-private.diff

4 years agogit-lll-wait-intr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-wait-intr

Commited for 2.33

commit 1c3c8e342a3973fc5e1ddcba7d3e9b68dfe9a25b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 11:01:52 2020 +0000

    hurd: Add __lll_abstimed_wait_intr

    For semaphores, we need an interruptible version of low-level locks.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-wait-intr.diff

4 years agogit-ld-library-path-checks
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-ld-library-path-checks

Commited for 2.33

commit 3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Nov 13 19:37:41 2020 +0000

    Add {,sysdep-}ld-library-path make variable

    On GNU/Hurd we not only need $(common-objpfx) in LD_LIBRARY_PATH when loading
    dynamic objects, but also $(common-objpfx)/mach and $(common-objpfx)/hurd. This
    adds an ld-library-path variable to be used as LD_LIBRARY_PATH basis in
    Makefiles, and a sysdep-ld-library-path variable for sysdeps to add some
    more paths, here mach/ and hurd/.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-ld-library-path-checks.diff

4 years agogit-lll-ptr
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-ptr

Commited for 2.33

commit bec412424e949c900b01767ce32b6743bdaaac93
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 10:37:24 2020 +0000

    hurd: make lll_* take a variable instead of a ptr

    To be coherent with other ports, let's make lll_* take a variable, and
    rename those that keep taking a ptr into __lll_*.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-ptr.diff

4 years agogit-lll-initializer
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-initializer

Commited for 2.33

commit 059e60887b3244eb7ec0d764defe515fd525f513
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 13 10:16:55 2020 +0000

    hurd: Rename LLL_INITIALIZER to LLL_LOCK_INITIALIZER

    To get coherent with other ports.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-initializer.diff

4 years agogit-libpthread_plt
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-libpthread_plt

Commited for 2.33

commit 7c331116971d38e57703af4097ed13ab6bef91d0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Dec 3 12:21:47 2020 +0100

    htl: Add hidden def for __pthread_create/detach

    to avoid a PLT.

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

4 years agogit-cthreads-symbols
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-cthreads-symbols

Commited for 2.33

commit f9ba73d056721ff61160a46438fd8ebf11d9aeee
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Dec 3 10:48:27 2020 +0100

    htl: Add missing symbols

    hurd/hurdsig.c needs to detect whether __pthread_detach and
    __pthread_create are available, so they need to be exposed.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-cthreads-symbols.diff

4 years agogit-cthreads
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-cthreads

Commited for 2.33

commit 9446e02b0d2e94da4ebe9df6e2c5d23adc0f1d7d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Nov 14 23:35:35 2020 +0000

    hurd: Remove some remnants of cthreads

    Libc has actually been using mach's lock-internal.h mutex for a long
    time already.

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

4 years agogit-WAIT
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-WAIT

Committed for 2.33

commit c57fe5462ba5eb7331a223bbb7abd8ae273747c1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Nov 23 00:24:03 2020 +0000

    hurd S_msg_report_wait: Fix reporting ports

    This fixes the parameter order of MSG_EXAMINE, thus fixing the detection
    of e.g. fd ports for nicer output in ps WAIT output.

commit dba88fb3ed3e70d2ad797f447a2a894b0891a5d7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Nov 23 00:25:26 2020 +0000

    hurd S_msg_report_wait: Fix detecting fd ports

    _hurd_init_dtable stays set to non-NULL, so we have to run through both
    _hurd_init_dtable and _hurd_dtable.

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

4 years agogit-clock-cputime
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-clock-cputime

Committed for glibc 2.33

commit 5a619c1f46c49dbb9706beeb74f4a466696394fc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Oct 11 13:59:01 2020 +0000

    hurd: support clock_gettime(CLOCK_PROCESS/THREAD_CPUTIME_ID)

    * sysdeps/mach/clock_gettime.c (__clock_gettime): Add support for
    CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-clock-cputime.diff

4 years agogit-bsd4.3-ioctls
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-bsd4.3-ioctls

Committed for glibc 2.33

commit cd41ffeb0bbca641a02e1030e13ab317ce7d645c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Aug 27 13:35:58 2020 +0200

    hurd: define BSD 4.3 ioctls only under __USE_MISC

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-bsd4.3-ioctls.diff