[glibc] 01/02: complete patch for tst-rfc3484-2 and tst-rfc3484-3

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 9886ee19dcae898fff1d4d7a1d633971522ad2a5
Author: Samuel Thibault 
Date:   Thu Aug 3 00:36:50 2017 +

complete patch for tst-rfc3484-2 and tst-rfc3484-3
---
 .../patches/hurd-i386/submitted-tst-rfc3484.diff   | 62 ++
 1 file changed, 62 insertions(+)

diff --git a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff 
b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
index fca0fc2..97a42ca 100644
--- a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
+++ b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
@@ -4,6 +4,10 @@ Define missing __inet6_scopeid_pton internal function used by 
getaddrinfo
 
 * posix/tst-rfc3484.c: Include  and 
 (__inet6_scopeid_pton): New function.
+* posix/tst-rfc3484-2.c: Include  and 
+(__inet6_scopeid_pton): New function.
+* posix/tst-rfc3484-3.c: Include  and 
+(__inet6_scopeid_pton): New function.
 
 Index: glibc-2.25/posix/tst-rfc3484.c
 ===
@@ -34,3 +38,61 @@ Index: glibc-2.25/posix/tst-rfc3484.c
  #undefUSE_NSCD
  #include "../sysdeps/posix/getaddrinfo.c"
  
+Index: glibc-2.25/posix/tst-rfc3484-2.c
+===
+--- glibc-2.25.orig/posix/tst-rfc3484-2.c
 glibc-2.25/posix/tst-rfc3484-2.c
+@@ -2,6 +2,8 @@
+ #include 
+ #include 
+ #include 
++#include 
++#include 
+ 
+ /* Internal definitions used in the libc code.  */
+ #define __getservbyname_r getservbyname_r
+@@ -55,6 +57,15 @@ _res_hconf_init (void)
+ {
+ }
+ 
++int
++internal_function
++__inet6_scopeid_pton (const struct in6_addr *address, const char *scope,
++  uint32_t *result)
++{
++  *result = if_nametoindex(scope);
++  return 0;
++}
++
+ #undefUSE_NSCD
+ #include "../sysdeps/posix/getaddrinfo.c"
+ 
+Index: glibc-2.25/posix/tst-rfc3484-3.c
+===
+--- glibc-2.25.orig/posix/tst-rfc3484-3.c
 glibc-2.25/posix/tst-rfc3484-3.c
+@@ -2,6 +2,8 @@
+ #include 
+ #include 
+ #include 
++#include 
++#include 
+ 
+ /* Internal definitions used in the libc code.  */
+ #define __getservbyname_r getservbyname_r
+@@ -55,6 +57,15 @@ _res_hconf_init (void)
+ {
+ }
+ 
++int
++internal_function
++__inet6_scopeid_pton (const struct in6_addr *address, const char *scope,
++  uint32_t *result)
++{
++  *result = if_nametoindex(scope);
++  return 0;
++}
++
+ #undefUSE_NSCD
+ #include "../sysdeps/posix/getaddrinfo.c"
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 02/02: Update

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 5978633be6e5ca0d51b42b9495346250a63090c7
Author: Samuel Thibault 
Date:   Thu Aug 3 09:33:10 2017 +

Update
---
 debian/patches/hurd-i386/submitted-tst-rfc3484.diff | 17 +
 1 file changed, 17 insertions(+)

diff --git a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff 
b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
index 97a42ca..8655354 100644
--- a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
+++ b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff
@@ -96,3 +96,20 @@ Index: glibc-2.25/posix/tst-rfc3484-3.c
  #undefUSE_NSCD
  #include "../sysdeps/posix/getaddrinfo.c"
  
+Index: glibc-2.25/inet/tst-inet6_scopeid_pton.c
+===
+--- glibc-2.25.orig/inet/tst-inet6_scopeid_pton.c
 glibc-2.25/inet/tst-inet6_scopeid_pton.c
