glibc.git
8 years agoMerge version 2.25-2+rpi1 and 2.25-3 to produce 2.25-3+rpi1 archive/raspbian/2.25-3+rpi1 raspbian/2.25-3+rpi1
Raspbian forward pporter [Sat, 9 Dec 2017 01:37:57 +0000 (01:37 +0000)]
Merge version 2.25-2+rpi1 and 2.25-3 to produce 2.25-3+rpi1

8 years agoMerge glibc (2.25-3) import into refs/heads/workingbranch
Aurelien Jarno [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Merge glibc (2.25-3) import into refs/heads/workingbranch

8 years agosubmitted-ldconfig-c-collation
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-ldconfig-c-collation

Submitted upstream, won't be backported in upstream stable branches.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-ldconfig-c-collation.diff

8 years agosubmitted-intl-tstgettext
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-intl-tstgettext

2017-08-26  Aurelien Jarno  <aurelien@aurel32.net>

[BZ #21508]
* catgets/Makefile ($(objpfx)de.msg): Depend on
$(common-objpfx)intl/tst-gettext-de.po instead of $(..)po/de.po.
* intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
intl/tst-gettext-de.po from po/de.po by removing the
POT-Creation-Date line.
($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
../po/de.po.
* intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
../po/de.po.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-intl-tstgettext.diff

8 years agosubmitted-resolv-unaligned
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-resolv-unaligned

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

8 years agolocal-bits-sigstack
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-bits-sigstack

Fix stack_t header hygiene on Hurd/kFreeBSD

Done upstream in the linux version in c66b29f9cce9bf7c67d55879dff5e4cd03ecfac1.
Fixed in 2.26 in a different way.

Gbp-Pq: Topic any
Gbp-Pq: Name local-bits-sigstack.diff

8 years agocvs-malloc-hardening
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
cvs-malloc-hardening

2017-03-17  Chris Evans  <scarybeasts@gmail.com>

* malloc/malloc.c (unlink): Add consistency check between size and
next->prev->size, to further harden against 1-byte overflows.

Gbp-Pq: Topic any
Gbp-Pq: Name cvs-malloc-hardening.diff

8 years agosubmitted-unicode-9.0.0
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-unicode-9.0.0

2016-06-29  Mike FABIAN  <mfabian@redhat.com>

[BZ #20313]
* include/stdc-predef.h (__STDC_ISO_10646__): Update to
201605L, for Unicode 9.

2016-06-29  Mike FABIAN  <mfabian@redhat.com>

[BZ 20313]
* unicode-gen/Makefile (UNICODE_VERSION): Set to 9.0.0.
* unicode-gen/UnicodeData.txt: Update to Unicode 9.0.0 release.
* unicode-gen/DerivedCoreProperties.txt: Likewise.
* unicode-gen/EastAsianWidth.txt: Likewise.
* charmaps/UTF-8: Regenerate.
* locales/i18n: Regenerate.
* locales/translit_circle: Regenerate.
* locales/translit_cjk_compat: Regenerate.
* locales/translit_combining: Regenerate.
* locales/translit_compat: Regenerate.
* locales/translit_font: Regenerate.
* locales/translit_fraction: Regenerate.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-unicode-9.0.0.diff

8 years agolocal-bootstrap-headers
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-bootstrap-headers

Taken from EGLIBC, r1484 + r1525

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

8 years agolocal-libpic
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-libpic

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

8 years agolocal-dynamic-resolvconf
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-dynamic-resolvconf

Gbp-Pq: Topic any
Gbp-Pq: Name local-dynamic-resolvconf.diff

8 years agolocal-ldconfig-ignore-ld.so
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-ldconfig-ignore-ld.so

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

8 years agounsubmitted-dlopen-static-crash
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
unsubmitted-dlopen-static-crash

Gbp-Pq: Topic any
Gbp-Pq: Name unsubmitted-dlopen-static-crash.diff

8 years agounsubmitted-ldso-machine-mismatch
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
unsubmitted-ldso-machine-mismatch

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

8 years agolocal-tst-eintr1-eagain
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-tst-eintr1-eagain

2012-06-06  Jonathan Nieder  <jrnieder@gmail.com>

* nptl/tst-eintr1.c (tf1): Tolerate EAGAIN from pthread_create.

Gbp-Pq: Topic any
Gbp-Pq: Name local-tst-eintr1-eagain.diff

8 years agoWarn if user requests __FORTIFY_SOURCE but it is disabled
Roland Mc Grath [Tue, 8 May 2012 15:44:57 +0000 (17:44 +0200)]
Warn if user requests __FORTIFY_SOURCE but it is disabled

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

8 years agolocal-disable-libnss-db
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agolocal-tst-writev
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-tst-writev

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

* sysdeps/wordsize-64/tst-writev.c: include <limits.h>.

diff a/sysdeps/wordsize-64/tst-writev.c b/sysdeps/wordsize-64/tst-writev.c

Gbp-Pq: Topic any
Gbp-Pq: Name local-tst-writev.diff

8 years agolocal-ldconfig-multiarch
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-ldconfig-multiarch

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

8 years agosubmitted-string2-strcmp
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-string2-strcmp

2010-06-07  Aurelien Jarno  <aurelien@aurel32.net>

        * string/bits/string2.h (strcmp): Use __builtin_strlen instead of
strlen for values known at compile-time.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-string2-strcmp.diff

8 years agosubmitted-nptl-invalid-td
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agosubmitted-bits-fcntl_h-at
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agosubmitted-missing-etc-hosts
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-missing-etc-hosts

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

8 years agolocal-nss-overflow
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agolocal-tst-mktime2
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-tst-mktime2

Gbp-Pq: Topic any
Gbp-Pq: Name local-tst-mktime2.diff

8 years agolocal-tcsetaddr
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agolocal-stubs_h
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-stubs_h

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

8 years agolocal-nss-upgrade
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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.

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

8 years agolocal-libgcc-compat-abilists
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-libgcc-compat-abilists

Gbp-Pq: Topic any
Gbp-Pq: Name local-libgcc-compat-abilists.diff

8 years agolocal-libgcc-compat-ports
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-libgcc-compat-ports

# DP: Description: libgcc-compat symbols for mips, arm, m68k
# DP: Author: Guido Guenther, GOTO Masanori
# DP: Upstream status: Not submitted
# DP: Date: 2002-10-13, updated 2006-08-27

Gbp-Pq: Topic any
Gbp-Pq: Name local-libgcc-compat-ports.diff

8 years agolocal-libgcc-compat-main
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-libgcc-compat-main

# DP: Description: libgcc-compat symbols for i386, sparc,
#                  alpha, ia64 (derived from RedHat's), s390
# DP: Author: Guido Guenther, GOTO Masanori
# DP: Upstream status: Not submitted
# DP: Date: 2002-10-13, updated 2006-05-28

Gbp-Pq: Topic any
Gbp-Pq: Name local-libgcc-compat-main.diff

8 years agolocal-ldconfig-fsync
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-ldconfig-fsync

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

8 years agolocal-ldconfig
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-ldconfig

# DP: Make it so that a missing /etc/ld.so.conf does not cause an error
# DP: message, unless --verbose is enabled. This keeps the debian
# DP: installer from barfing during bootstrap of the system.
# DP:
# DP: Updated by gotom, the previous one seems being wrong because it supresses
# DP: _all_ warnings about "can't open configuration file". otoh, I introduce
# DP: newer patches.  it should be checked using chroot and should be contacted
# DP: to the upstream.
# DP: Date: (Updated 2005-01-02 gotom)

# previous patch.
#--- elf/ldconfig.c 2003-07-08 23:26:27.000000000 +0900
#+++ elf/ldconfig.c.debian 2003-07-08 23:29:43.000000000 +0900
#@@ -920,26 +920,24 @@
# {
#   FILE *file = NULL;
#   char *line = NULL;
#-  const char *canon;
#+  const char *canon = filename;
#   size_t len = 0;
#+  int file_fd;
#
#   if (opt_chroot)
#     {
#       canon = chroot_canon (opt_chroot, filename);
#-      if (canon)
#- file = fopen (canon, "r");
#-      else
#+      if (!canon)
#  canon = filename;
#     }
#-  else
#-    {
#-      canon = filename;
#-      file = fopen (filename, "r");
#-    }
#+
#+  if ((file_fd = open(canon, O_RDONLY | O_EXCL, 0022)) != -1)
#+    file = fdopen (file_fd, "r");
#
#   if (file == NULL)
#     {
#-      error (0, errno, _("Can't open configuration file %s"), canon);
#+      if (opt_verbose)
#+ error (0, errno, _("Can't open configuration file %s"), canon);
#       if (canon != filename)
#  free ((char *) canon);
#       return;

2004-10-25  GOTO Masanori  <gotom@debian.or.jp>

        * elf/ldconfig.c: Don't print error when default ld.so.conf
          is not existed.

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

8 years agolocal-ldso-disable-hwcap
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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)

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

8 years agolocal-ld-multiarch
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agolocal-fhs-nscd
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-fhs-nscd

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

8 years agolocal-fhs-linux-paths
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agolocal-bindresvport_blacklist
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-bindresvport_blacklist

Patch from the OpenSUSE glibc

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

8 years agolocal-asserth-decls
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agolocal-rtlddir-cross
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-rtlddir-cross

Gbp-Pq: Topic any
Gbp-Pq: Name local-rtlddir-cross.diff

8 years agosubmitted-po-fr-fixes
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-po-fr-fixes

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

8 years agolocal-nis-shadow
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-nis-shadow

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

8 years agolocal-ldd
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-ldd

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

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

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

* elf/ldd.bash.in: Always trace dynamic library dependencies
through the dynamic linker.

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

8 years agolocal-ru_RU
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agolocal-remove-manual
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agolocal-alias-et_EE
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-alias-et_EE

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

8 years agosubmitted-sparc64-socketcall
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-sparc64-socketcall

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

* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen,
setsockopt): Remove.

Gbp-Pq: Topic sparc
Gbp-Pq: Name submitted-sparc64-socketcall.diff

8 years agolocal-fpscr_values
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-fpscr_values

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

8 years agosubmitted-tst-tlsopt-powerpc
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-tst-tlsopt-powerpc

2017-07-31  Alan Modra  <amodra@gmail.com>

* sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
tst-tlsopt-powerpc.c with function name change and no test harness.
* sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
Call tls_get_addr_opt_test.
* sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
(modules-names): Add mod-tlsopt-powerpc.
(mod-tlsopt-powerpc.so-no-z-defs): Define.
(tst-tlsopt-powerpc): Depend on .so.
* sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
define.  Expand use in TLS_GD and TLS_LD.

Gbp-Pq: Topic powerpc
Gbp-Pq: Name submitted-tst-tlsopt-powerpc.diff

8 years agolocal-powerpc8xx-dcbz
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-powerpc8xx-dcbz

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

8 years agogit-syscalls5-7-unbound-stack
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-syscalls5-7-unbound-stack

2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
    Aurelien Jarno  <aurelien@aurel32.net>
    Maciej W. Rozycki  <macro@imgtec.com>

[BZ #21956]
* sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
[subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
`mips16-syscall6' and `mips16-syscall7'.
(CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
(CFLAGS-mips16-syscall7.c): Remove.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
Remove `__mips16_syscall5', `__mips16_syscall6' and
`__mips16_syscall7'.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
(__mips16_syscall0): Rename `__mips16_syscall_return' to
`__mips_syscall_return'.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
(__mips16_syscall1): Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
(__mips16_syscall2): Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
(__mips16_syscall3): Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
(__mips16_syscall4): Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
Remove.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
Remove.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
Remove.
* sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
(__mips16_syscall5): Expand to `__mips_syscall5' rather than
`__mips16_syscall5'.  Remove prototype.
(__mips16_syscall6): Expand to `__mips_syscall6' rather than
`__mips16_syscall6'.  Remove prototype.
(__mips16_syscall7): Expand to `__mips_syscall7' rather than
`__mips16_syscall7'.  Remove prototype.
(__nomips16, __mips16_syscall_return): Move to...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
(__nomips16, __mips_syscall_return): ... here.
[__mips16] (INTERNAL_SYSCALL_NCS): Rename
`__mips16_syscall_return' to `__mips_syscall_return'.
[__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
`internal_syscall##nr'.
[!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
`internal_syscall##nr'.
(FORCE_FRAME_POINTER): Remove.
(__mips_syscall5): New prototype.
(internal_syscall5): Rewrite to call `__mips_syscall5'.
(__mips_syscall6): New prototype.
(internal_syscall6): Rewrite to call `__mips_syscall6'.
(__mips_syscall7): New prototype.
(internal_syscall7): Rewrite to call `__mips_syscall7'.
* sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
* sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
* sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
* sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
(sysdep_routines): Add libc-do-syscall.
* sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
`__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.

Gbp-Pq: Topic mips
Gbp-Pq: Name git-syscalls5-7-unbound-stack.diff

8 years agosubmitted-rld_map
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agosubmitted-gcc34-seccomment
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-gcc34-seccomment

# 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

8 years agolocal-reloc
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agolocal-dwarf2-buildfix
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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)

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

8 years agolocal-no-execfn
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-no-execfn

AT_EXECFN is Linux specific

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

8 years agolocal-getaddrinfo-freebsd-kernel
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-getaddrinfo-freebsd-kernel

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

8 years agolocal-scripts
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-scripts

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

8 years agolocal-fbtl-depends
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-fbtl-depends

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

8 years agolocal-fbtl
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-fbtl

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

8 years agolocal-sysdeps
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-sysdeps

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

8 years agolocal-grantpt
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-grantpt

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

8 years agolocal-config_h_in
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agosubmitted-auxv
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-auxv

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

8 years agosubmitted-waitid
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-waitid

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

8 years agogit-ia64-crash-thread-exit
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-ia64-crash-thread-exit

2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>

[BZ #21672]
* nptl/allocatestack.c (advise_stack_range): New function.
* nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
stack non required to advise_stack_range at allocatestack.c

Gbp-Pq: Topic ia64
Gbp-Pq: Name git-ia64-crash-thread-exit.diff

8 years agounsubmitted-quiet-ldconfig
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
unsubmitted-quiet-ldconfig

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

8 years agolocal-cmov
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-cmov

# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add CMOV to hwcap, for VIA C3 which is i686 class processor,
# DP: but does not have 686 optional instruction CMOV.
# DP: Author: GOTO Masanori <gotom@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: Not submitted
# DP: Date: 2003-02-21
# DP: Updated 2003-10-12 by dan@debian.org for TLS
# DP: Updated 2004-01-02 to fix building with newer patches by jb.
# DP: Updated 2005-01-02 to fix building with newer patches by gotom.

2005-01-02  GOTO Masanori  <gotom@debian.org>

* sysdeps/i386/dl-procinfo.h: Update to add CMOV for VIA C3 chip.

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

8 years agolocal-biarch
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

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

8 years agogit-stack-protect-static
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-stack-protect-static

commit 99ee4d26dc07c3eadfbf6793db26ef9dfb1551e5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Aug 27 22:26:49 2017 +0200

    hurd: Fix static initialization with -fstack-protector-strong

    When linked statically, TLS initialization is not achieved before
    mach_init and alike, so ssp accesses to tcbhead's stack_guard would
    crash.  We can just avoid using ssp in the few functions needed before
    TLS is set up.

            * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
            CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
            CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
            CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
            * hurd/Makefile (CFLAGS-hurdstartup.o,
            CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-stack-protect-static.diff

8 years agogit-stack_chk_fail_local
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-stack_chk_fail_local

commit 97e02ad23392f929862d6a04643e7f2fd91baebc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Aug 27 22:10:17 2017 +0200

    hurd: fix build with -fstack-protector-strong

    libmachuser and libhurduser also need stack_chk_fail_local and they do not
    link against libc_nonshared.

           * mach/stack_chk_fail_local.c: New file.
           * hurd/stack_chk_fail_local.c: New file.
           * mach/Machrules ($(interface-library)-routines): Add
           stack_chk_fail_local.

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

8 years agogit-bits-sysmacros.h
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-bits-sysmacros.h

commit 2ef8d46913b10cb1cf8adddfe80ce8d1b57d4f46
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Aug 27 22:00:05 2017 +0200

    hurd: Add system-specific sysmacros.h

    * sysdeps/mach/hurd/bits/sysmacros.h: New file.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-bits-sysmacros.h.diff

8 years agolocal-nocheck-installed-headers
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-nocheck-installed-headers

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

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-nocheck-installed-headers.diff

8 years agogit-__inet6_scopeid_pton
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
git-__inet6_scopeid_pton

commit f87cc2bfba9b844da48a63441c6099342b1551c7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Aug 10 16:06:52 2017 +0200

    __inet6_scopeid_pton: Remove attribute_hidden, internal_function

    The hidden attribute was overridden by libc_hidden_proto on GNU/Linux.
    It is incorrect because the function is used from nscd.

    internal_function is not supposed to be used across DSO boundaries,
    so this commit removes it (again, due to the use in nscd).

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

8 years agoFix tls support for glibc 2.25
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Fix tls support for glibc 2.25

* csu/libc-start.c (LIBC_START_MAIN) [__GNU__]: Do not call
__libc_setup_tls.
* sysdeps/mach/hurd/i386/init-first.c (init): Call __libc_setup_tls.

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

8 years agocvs-libc_init_secure
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
cvs-libc_init_secure

commit 8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Aug 2 23:29:57 2017 +0200

    [hurd]: Add __libc_init_secure stub

    csu/libc-start.c now insists on calling __libc_init_secure, while the Hurd
    port already implements it "very early" in dl-sysdep.c and init-first.c

            * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
            function.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-libc_init_secure.diff

8 years agosubmitted-shm_open_pthread
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-shm_open_pthread

Add missing include for pthread_setcancelstate

* sysdeps/posix/shm_open.c: Include <pthread.h>.

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

8 years agolocal-no_unsupported_ioctls
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agoAdd mlockall support
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Add mlockall support

* sysdeps/mach/hurd/mlockall.c: New file
* sysdeps/mach/hurd/munlockall.c: New file

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

8 years agohurd: Handle `pid' magical lookup retry
Justus Winter [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
hurd: Handle `pid' magical lookup retry

        * hurd/lookup-retry.c: Handle `pid' magical lookup
        retry.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-magic-pid.diff

8 years agoXXX: make libc_rwlock recursive
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
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

8 years agohurd: Fix O_DIRECTORY | O_NOFOLLOW
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
hurd: Fix O_DIRECTORY | O_NOFOLLOW

Appending / to the path to be looked up makes us always follow a final
symlink, even with O_NOTRANS (since the final resolution is after the
'/').  In the O_DIRECTORY | O_NOFOLLOW case, we thus have to really open
the node and stat it, which we already do anyway, and check for
directory type.

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

8 years agohurd: Fix O_NOFOLLOW
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
hurd: Fix O_NOFOLLOW

The error code documented by POSIX for opening a symlink with O_NOFOLLOW
is ELOOP.

Also, if the translator does not expose symlink as a symlink translator but
as a S_IFLNK file, O_NOFOLLOW needs to return ELOOP too.

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

8 years agotg-libpthread-gsync-mutex
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-libpthread-gsync-mutex

commit 7343f91b7ec3487c1f0b63bfd437bb9dd82ae2a5
Author: Agustina Arzille <avarzille@riseup.net>
Date:   Mon Oct 17 00:56:58 2016 +0200

    Make pthread_mutex use gsync

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-libpthread-gsync-mutex.diff

8 years agoFix SS_ONSTACK support
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Fix SS_ONSTACK support

* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
unlocks SS and returns to the saved PC.
(__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
thread stack instead of the saved PC.

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

8 years agotg-libpthread-gsync-spin
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-libpthread-gsync-spin

commit cd7e69c545200949cfd1b3c595568556ff9a76e3
Author: Agustina Arzille <avarzille@riseup.net>
Date:   Tue Oct 18 00:20:45 2016 +0200

    Make pthread_spinlock use gsync

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-libpthread-gsync-spin.diff

8 years agot/pthread_deps
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
t/pthread_deps

libpthread needs some internal symbols to avoid exposing the plain ones

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

8 years agotg-gsync-libc
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-gsync-libc

t/gsync-libc
From: Agustina Arzille <avarzille@riseup.net>
Subject: [PATCH] Introduce gsync-based locks to glibc.

* hurd/Makefile: Add hurdlock.
* hurd/Versions: Added new entry to export the above interface.
* hurd/hurdlock.c: New file.
* hurd/hurdlock.h: New file.
* hurd/hurdpid.c: Include <lowlevellock.h>
  (_S_msg_proc_newids): Use lll_wait to synchronize.
* hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
* hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
* hurd/sysvshm.c: Include <hurdlock.h>, use integer for synchronization.
* mach/Makefile: Remove unneeded file
* mach/lock-intern.h: Use lll to implement spinlocks.
* mach/lowlevellock.h: New file
* mach/mutex-init.c: Rewrite mutex initialization.
* sysdeps/mach/Makefile: Add libmachuser as dependencies for some libs.
* sysdeps/mach/libc-lock.h: Reimplemented libc internal locks
  with lll, cleanup routines now use gcc's cleanup attribute
* sysdeps/mach/hurd/bits/errno.h: New errno values.
* sysdeps/mach/hurd/libc-lock.h: Removed file.
* sysdeps/mach/hurd/malloc-machine.h: Reimplemented malloc locks.
* sysdeps/mach/hurd/setpgid.c: (setpgid): Use gsync for synchronization.
* sysdeps/mach/hurd/setsid.c: (setsid): Likewise.

t/libc_cleanup
From: Agustina Arzille <avarzille@riseup.net>
Subject: [PATCH] Use gcc's cleanup attributes

cleanup routines now use gcc's cleanup attribute

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-gsync-libc.diff

8 years agotg-eintr
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-eintr

commit 230b85f414291ac955827aba15cfbd103ab6ebdd
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Jun 9 01:15:10 2016 +0200

    Fix pipe() call returning EINTR sometimes

    because it uses a critical section

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

8 years agohurd: take __USE_EXTERN_INLINES into account
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
hurd: take __USE_EXTERN_INLINES into account

* hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
version only if __USE_EXTERN_INLINES is defined.
* hurd/hurd/fd.h (_hurd_fd_get, _hurd_fd_error_signal, _hurd_fd_error,
__hurd_dfail, __hurd_sockfail): Likewise.
* mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
__mutex_unlock, __mutex_trylock): Likewise.
* mach/mach/mig_support.h (__mig_strncpy): Likewise.
* sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
__spin_lock_locked): Likewise.
* sysdeps/generic/machine-sp.h (__thread_stack_pointer): Likewise.
* sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
__spin_lock_locked): Likewise.

* hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
_hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
_hurd_port_set): Always declare functions, and provide inline version
only if __USE_EXTERN_INLINES is defined and _LIBC is defined and
NOT_IN_libc is not defined.
* hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
_hurd_critical_section_unlock): Likewise.
* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
* __hurd_threadvar_location): Likewise.
* hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
_hurd_userlink_clear): Likewise.

* mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.

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

8 years agoImplement faccessat without AT_EACCESS flag
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Implement faccessat without AT_EACCESS flag

* hurd/hurd/fd.h: Include <fcntl.h>
(__hurd_at_flags): New function.
* hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
with call to __hurd_at_flags.
* include/unistd.h (__faccessat): Add declaration.
* sysdeps/mach/hurd/access.c (__access): Move implementation to
__faccessat, and replace it with a call to __faccessat.
* sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
with a call to __faccessat.
* sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
(__faccessat): ... this. Move implementation of __access into it when
AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
reauthenticate_cwdir_at helper to implement AT mechanism.
(faccessat): Define weak alias.

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

8 years agolocal-versions
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-versions

We introduced them in 2.21 in Debian

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

8 years agosubmitted-hurd-abilist
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
submitted-hurd-abilist

2016-02-29  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/generic/libnsl.abilist: New file.
* sysdeps/generic/libutil.abilist: New file.
* sysdeps/mach/hurd/libhurduser.abilist: New file.
* sysdeps/mach/libmachuser.abilist: New file.

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

8 years agolocal-mach_print
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
local-mach_print

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

8 years agotg-bootstrap
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-bootstrap

This dependency is missing, but would pose problem on Darwin

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

8 years agolibpthread_pthread_types
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
libpthread_pthread_types

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

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

8 years agotg-allocalim
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
tg-allocalim

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

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

8 years agocvs-revert-gnu-gnu-cleanup
GNU Libc Maintainers [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
cvs-revert-gnu-gnu-cleanup

commit ebf27d12e602b428a316c105ed10371ed84d2d3d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Feb 11 23:27:50 2015 +0000

     revert part of ba90e05.

     * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
     into gnu-gnu, and update comment to refer to abi-tags.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-revert-gnu-gnu-cleanup.diff

8 years agoLookup the startup server through /servers/startup
David Michael [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Lookup the startup server through /servers/startup

* sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
(reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to get a
port to the startup server.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-reboot-startup.diff

8 years agoMake F_RDLCK/F_WRLCK atomic
Samuel Thibault [Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)]
Make F_RDLCK/F_WRLCK atomic

lockf(LOCK_EX) would for instance drop any existing shared lock before taking
the exclusive lock. F_RDLCK/F_WRLCK need atomic changes, so introduce and use
__LOCK_ATOM

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* misc/sys/file.h (__LOCK_ATOMIC): New macro.
* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Use __LOCK_ATOMIC along LOCK_SH and
LOCK_EX.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-WRLCK-upgrade.diff