glibc.git
10 years agolocal-stubs_h
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-stubs_h

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

10 years agolocal-nss-upgrade
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-libgcc-compat-abilists
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-libgcc-compat-abilists

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

10 years agolocal-libgcc-compat-ports
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-libgcc-compat-main
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-ldconfig-fsync
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-ldconfig-fsync

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

10 years agolocal-ldconfig
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-ldso-disable-hwcap
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-ld-multiarch
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-fhs-nscd
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-fhs-nscd

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

10 years agolocal-fhs-linux-paths
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-bindresvport_blacklist
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-bindresvport_blacklist

Patch from the OpenSUSE glibc

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

10 years agolocal-asserth-decls
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-rtlddir-cross
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-rtlddir-cross

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

10 years agosubmitted-po-fr-fixes
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-nis-shadow
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-nis-shadow

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

10 years agolocal-ldd
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-ru_RU
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-remove-manual
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-alias-et_EE
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-alias-et_EE

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

10 years agocvs-sparc-nearbyint
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-sparc-nearbyint

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

* sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
invalid exception for a sNaN input.
* sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
* sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
(__nearbyint_vis3): Likewise
* sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
(__nearbyintf_vis3): Likewise
* sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
* sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
* sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
Likewise.
* sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
Likewise.

Gbp-Pq: Topic sparc
Gbp-Pq: Name cvs-sparc-nearbyint.diff

10 years agosubmitted-sparc64-socketcall
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-sparcv9-target
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-sparcv9-target

# DP: Description: Optimizes the build for sparcv9
# DP: Author: Ben Collins, Aurelien Jarno
# DP: Upstream status: Debian-Specific
# DP: Status Details:
# DP: Date: July 19, 2007

Gbp-Pq: Topic sparc
Gbp-Pq: Name local-sparcv9-target.diff

10 years agolocal-fpscr_values
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-fpscr_values

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

10 years agolocal-powerpc8xx-dcbz
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-powerpc8xx-dcbz

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

10 years agosubmitted-rld_map
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agosubmitted-gcc34-seccomment
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-reloc
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-dwarf2-buildfix
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-no-execfn
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-no-execfn

AT_EXECFN is Linux specific

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

10 years agolocal-getaddrinfo-freebsd-kernel
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-getaddrinfo-freebsd-kernel

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

10 years agolocal-scripts
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-scripts

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

10 years agolocal-fbtl-depends
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-fbtl-depends

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

10 years agolocal-fbtl
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-fbtl

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

10 years agolocal-sysdeps
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-sysdeps

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

10 years agolocal-grantpt
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-grantpt

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

10 years agolocal-config_h_in
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agosubmitted-auxv
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
submitted-auxv

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

10 years agosubmitted-waitid
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
submitted-waitid

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

10 years agounsubmitted-quiet-ldconfig
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
unsubmitted-quiet-ldconfig

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

10 years agolocal-cpuid-level2
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-cpuid-level2

Gbp-Pq: Topic i386
Gbp-Pq: Name local-cpuid-level2.diff

10 years agolocal-cmov
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-biarch
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agotg-eintr
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agoImplement faccessat without AT_EACCESS flag
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agocvs-check-local-headers
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-check-local-headers

commit 94d211c87955d79fe6a74d7385bff014cfc95192
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon May 30 19:03:01 2016 +0200

    Add more hurd exception to local headers list

     * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
     include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
     i386-linux-gnu).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-check-local-headers.diff

10 years agocvs-i686-link
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-i686-link

commit 3904414a3008751ffcaf18fbe33bd34812b7bfe5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon May 30 01:24:09 2016 +0200

    hurd: fix _hurd_self_sigstate reference from ____longjmp_chk

     * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
       Use PLT entry for calling _hurd_self_sigstate.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-i686-link.diff

10 years agocvs-IPV6_PKTINFO
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-IPV6_PKTINFO