+@@ -22,6 +22,12 @@
+ #include 
+ #include 
+ #include 
++#include 
++
++#define isdigit_l(c, locale) isdigit(c)
++#define strtoull_l_internal(s, end, base, group, locale) strtoul(s, end, 
base)
++#define __if_nametoindex if_nametoindex
++#include "inet6_scopeid_pton.c"
+ 
+ /* An interface which is known to the system.  */
+ static const char *interface_name;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (84820b8 -> 5978633)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  84820b8   patches/hurd-i386/submitted-tst-rfc3484.diff: new patch
   new  9886ee1   complete patch for tst-rfc3484-2 and tst-rfc3484-3
   new  5978633   Update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../patches/hurd-i386/submitted-tst-rfc3484.diff   | 79 ++
 1 file changed, 79 insertions(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: update

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit b86a08d010b4c7edf7912ee8cf053037dbc30f11
Author: Samuel Thibault 
Date:   Thu Aug 3 11:56:50 2017 +0200

patches/hurd-i386/cvs-libpthread.diff: update
---
 debian/patches/hurd-i386/cvs-libpthread.diff | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index a32912a..fca8ec3 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 3142d0ded19ebd164d1ac90ee5850ed281812446
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ de1a908af2944e6601fb14f88933abebd02649e1
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Thu Aug 3 01:42:38 2017 +0200
+Date:   Thu Aug 3 11:52:22 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -1244,11 +1244,11 @@ index 000..c819357
 +}
 +  __mutex_unlock (&atfork_lock);
 +}
-diff --git glibc/libpthread/include/pthread.h 
glibc/libpthread/include/pthread.h
+diff --git glibc/libpthread/sysdeps/pthread/pthread.h 
glibc/libpthread/sysdeps/pthread/pthread.h
 new file mode 100644
 index 000..1d4d3c7
 --- /dev/null
-+++ glibc/libpthread/include/pthread.h
 glibc/libpthread/sysdeps/pthread/pthread.h
 @@ -0,0 +1,7 @@
 +#ifndef _PTHREAD_H
 +#include 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (5978633 -> b86a08d)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  5978633   Update
   new  b86a08d   patches/hurd-i386/cvs-libpthread.diff: update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/hurd-i386/cvs-libpthread.diff | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: testsuite-xfail-debian.mk: update for hurd-i386

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 12d4a31ed5240c8a9fe58f3a5901c25e9557c413
Author: Samuel Thibault 
Date:   Thu Aug 3 13:50:14 2017 +0200

testsuite-xfail-debian.mk: update for hurd-i386
---
 debian/changelog |  1 +
 debian/testsuite-xfail-debian.mk | 24 ++--
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d01804d..37ec2ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/cvs-libc_init_secure.diff: new patch.
   * patches/hurd-i386/cvs-libpthread.diff: update.
   * patches/hurd-i386/submitted-tst-rfc3484.diff: new patch.
+  * testsuite-xfail-debian.mk: update for hurd-i386.
 
  -- Aurelien Jarno   Wed, 02 Aug 2017 19:03:14 +0200
 
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 1a31b7f..1e2e085 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -233,14 +233,10 @@ test-xfail-POSIX2008/sys/un.h/conform = yes
 test-xfail-POSIX2008/termios.h/conform = yes
 test-xfail-POSIX/fcntl.h/conform = yes
 test-xfail-POSIX/mqueue.h/conform = yes
-test-xfail-POSIX/sched.h/conform = yes
 test-xfail-POSIX/sys/stat.h/conform = yes
-test-xfail-POSIX/time.h/conform = yes
 test-xfail-UNIX98/mqueue.h/conform = yes
-test-xfail-UNIX98/sched.h/conform = yes
 test-xfail-UNIX98/sys/stat.h/conform = yes
 test-xfail-UNIX98/termios.h/conform = yes
-test-xfail-UNIX98/time.h/conform = yes
 test-xfail-XOPEN2K8/mqueue.h/conform = yes
 test-xfail-XOPEN2K8/pthread.h/conform = yes
 test-xfail-XOPEN2K8/sys/stat.h/conform = yes
@@ -248,7 +244,6 @@ test-xfail-XOPEN2K/sys/stat.h/conform = yes
 test-xfail-XPG4/sys/resource.h/conform = yes
 test-xfail-XPG4/sys/statvfs.h/conform = yes
 test-xfail-XPG4/sys/un.h/conform = yes
-test-xfail-XPG4/time.h/conform = yes
 
 test-xfail-ISO11/assert.h/linknamespace = yes
 test-xfail-ISO11/complex.h/linknamespace = yes
@@ -702,7 +697,6 @@ test-xfail-XOPEN2K8/termios.h/conform = yes
 test-xfail-XPG3/fcntl.h/conform = yes
 test-xfail-XPG3/sys/stat.h/conform = yes
 test-xfail-XPG3/termios.h/conform = yes
-test-xfail-XPG3/time.h/conform = yes
 test-xfail-XPG4/fcntl.h/conform = yes
 test-xfail-XPG4/sys/stat.h/conform = yes
 test-xfail-XPG4/termios.h/conform = yes
@@ -720,6 +714,24 @@ test-xfail-tst-waitid = yes
 
 # seems fixed in 2.24-3?
 test-xfail-tst-secure-getenv = yes
+
+# new in 2.25
+test-xfail-POSIX2008/dlfcn.h/linknamespace = yes
+test-xfail-UNIX98/dlfcn.h/linknamespace = yes
+test-xfail-XOPEN2K/dlfcn.h/linknamespace = yes
+test-xfail-XOPEN2K8/dlfcn.h/linknamespace = yes
+test-xfail-check-installed-headers-c = yes
+test-xfail-check-installed-headers-cxx = yes
+test-xfail-tst-inet6_scopeid_pton = yes
+test-xfail-tst-posix_fallocate64 = yes
+test-xfail-test-fesetexcept-traps = yes
+test-xfail-test-ildouble = yes
+test-xfail-tst-posix_fadvise = yes
+test-xfail-tst-posix_fadvise64 = yes
+test-xfail-tst-vfork3 = yes
+test-xfail-tst-support_record_failure = yes
+test-xfail-tst-support_record_failure-2 = yes
+test-xfail-tst-wcstod-round = yes
 endif
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Bug#870614: libc6-i386 - SIGSEGV when resolving hostname and /etc/hosts contains ipv6 adresses

2017-08-03 Thread Sebastian Hüftlein
Package: libc6-i386
Version: 2.24-11+deb9u1

Using gethostbyname in a fpc 2.4 application causes a crash with the
following error:

An unhandled exception occurred at $F763F591 :
EAccessViolation : Access violation
  $F763F591


checking the gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xf7f15591 in inet_pton () from /lib32/libc.so.6
(gdb) backtrace
#0  0xf7f15591 in inet_pton () from /lib32/libc.so.6
#1  0xf7d5bec1 in ?? () from /lib32/libnss_files.so.2
#2  0xf7d5c310 in _nss_files_gethostbyname3_r () from
/lib32/libnss_files.so.2
#3  0xf7d5c8ad in _nss_files_gethostbyname_r () from
/lib32/libnss_files.so.2
#4  0xf7f0a4fc in gethostbyname_r () from /lib32/libc.so.6
#5  0xf7f09bac in gethostbyname () from /lib32/libc.so.6
#6  0x0808198c in ?? ()
#7  0x08081825 in ?? ()
#8  0x08095e47 in ?? ()
#9  0x08057a2b in ?? ()
#10 0x08054b2f in ?? ()
#11 0x08052cdd in ?? ()
#12 0x08052ab3 in ?? ()
#13 0x08052a1c in ?? ()
#14 0x08068a21 in ?? ()
#15 0x080679e4 in ?? ()
#16 0x0805c185 in ?? ()
#17 0x08053acf in ?? ()
#18 0x08052cdd in ?? ()
#19 0x08052ab3 in ?? ()
#20 0x08052a1c in ?? ()
#21 0x080494d2 in ?? ()
#22 0x08048da8 in ?? ()
#23 0xf7e29276 in __libc_start_main () from /lib32/libc.so.6
#24 0x08048302 in ?? ()