commit 2a517d91af918aecd9b603b7a09f696d774de3e6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Apr 24 17:22:57 2016 +0200

    non-linux: Apply RFC3542 obsoletion of RFC2292 macros

     RFC2292 macros were obsoleted by RFC3542, and should not be exposed
     any more. Notably since IPV6_PKTINFO has been reintroduced with a
     completely different API.

     * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
     (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
     (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
     (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
     (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
     (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
     (IPV6_RECVPKTINFO): New macro.
     (IPV6_PKTINFO): New macro.

commit d454fd21f4366fc529f83fdcd8a1113c5b49853e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Apr 24 19:24:36 2016 +0200

    non-linux: Apply RFC3542 obsoletion of RFC2292 macros

    (IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT, IPV6_RECVHOPOPTS, IPV6_HOPOPTS,
    IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, IPV6_RTHDR, IPV6_RECVDSTOPTS,
    IPV6_DSTOPTS, IPV6_RECVPATHMTU, IPV6_PATHMTU, IPV6_DONTFRAG):
    New macros.

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

10 years agocvs-gprof-tick
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-gprof-tick

commit 6f8222a1c52a9e577925b90d16b95be10ef50596
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Apr 19 23:27:27 2016 +0200

    Fix gprof timing

     * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
     frequency instead of tick length in us.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-gprof-tick.diff

10 years agocvs-auxv
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-auxv

commit 0cdc5e930a95ca2ec3f2fd9327da93a2fbaf8e97
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Apr 10 23:58:43 2016 +0200

    Fix crash on getauxval call without HAVE_AUX_VECTOR

     * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
     [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
     * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
     GLRO(dl_auxv) list.

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

10 years agolocal-versions
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-versions

We introduced them in 2.21 in Debian

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

10 years agocvs-mach-syscalls.mk
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-mach-syscalls.mk

commit c775104ac6c36d010570811c1e038ac92094e5e5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 20 19:50:58 2016 +0100

    Fix mach-syscalls.mk build

     * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-mach-syscalls.mk.diff

10 years agocvs-errnos.d
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-errnos.d

commit fe43d0f464fa97f0cb4c08f3303f6a7aadd638f9
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 20 16:44:44 2016 +0100

    hurd: Break errnos.d / libc-modules.h dependency loop

    Generating errnos.d does not actually need libc-modules.h.

    * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
    "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
    depend on libc-modules.h,

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-errnos.d.diff

10 years agocvs-c++-types
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-c++-types

commit 0e8e593d7339a477ad7fdc4664d5948f824f74d6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 20 22:16:34 2016 +0100

    hurd: Add c++-types expected result

     * sysdeps/mach/hurd/i386/c++-types.data: New file.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-c++-types.diff

10 years agocvs-open
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-open

commit 23971d2e026d0f6843db02009fd19b8a260e25d7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 20 17:56:47 2016 +0100

    hurd: Do not hide rtld symbols which need to be preempted

     * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
     and __fcntl.
     * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
     __fcntl only.
     * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
     adding attribute_hidden to __open and __fcntl.

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

10 years agocvs-pt-kill
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-pt-kill

commit 08d8159d5a960466bb9a951ecc8036baa4d74e6b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Oct 10 16:42:29 2015 +0200

    Fix pthread_kill

    * sysdeps/hurd/pt-kill.c (pthread_kill): Lock ss lock before calling
    _hurd_raise_signal. Return error returned by _hurd_raise_signal.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-pt-kill.diff

10 years agocvs-aio_sigqueue
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-aio_sigqueue

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

10 years agocvs-gai_sigqueue
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-gai_sigqueue

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

10 years agocvs-openat
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-openat

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

10 years agosubmitted-hurd-abilist
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agocvs-libpthread-sigstate
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-libpthread-sigstate

commit 6106225fdc09f013ec4f7b1d7ec82780061c8a14
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 3 04:20:02 2016 +0100

    Do not block unmaskable signals

    * sysdeps/mach/hurd/pt-sigstate.c (__pthread_sigstate): Always remove
    _SIG_CANT_MASK from blocked signals, like sigprocmask does.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-libpthread-sigstate.diff

10 years agocvs-libpthread-api
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-libpthread-api

commit f1039fbd8370797880deedf95a2aa7717e922102
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Dec 22 13:00:18 2015 +0100

    Remove __THROW* from extern inlines

    They pose more problems than they solve.

    * include/pthread/pthread.h (pthread_equal, pthread_spin_destroy,
    pthread_spin_init, pthread_spin_lock, pthread_spin_trylock,
    pthread_spin_unlock): Remove __THROW or __THROWNL attribute.

commit 907fab424120059d09aebaa083ddc0557d13f2ef
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Dec 11 17:46:36 2015 +0100

    Add throw specification to inlines

    * include/pthread/pthread.h: Add __THROW and __THROWNL specification to
    extern inlines definitions.

commit 577a738522d34a64cb3cd5bb8368c8b1a344f38e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 6 01:22:01 2015 +0100

    Add __THROW and __nonnull attributes

    * include/pthread/pthread.h: Add __THROW and __nonnull attributes to
    functions.

commit 86c3dbc6445ff1bbd72c43ce46dd9f84d80e890e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Oct 31 11:20:52 2015 +0100

    Do not use __thread as parameter name

    That is the TLS qualifier.

    * include/pthread/pthread.h (pthread_getattr_np, pthread_cancel,
    pthread_kill, pthread_getcpuclockid, pthread_getschedparam,
    pthread_setschedparam, pthread_setschedprio): Use __thr as parameter name
    instead of __thread.

commit 46211ef0b82e6db1d62021fadfdd2be8cf78e729
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Sep 22 02:54:11 2015 +0200

    Avoid exposing function prototype parameter names

        * include/pthread/pthread.h (pthread_mutex_setprioceiling): Prepend '__'
        to prio parameter name.

commit 02ca56841e7fc3d016b948b29421619408a18227
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Sep 22 02:52:13 2015 +0200

    Do not expose "noreturn" name

    * ./include/pthread/pthread.h (pthread_exit): Use __noreturn__ attribute
    instead of noreturn.

commit 40f99833334b930762f957763d9db06e2f5dc7bb
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Sep 21 00:04:15 2015 +0200

    Avoid exposing function prototype parameter names

    * include/pthread/pthread.h: Prepend '__' to parameter names.
    * sysdeps/mach/hurd/bits/pthread-np.h: Likewise.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-libpthread-api.diff

10 years agocvs-hidden
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-hidden

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

10 years agolocal-mach_print
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-mach_print

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

10 years agolocal-bootstrap
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-bootstrap

This dependency is missing, but would pose problem on Darwin

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

10 years agounsubmitted-libpthread-semaphore.h
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
unsubmitted-libpthread-semaphore.h

#===================================================================
#--- /dev/null
#+++ glibc-2.21/libpthread/sysdeps/i386/bits/semaphore.h
#@@ -0,0 +1 @@
#+#include "../../generic/bits/semaphore.h"

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name unsubmitted-libpthread-semaphore.h.diff

10 years agolibpthread_pthread_types
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
libpthread_pthread_types

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

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

10 years agounsubmitted-libc_alloca_cutoff
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
unsubmitted-libc_alloca_cutoff

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

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

10 years agocvs-revert-gnu-gnu-cleanup
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolibpthread-versions
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
libpthread-versions

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

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

10 years agoLookup the startup server through /servers/startup
David Michael [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agoMake F_RDLCK/F_WRLCK atomic
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +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

10 years agolocal-libpthread-stacksize
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
local-libpthread-stacksize

Set the default stack size to 8MiB like on Linux, to avoid surprises
with packages which assume the Linuxish default.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-libpthread-stacksize.diff

10 years agosubmitted-bind_umask2
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
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 commited, 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

10 years agoHurd: fix port leak in TLS
Richard Braun [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Hurd: fix port leak in TLS

Depending on whether the thread is the main thread or not, the threading
library can have trouble determining whether the thread reference in the
TCB is valid. The simple solution is to let the threading library
initialize the TCB, and use a temporary reference when initializing TLS.

* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary thread
reference.

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

10 years agoHurd: make sigstates hold a reference on thread ports
Richard Braun [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Hurd: make sigstates hold a reference on thread ports

This change is required in order to correctly release per-thread
resources. Directly reusing the threading library reference isn't
possible since the sigstate is also used early in the main thread,
before threading is initialized.

* hurd/hurd/signal.h (_hurd_self_sigstate): Drop thread reference after
calling _hurd_thread_sigstate.
(_hurd_critical_section_lock): Likewise.
* hurd/hurdsig.c (_hurd_thread_sigstate): Add a reference on the thread.
(_hurd_sigstate_delete): Drop thread reference.

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

10 years agoAdd futimens support
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Add futimens support

* sysdeps/mach/hurd/futimens.c: New file.

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

10 years agotg-libc_getspecific
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
tg-libc_getspecific

Drop once updated to a libpthread which doesn't define __libc_getspecific

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

10 years agopipe2
Thomas Schwinge [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
pipe2

2008-12-17  Thomas Schwinge  <tschwinge@gnu.org>

pipe2 for GNU Hurd.
* sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c.  Evolve it to
implement __pipe2.
* sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
* sysdeps/mach/hurd/kernel-features.h (__ASSUME_PIPE2): Define.

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

10 years agosocketpair_flags
Thomas Schwinge [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
socketpair_flags

2008-12-17  Thomas Schwinge  <tschwinge@gnu.org>

SOCK_CLOEXEC and SOCK_NONBLOCK for socketpair on GNU Hurd.
* sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
and SOCK_NONBLOCK.

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

10 years agosocket_flags
Thomas Schwinge [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
socket_flags

2008-12-17  Thomas Schwinge  <tschwinge@gnu.org>

SOCK_CLOEXEC and SOCK_NONBLOCK for socket on GNU Hurd.
* sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
SOCK_NONBLOCK.
* sysdeps/mach/hurd/kernel-features.h (__ASSUME_SOCK_CLOEXEC): Define.

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

10 years agounsubmitted-NO_HIDDEN
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
unsubmitted-NO_HIDDEN

hurd-i386 defines NO_HIDDEN, thus __GI_* versions are not available.

This was introduced by

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

Since Debian glibc is built with -O2, we shouldn't actually have the issue, but
we should try not to define NO_HIDDEN

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

10 years agosubmitted-path_mounted
Justus Winter [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
submitted-path_mounted

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

10 years agounsubmitted-clock_t_centiseconds
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
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

10 years agoFix poll and select POSIX compliancy details about errors
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Fix poll and select POSIX compliancy details about errors

This fixes the following:

- On error, poll must not return without polling, including EBADF, and instead
report POLLHUP/POLLERR/POLLNVAL
- Select must report EBADF if some set contains an invalid FD.

The idea is to move error management to after all select calls, in the
poll/select final treatment. The error is instead recorded in a new `error'
field, and a new SELECT_ERROR bit set.

Thanks Svante Signell for the initial version of the patch.

* hurd/hurdselect.c (SELECT_ERROR): New macro.
(_hurd_select):
- Add `error' field to `d' structures array.
- If a poll descriptor is bogus, set EBADF, but continue with a zero timeout.
- Go through the whole fd_set, not only until _hurd_dtablesize. Return EBADF
there is any bit set above _hurd_dtablesize.
- Do not request io_select on bogus descriptors (SELECT_ERROR).
- On io_select request error, record the error.
- On io_select bogus reply, use EIO error code.
- On io_select bogus or error reply, record the error.
- Do not destroy reply port for bogus FDs.
- On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the EBADF
case, or else POLLERR.
- On error, make select simulated readiness.

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

10 years agoFix timeout handling in _hurd_select
Richard Braun [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Fix timeout handling in _hurd_select

Rely on servers to implement timeouts, so that very short values (including
0) don't make mach_msg return before valid replies can be received. The
purpose of this scheme is to guarantee a full client-server round-trip,
whatever the timeout value.

This change depends on the new io_select_timeout RPC being implemented by
servers.

* hurd/Makefile (user-interfaces): Add io_reply and io_request.
* hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and <limits.h>.
(_hurd_select): Replace the call to __io_select with either __io_select_request
or __io_select_timeout_request, depending on the timeout. Count the number of
ready descriptors (replies for which at least one type bit is set). Implement
the timeout locally when there is no file descriptor.

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

10 years agoCorrection traduction « Computer bought the farm »
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
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

10 years agoFix boot with statically-linked exec server.
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Fix boot with statically-linked exec server.

* sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by oneself
when the pointer given in D is nul (as set by ext2fs).

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

10 years agoAllow unknown root directory.
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Allow unknown root directory.

To be efficient, the remap translator simply returns ports from the underlying
filesystem, and thus the root directory found through browsing '..' is the
underlying root, not the remap root. This should not be a reason for getcwd to
fail.

* sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Do
not remove the heading slash if we got an unknown root directory.
(__getcwd): Do not fail with EGRATUITOUS if we got an unknown root directory.

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

10 years agoWorkaround to add IPv6 support to getifaddrs
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
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

10 years agoFix sbrk in PIE binaries
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
Fix sbrk in PIE binaries

In PIE mode, the program gets loaded at very low address, and thus _end is very
low, just before libraries, and thus initializing the brk to it does not make
sense, since there is no room left there. Hardcode the brk to 0x8000000 for now
as a workaround.

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

10 years agotg-setitimer
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
tg-setitimer

    Fix Hurd implementation of setitimer.

    The preemptor sigcode doesn't match since the POSIX sigcode SI_TIMER is
    used when SIGALRM is sent. In addition, The inline version of
    hurd_preempt_signals doesn't update _hurdsig_preempted_set. For these
    reasons, the preemptor would be skipped by post_signal.

    * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.

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

10 years agotg-single-select-timeout
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
tg-single-select-timeout

commit fffcbbb0b5ff8864086f7b58fdbb8aa4c71943d0
Author: Richard Braun <rbraun@sceen.net>
Date:   Mon Dec 17 09:57:41 2012 +0000

    Fix _hurd_select for single fd sets

    The function attempts to optimize this case by performing one IPC system call
    with the timeout included among the parameters, but in the absence of a reply,
    it will call mach_msg again with the same timeout later, effectively doubling
    the total timeout of the select/poll call.

    Remove this optimization for the time being.

    * hurd/hurdselect.c (_hurd_select): Always call __io_select with no timeout.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-single-select-timeout.diff

10 years agotg-hurdsig-boot-fix
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
tg-hurdsig-boot-fix

2012-09-05  Richard Braun  <rbraun@sceen.net>

       * hurd/hurdsig.c (sigstate_is_global_rcv): Do not return true
       if _HURD_GLOBAL_SIGSTATE is null.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-hurdsig-boot-fix.diff

10 years agounsubmitted-gnumach.defs
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
unsubmitted-gnumach.defs

Build stubs for gnumach.defs

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name unsubmitted-gnumach.defs.diff

10 years agosubmitted-exec_filename
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
submitted-exec_filename

2.13-33 dates when this was added

TODO: _DEBIAN_ in versions however pose problem. Remove the _DEBIAN_ version
once packages are rebuilt against 2.21.

2010-08-04  Emilio Pozuelo Monfort  <pochu27@gmail.com>
* hurd/hurdexec.c (_hurd_exec): Deprecate it.
(_hurd_exec_file_name): New function.
* hurd/hurd.h (_hurd_exec): Deprecate it.
(_hurd_exec_file_name): Declare it.
* hurd/Versions: Export it.
* sysdeps/mach/hurd/execve.c: Use it.
* sysdeps/mach/hurd/fexecve.c: Likewise.
* sysdeps/mach/hurd/spawni.c: Likewise.

From d1793416cf8bf6fccd42679a8ec30b0058823ab8 Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date: Sat, 22 May 2010 18:26:29 +0200
Subject: [PATCH] Use the new file_exec_file_name RPC

Pass the file name of executable to the exec server, which it needs to
execute #!-scripts.  Currently, the exec server tries to guess the name
from argv[0] but argv[0] only contains the executable name by convention.

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

10 years agolibpthread_version
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
libpthread_version

This dates when libpthread was moved to glibc and some features were added.

2.13-31/38/39 dates when the global signal disposition call was added.
TODO: _DEBIAN_ in versions however pose problem. Remove the _DEBIAN_ version
once packages are rebuilt against 2.21.

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

10 years agot/libpthread_depends
Samuel Thibault [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
t/libpthread_depends

libpthread needs to be built before modules which need it.

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

10 years agocvs-libpthread_build
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-libpthread_build

commit 75b1f41bac0b70d9f87fbafde7cb94b9da3607c1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Aug 20 23:30:14 2015 +0200

    Fix raise.c build

    * sysdeps/generic/raise.c: Include <pthread.h> instead of non-existing
    "sig-internal.h"

commit 42889b484ae0cae466a63e13e25a117094732e75
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Aug 20 23:50:47 2015 +0200

    Drop debugging statements

    * sysdeps/generic/raise.c (raise): Do not call debug.

commit 8ffa76b6e9af0df8531278f15aa6301b1b5ba76f
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Aug 20 23:57:54 2015 +0200

    Fix raise thread-aware implementation

    * sysdeps/generic/raise.c (pthread_kill): Make ref weak.
    (raise): Only call pthread_kill when it is not NULL.  Call kill otherwise.

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

10 years agocvs-libpthread_clean2
GNU Libc Maintainers [Sun, 3 Jul 2016 19:59:34 +0000 (19:59 +0000)]
cvs-libpthread_clean2

commit 47916b2fb311a305ba31715c1e67462c7f2e1821
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Aug 20 23:27:46 2015 +0200

    Remove more unused signals implementation

    * sysdeps/generic/killpg.c: Remove file.
    * sysdeps/generic/sigaddset.c: Likewise.
    * sysdeps/generic/sigdelset.c: Likewise.
    * sysdeps/generic/sigemptyset.c: Likewise.
    * sysdeps/generic/sigfillset.c: Likewise.
    * sysdeps/generic/siginterrupt.c: Likewise.
    * sysdeps/generic/sigismember.c: Likewise.
    * sysdeps/generic/signal.c: Likewise.
    * sysdeps/generic/sigwait.c: Likewise.

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