$ dpkg -s libc6-i386
Package: libc6-i386
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 11250
Maintainer: GNU Libc Maintainers 
Architecture: amd64
Source: glibc
Version: 2.24-11+deb9u1
Replaces: libc6-dev-i386
Depends: libc6 (= 2.24-11+deb9u1)
Conffiles:
 /etc/ld.so.conf.d/zz_i386-biarch-compat.conf
82fedc1c0e9655edf8debad064dca6f1
Description: GNU C Library: 32-bit shared libraries for AMD64
 This package includes shared versions of the standard C
 library and the standard math library, as well as many others.
 This is the 32bit version of the library, meant for AMD64 systems.
Homepage: http://www.gnu.org/software/libc/libc.html

$ uname -a
Linux stretch-vm 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)
x86_64 GNU/Linux



Removing the default ipv6 entires from the /etc/hosts file fixes the crash.

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 has no effect.


This seems to be a bug in libc6-i386? Older versions on Wheezy in a similar
setup are running the same binary fine, even with the /etc/hosts entries
present.


[glibc] branch glibc-2.25 updated (b86a08d -> 12d4a31)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  b86a08d   patches/hurd-i386/cvs-libpthread.diff: update
   new  12d4a31   testsuite-xfail-debian.mk: update for hurd-i386

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog |  1 +
 debian/testsuite-xfail-debian.mk | 24 ++--
 2 files changed, 19 insertions(+), 6 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: glibc: CVE-2017-12133: Use-after-free in error path in clntudp_call

2017-08-03 Thread Debian Bug Tracking System
Processing control commands:

> found -1 2.19-18+deb8u5
Bug #870648 [src:glibc] glibc: CVE-2017-12133: Use-after-free in error path in 
clntudp_call
Marked as found in versions glibc/2.19-18+deb8u5.

-- 
870648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870648
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#870648: glibc: CVE-2017-12133: Use-after-free in error path in clntudp_call

2017-08-03 Thread Salvatore Bonaccorso
Source: glibc
Version: 2.22-10
Severity: important
Tags: upstream security patch fixed-upstream
Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=21115
Control: found -1 2.19-18+deb8u5

Hi,

the following vulnerability was published for glibc.

CVE-2017-12133[0]:
Use-after-free in error path in clntudp_call

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2017-12133
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12133
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21115

Regards,
Salvatore



Bug#870650: glibc: CVE-2017-12132

2017-08-03 Thread Salvatore Bonaccorso
Source: glibc
Version: 2.24-11
Severity: important
Tags: upstream security patch fixed-upstream
Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=21361

Hi,

the following vulnerability was published for glibc.

CVE-2017-12132[0]:
| The DNS stub resolver in the GNU C Library (aka glibc or libc6) before
| version 2.26, when EDNS support is enabled, will solicit large UDP
| responses from name servers, potentially simplifying off-path DNS
| spoofing attacks due to IP fragmentation.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2017-12132
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12132
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21361

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



[glibc] 01/01: update

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit b476bb65bfcb5c1beb81588d7079dcf2623fc463
Author: Samuel Thibault 
Date:   Thu Aug 3 20:15:37 2017 +

update
---
 debian/patches/hurd-i386/tg-tls.diff | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/patches/hurd-i386/tg-tls.diff 
b/debian/patches/hurd-i386/tg-tls.diff
index 881668b..21f8e84 100644
--- a/debian/patches/hurd-i386/tg-tls.diff
+++ b/debian/patches/hurd-i386/tg-tls.diff
@@ -215,7 +215,7 @@ glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 
3151
  #endif
  
_hurd_init_dtable = d->dtable;
-@@ -193,6 +173,39 @@ init (int *data)
+@@ -193,6 +173,42 @@ init (int *data)
  ++envp;
d = (void *) ++envp;
  
@@ -249,7 +249,8 @@ glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 
3151
 +
 +  /* We need to setup TLS before starting sigthread */
 +  extern void __pthread_initialize_minimal(void);
-+  __pthread_initialize_minimal();
++  if (__pthread_initialize_minimal != NULL)
++__pthread_initialize_minimal();
 +#endif
 +
/* The user might have defined a value for this, to get more variables.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/tg2.25-tls.diff: new patch

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 185dca9754f55d8545d19a5304922a09748dad1f
Author: Samuel Thibault 
Date:   Thu Aug 3 22:20:53 2017 +0200

patches/hurd-i386/tg2.25-tls.diff: new patch
---
 debian/changelog |  1 +
 debian/patches/hurd-i386/tg2.25-tls.diff | 39 
 debian/patches/series|  1 +
 3 files changed, 41 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37ec2ab..ce00428 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/cvs-libc_init_secure.diff: new patch.
   * patches/hurd-i386/cvs-libpthread.diff: update.
   * patches/hurd-i386/submitted-tst-rfc3484.diff: new patch.
+  * patches/hurd-i386/tg2.25-tls.diff: new patch.
   * testsuite-xfail-debian.mk: update for hurd-i386.
 
  -- Aurelien Jarno   Wed, 02 Aug 2017 19:03:14 +0200
diff --git a/debian/patches/hurd-i386/tg2.25-tls.diff 
b/debian/patches/hurd-i386/tg2.25-tls.diff
new file mode 100644
index 000..abdf290
--- /dev/null
+++ b/debian/patches/hurd-i386/tg2.25-tls.diff
@@ -0,0 +1,39 @@
+From: Samuel Thibault 
+Subject: [PATCH] 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 
+
+---
+ csu/libc-start.c|2 ++
+ sysdeps/mach/hurd/i386/init-first.c |3 ++-
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+--- a/csu/libc-start.c
 b/csu/libc-start.c
+@@ -185,8 +185,10 @@ LIBC_START_MAIN (int (*main) (int, char
+   /* Perform IREL{,A} relocations.  */
+   apply_irel ();
+ 
++#ifndef __GNU__
+   /* The stack guard goes into the TCB, so initialize it early.  */
+   __libc_setup_tls ();
++#endif
+ 
+   /* Set up the stack checker's canary.  */
+   uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (_dl_random);
+--- a/sysdeps/mach/hurd/i386/init-first.c
 b/sysdeps/mach/hurd/i386/init-first.c
+@@ -197,7 +197,8 @@ init (int *data)
+   assert (d->phdrsz % sizeof (ElfW(Phdr)) == 0);
+ }
+ 
+-  /* We need to setup TLS before starting sigthread */
++  /* We need to setup TLS before starting sigthread and set stack guard.  */
++  __libc_setup_tls ();
+   extern void __pthread_initialize_minimal(void);
+   __pthread_initialize_minimal();
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 948c91a..2273e01 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -137,6 +137,7 @@ hurd-i386/tg-mlockall.diff
 hurd-i386/submitted-shm_open_pthread.diff
 hurd-i386/cvs-libc_init_secure.diff
 hurd-i386/submitted-tst-rfc3484.diff
+hurd-i386/tg2.25-tls.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: fix hook

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 13f44df58407bf01ef535ca0c00b1dfb9c2f6ffc
Author: Samuel Thibault 
Date:   Thu Aug 3 22:22:31 2017 +0200

fix hook
---
 debian/patches/hurd-i386/tg-tls.diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/hurd-i386/tg-tls.diff 
b/debian/patches/hurd-i386/tg-tls.diff
index 21f8e84..b609c8d 100644
--- a/debian/patches/hurd-i386/tg-tls.diff
+++ b/debian/patches/hurd-i386/tg-tls.diff
@@ -215,7 +215,7 @@ glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 
3151
  #endif
  
_hurd_init_dtable = d->dtable;
-@@ -193,6 +173,42 @@ init (int *data)
+@@ -193,6 +173,40 @@ init (int *data)
  ++envp;
d = (void *) ++envp;
  

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (12d4a31 -> b476bb6)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  12d4a31   testsuite-xfail-debian.mk: update for hurd-i386
   new  b476bb6   update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/hurd-i386/tg-tls.diff | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (b476bb6 -> 185dca9)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  b476bb6   update
   new  185dca9   patches/hurd-i386/tg2.25-tls.diff: new patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog |  1 +
 debian/patches/hurd-i386/tg2.25-tls.diff | 39 
 debian/patches/series|  1 +
 3 files changed, 41 insertions(+)
 create mode 100644 debian/patches/hurd-i386/tg2.25-tls.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (185dca9 -> 13f44df)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  185dca9   patches/hurd-i386/tg2.25-tls.diff: new patch
   new  13f44df   fix hook

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/hurd-i386/tg-tls.diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: Don't special-case test-ildouble on hurd-i386, it seems i386 has the same issue

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit de8a583f50dd666f0f4ccba8498b46272e082640
Author: Samuel Thibault 
Date:   Fri Aug 4 00:54:29 2017 +0200

Don't special-case test-ildouble on hurd-i386, it seems i386 has the same 
issue
---
 debian/testsuite-xfail-debian.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 1e2e085..165c4a8 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -725,7 +725,6 @@ test-xfail-check-installed-headers-cxx = yes
 test-xfail-tst-inet6_scopeid_pton = yes
 test-xfail-tst-posix_fallocate64 = yes
 test-xfail-test-fesetexcept-traps = yes
-test-xfail-test-ildouble = yes
 test-xfail-tst-posix_fadvise = yes
 test-xfail-tst-posix_fadvise64 = yes
 test-xfail-tst-vfork3 = yes

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (13f44df -> de8a583)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  13f44df   fix hook
   new  de8a583   Don't special-case test-ildouble on hurd-i386, it seems 
i386 has the same issue

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/testsuite-xfail-debian.mk | 1 -
 1 file changed, 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: testsuite-xfail-debian.mk: Update for hurd-i386

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 6bb6d32f675fe1e389c80dd6bb925a6f07091fde
Author: Samuel Thibault 
Date:   Thu Aug 3 23:41:40 2017 +

testsuite-xfail-debian.mk: Update for hurd-i386
---
 debian/testsuite-xfail-debian.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 165c4a8..b886144 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -731,6 +731,8 @@ test-xfail-tst-vfork3 = yes
 test-xfail-tst-support_record_failure = yes
 test-xfail-tst-support_record_failure-2 = yes
 test-xfail-tst-wcstod-round = yes
+test-xfail-elf/tst-env-setuid = yes
+test-xfail-elf/tst-env-setuid-tunables = yes
 endif
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (de8a583 -> 6bb6d32)

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch glibc-2.25
in repository glibc.

  from  de8a583   Don't special-case test-ildouble on hurd-i386, it seems 
i386 has the same issue
   new  6bb6d32   testsuite-xfail-debian.mk: Update for hurd-i386

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/testsuite-xfail-debian.mk | 2 ++
 1 file changed, 2 insertions(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: debian/patches/git-updates.diff: update from upstream stable branch.

2017-08-03 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch glibc-2.25
in repository glibc.

commit 0fa4b887cbc2da922ed7dd8502ba96ada3d9d82e
Author: Aurelien Jarno 
Date:   Fri Aug 4 03:16:29 2017 +0200

debian/patches/git-updates.diff: update from upstream stable branch.
---
 debian/changelog|  3 ++
 debian/patches/git-updates.diff | 71 +++--
 2 files changed, 72 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ce00428..26957f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/tg2.25-tls.diff: new patch.
   * testsuite-xfail-debian.mk: update for hurd-i386.
 
+  [ Aurelien Jarno ]
+  * debian/patches/git-updates.diff: update from upstream stable branch.
+
  -- Aurelien Jarno   Wed, 02 Aug 2017 19:03:14 +0200
 
 glibc (2.25-0experimental0) experimental; urgency=medium
diff --git a/debian/patches/git-updates.diff b/debian/patches/git-updates.diff
index cd0878b..67cfa0f 100644
--- a/debian/patches/git-updates.diff
+++ b/debian/patches/git-updates.diff
@@ -1,10 +1,18 @@
 GIT update of git://sourceware.org/git/glibc.git/release/2.25/master from 
glibc-2.25
 
 diff --git a/ChangeLog b/ChangeLog
-index f140ee67de..b70096ae6d 100644
+index f140ee67de..897a69b49f 100644
 --- a/ChangeLog
 +++ b/ChangeLog
-@@ -1,3 +1,247 @@
+@@ -1,3 +1,255 @@
++2017-08-04  Aurelien Jarno  
++
++  * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
++
++2017-08-03  Aurelien Jarno  
++
++  * stdlib/getentropy.c (getentropy): Change return type to int.
++
 +2017-04-28  Tulio Magno Quites Machado Filho  
 +
 +  [BZ #21280]
@@ -1419,6 +1427,19 @@ index f9cc80b4b5..73f7ae31cc 100755
  echo "All OK." > $logfile
  fi
  
+diff --git a/stdlib/getentropy.c b/stdlib/getentropy.c
+index a71d4cd8f5..a88bbf8de3 100644
+--- a/stdlib/getentropy.c
 b/stdlib/getentropy.c
+@@ -21,7 +21,7 @@
+ 
+ /* Write LENGTH bytes of randomness starting at BUFFER.  Return 0 on
+success and -1 on failure.  */
+-ssize_t
++int
+ getentropy (void *buffer, size_t length)
+ {
+   __set_errno (ENOSYS);
 diff --git a/string/test-memchr.c b/string/test-memchr.c
 index d62889ff8f..6431605c7e 100644
 --- a/string/test-memchr.c
@@ -2659,6 +2680,52 @@ index 339c7bb771..787b95f502 100644
/* See if we were called as a command with the executable file  \
   name as an extra leading argument. */\
  " addil   LT'_dl_skip_args,%r19\n"\
+diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps 
b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
+index cb82d3ee36..275dbbe804 100644
+--- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
 b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
+@@ -42,7 +42,7 @@ ldouble: 4
+ Function: "acosh_upward":
+ double: 1
+ idouble: 1
+-ildouble: 4
++ildouble: 5
+ ldouble: 3
+ 
+ Function: "asin":
+@@ -900,8 +900,8 @@ double: 3
+ float: 3
+ idouble: 3
+ ifloat: 3
+-ildouble: 7
+-ldouble: 7
++ildouble: 8
++ldouble: 8
+ 
+ Function: Imaginary part of "clog10_upward":
+ double: 1
+@@ -1591,8 +1591,8 @@ double: 3
+ float: 4
+ idouble: 3
+ ifloat: 4
+-ildouble: 5
+-ldouble: 5
++ildouble: 6
++ldouble: 6
+ 
+ Function: "hypot":
+ double: 1
+@@ -1743,8 +1743,8 @@ double: 3
+ float: 4
+ idouble: 3
+ ifloat: 4
+-ildouble: 5
+-ldouble: 5
++ildouble: 6
++ldouble: 6
+ 
+ Function: "log":
+ double: 1
 diff --git a/sysdeps/i386/i686/multiarch/memchr-sse2.S 
b/sysdeps/i386/i686/multiarch/memchr-sse2.S
 index 910679cfc0..e41f324a77 100644
 --- a/sysdeps/i386/i686/multiarch/memchr-sse2.S

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch glibc-2.25 updated (6bb6d32 -> 0fa4b88)

2017-08-03 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch glibc-2.25
in repository glibc.

  from  6bb6d32   testsuite-xfail-debian.mk: Update for hurd-i386
   new  0fa4b88   debian/patches/git-updates.diff: update from upstream 
stable branch.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog|  3 ++
 debian/patches/git-updates.diff | 71 +++--
 2 files changed, 72 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git