[glibc] annotated tag debian/2.23-5 created (now a3f33b9)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to annotated tag debian/2.23-5 in repository glibc. at a3f33b9 (tag) tagging 3bfece62be04d3d7b49bb710602d42dd386dbda9 (commit) replaces debian/2.23-4 tagged by Samuel Thibault on Tue Aug 23 22:54:29 2016 +0200 - Log - glibc Debian release 2.23-5 Samuel Thibault (12): Fix recvmsg on PF_LOCAL sockets with msg_name != NULL hurd: Really fix pthread_setcancelstate aliasing libc0.3.symbols.hurd-i386: Update symbols hurd-i386/tg-sysvshm.diff: Update from topgit hurd-i386/cvs-check-local-headers.diff: Update from git hurd-i386/tg-extern_inline.diff: Fix using inlines in libc hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from libc hurd-i386/tg-gsync-libc.diff: New patch, use gsync refresh hurd-i386/tg-gsync-libc.diff: Add errno values to manual Revert "hurd-i386/tg-gsync-libc.diff: Add errno values to manual" upload --- No new revisions were added by this update. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
glibc_2.23-5_amd64.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 23 Aug 2016 21:16:41 +0200 Source: glibc Binary: libc-bin libc-dev-bin libc-l10n glibc-doc glibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mips32 libc6-dev-mips32 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-xen libc0.3-xen libc6.1-alphaev67 libc0.1-i686 libc0.3-i686 libc6-i686 Architecture: source all amd64 Version: 2.23-5 Distribution: unstable Urgency: medium Maintainer: GNU Libc Maintainers Changed-By: Samuel Thibault Description: glibc-doc - GNU C Library: Documentation glibc-source - GNU C Library: sources libc-bin - GNU C Library: Binaries libc-dev-bin - GNU C Library: Development binaries libc-l10n - GNU C Library: localization files libc0.1- GNU C Library: Shared libraries libc0.1-dbg - GNU C Library: detached debugging symbols libc0.1-dev - GNU C Library: Development Libraries and Header Files libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64 libc0.1-i686 - transitional dummy package libc0.1-pic - GNU C Library: PIC archive library libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb) libc0.3- GNU C Library: Shared libraries libc0.3-dbg - GNU C Library: detached debugging symbols libc0.3-dev - GNU C Library: Development Libraries and Header Files libc0.3-i686 - transitional dummy package libc0.3-pic - GNU C Library: PIC archive library libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb) libc0.3-xen - GNU C Library: Shared libraries [Xen version] libc6 - GNU C Library: Shared libraries libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64 libc6-dbg - GNU C Library: detached debugging symbols libc6-dev - GNU C Library: Development Libraries and Header Files libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64 libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64 libc6-dev-mips32 - GNU C Library: o32 Development Libraries for MIPS libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64 libc6-dev-s390 - GNU C Library: 32bit Development Libraries for IBM zSeries libc6-dev-sparc - GNU C Library: 32bit Development Libraries for SPARC libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC libc6-dev-x32 - GNU C Library: X32 ABI Development Libraries for AMD64 libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64 libc6-i686 - transitional dummy package libc6-mips32 - GNU C Library: o32 Shared libraries for MIPS libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64 libc6-pic - GNU C Library: PIC archive library libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64 libc6-s390 - GNU C Library: 32bit Shared libraries for IBM zSeries libc6-sparc - GNU C Library: 32bit Shared libraries for SPARC libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC libc6-udeb - GNU C Library: Shared libraries - udeb (udeb) libc6-x32 - GNU C Library: X32 ABI Shared libraries for AMD64 libc6-xen - GNU C Library: Shared libraries [Xen version] libc6.1- GNU C Library: Shared libraries libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized) libc6.1-dbg - GNU C Library: detached debugging symbols libc6.1-dev - GNU C Library: Development Libraries and Header Files libc6.1-pic - GNU C Library: PIC archive library libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb) locales- GNU C Library: National Language (locale) data [support] locales-all - GNU C Library: Precompiled locale data multiarch-support - Transitional package to ensure multiarch compatibility nscd - GNU C Library: Name Service Cache Daemon Closes: 833558 Changes: glibc (2.23-5) unstable; urgency=medium . * patches/hurd-i386/git-recvmsg.diff: New patch, fixes recvmsg on PF_LOCAL sockets with msg_name != NULL. Closes: #833558. * hurd-i386/libpthread_version.diff: Really fix pthread_setcancelstate aliasing. * libc0.3.symbols.hurd-i386: Update symbols. * hurd-i386
Bug#833558: marked as done (libc0.3: [hurd] recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST)
Your message dated Tue, 23 Aug 2016 22:53:03 + with message-id and subject line Bug#833558: fixed in glibc 2.23-5 has caused the Debian Bug report #833558, regarding libc0.3: [hurd] recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 833558: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833558 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: libc0.3 Version: 2.23-4 Severity: normal Tags: patch upstream Control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=20444 Dear Maintainer, When using recvmsg on a PF_LOCAL socket, if msg_name and msg_namelen are set, the process receives SIGLOST. This is due to glibc's recvmsg implementation assuming that the peer address returned by __socket_recv is always valid, when in fact that function returns MACH_PORT_NULL when used in combination with PF_LOCAL sockets. Passing that to __socket_whatis_address will generate SIGLOST. recvfrom is not affected, that already checks for MACH_PORT_NULL. I've attached a patch that fixes that issue for me, adding a check in the same way recvfrom does it currently. I've also reported this issue upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=20444 I've also forwarded this patch to the bug-hurd and debian-hurd mailing lists: https://lists.debian.org/debian-hurd/2016/08/msg00010.html https://lists.gnu.org/archive/html/bug-hurd/2016-08/msg00012.html Regards, Christian -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.7+git20160607-486/Hurd-0.8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages libc0.3 depends on: ii hurd-libs0.3 1:0.8.git20160522-4+b1 ii libgcc1 1:6.1.1-9 libc0.3 recommends no packages. Versions of packages libc0.3 suggests: ii debconf [debconf-2.0] 1.5.59 pn glibc-doc pn libc-l10n -- debconf information excluded Description: [hurd] recvmsg: don't try to resolve invalid address Hurd's PF_LOCAL implementation doesn't return an address when calling __recv. recvmsg wasn't catching that and tried to call __socket_whatis_address on MACH_PORT_NULL, causing Hurd to send SIGLOST to the process. Properly handle this, analogously to how recvfrom does it. Author: Christian Seiler Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20444 Last-Update: 2016-08-05 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/sysdeps/mach/hurd/recvmsg.c +++ b/sysdeps/mach/hurd/recvmsg.c @@ -202,7 +202,7 @@ __libc_recvmsg (int fd, struct msghdr *m &message->msg_flags, amount))) return __hurd_sockfail (fd, flags, err); - if (message->msg_name != NULL) + if (message->msg_name != NULL && aport != MACH_PORT_NULL) { char *buf = message->msg_name; mach_msg_type_number_t buflen = message->msg_namelen; @@ -236,6 +236,8 @@ __libc_recvmsg (int fd, struct msghdr *m if (buflen > 0) ((struct sockaddr *) message->msg_name)->sa_family = type; } + else if (message->msg_name != NULL) +message->msg_namelen = 0; __mach_port_deallocate (__mach_task_self (), aport); --- End Message --- --- Begin Message --- Source: glibc Source-Version: 2.23-5 We believe that the bug you reported is fixed in the latest version of glibc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 833...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Samuel Thibault (supplier of updated glibc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 23 Aug 2016 21:16:41 +0200 Source: glibc Binary: libc-bin libc-dev-bin libc-l10n glibc-doc glibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-pic libc0.1-ud
[glibc] branch sid updated (7463bcb -> 3bfece6)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from 7463bcb Revert "hurd-i386/tg-gsync-libc.diff: Add errno values to manual" new 3bfece6 upload 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Processing of glibc_2.23-5_amd64.changes
glibc_2.23-5_amd64.changes uploaded successfully to localhost along with the files: glibc_2.23-5.dsc glibc_2.23-5.debian.tar.xz glibc-doc_2.23-5_all.deb glibc-source_2.23-5_all.deb libc-bin-dbgsym_2.23-5_amd64.deb libc-bin_2.23-5_amd64.deb libc-dev-bin-dbgsym_2.23-5_amd64.deb libc-dev-bin_2.23-5_amd64.deb libc-l10n_2.23-5_all.deb libc6-dbg_2.23-5_amd64.deb libc6-dev-i386_2.23-5_amd64.deb libc6-dev-x32_2.23-5_amd64.deb libc6-dev_2.23-5_amd64.deb libc6-i386-dbgsym_2.23-5_amd64.deb libc6-i386_2.23-5_amd64.deb libc6-pic_2.23-5_amd64.deb libc6-udeb_2.23-5_amd64.udeb libc6-x32-dbgsym_2.23-5_amd64.deb libc6-x32_2.23-5_amd64.deb libc6_2.23-5_amd64.deb locales-all_2.23-5_amd64.deb locales_2.23-5_all.deb multiarch-support_2.23-5_amd64.deb nscd-dbgsym_2.23-5_amd64.deb nscd_2.23-5_amd64.deb Greetings, Your Debian queue daemon (running on host franck.debian.org)
[glibc] 01/01: upload
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 3bfece62be04d3d7b49bb710602d42dd386dbda9 Author: Samuel Thibault Date: Tue Aug 23 22:51:33 2016 +0200 upload --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9e3faa7..fd4119c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -glibc (2.23-5) UNRELEASED; urgency=medium +glibc (2.23-5) unstable; urgency=medium * patches/hurd-i386/git-recvmsg.diff: New patch, fixes recvmsg on PF_LOCAL sockets with msg_name != NULL. Closes: #833558. @@ -13,7 +13,7 @@ glibc (2.23-5) UNRELEASED; urgency=medium * hurd-i386/tg-gsync-libc.diff: New patch, use gsync for libc synchronization primitives. - -- Samuel Thibault Tue, 09 Aug 2016 01:45:00 +0200 + -- Samuel Thibault Tue, 23 Aug 2016 21:16:41 +0200 glibc (2.23-4) unstable; urgency=medium -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Processing of glibc_2.23-5_amd64.changes
glibc_2.23-5_amd64.changes uploaded successfully to ftp-master.debian.org along with the files: glibc_2.23-5.dsc glibc_2.23-5.debian.tar.xz glibc-doc_2.23-5_all.deb glibc-source_2.23-5_all.deb libc-bin-dbgsym_2.23-5_amd64.deb libc-bin_2.23-5_amd64.deb libc-dev-bin-dbgsym_2.23-5_amd64.deb libc-dev-bin_2.23-5_amd64.deb libc-l10n_2.23-5_all.deb libc6-dbg_2.23-5_amd64.deb libc6-dev-i386_2.23-5_amd64.deb libc6-dev-x32_2.23-5_amd64.deb libc6-dev_2.23-5_amd64.deb libc6-i386-dbgsym_2.23-5_amd64.deb libc6-i386_2.23-5_amd64.deb libc6-pic_2.23-5_amd64.deb libc6-udeb_2.23-5_amd64.udeb libc6-x32-dbgsym_2.23-5_amd64.deb libc6-x32_2.23-5_amd64.deb libc6_2.23-5_amd64.deb locales-all_2.23-5_amd64.deb locales_2.23-5_all.deb multiarch-support_2.23-5_amd64.deb nscd-dbgsym_2.23-5_amd64.deb nscd_2.23-5_amd64.deb Greetings, Your Debian queue daemon (running on host coccia.debian.org)
[glibc] branch sid updated (6076f90 -> 6bd7e65)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from 6076f90 refresh new 6bd7e65 hurd-i386/tg-gsync-libc.diff: Add errno values to manual 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-gsync-libc.diff | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch sid updated (6bd7e65 -> 7463bcb)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from 6bd7e65 hurd-i386/tg-gsync-libc.diff: Add errno values to manual new 7463bcb Revert "hurd-i386/tg-gsync-libc.diff: Add errno values to manual" 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-gsync-libc.diff | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: Revert "hurd-i386/tg-gsync-libc.diff: Add errno values to manual"
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 7463bcb04a7365edc6415b4f0b843ef1411ab9ae Author: Samuel Thibault Date: Tue Aug 23 21:17:45 2016 +0200 Revert "hurd-i386/tg-gsync-libc.diff: Add errno values to manual" This reverts commit 6bd7e65ccc78b69042230d425a18710d02306aff. There is no manual in the debian package... --- debian/patches/hurd-i386/tg-gsync-libc.diff | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/debian/patches/hurd-i386/tg-gsync-libc.diff b/debian/patches/hurd-i386/tg-gsync-libc.diff index d600dff..1263d0e 100644 --- a/debian/patches/hurd-i386/tg-gsync-libc.diff +++ b/debian/patches/hurd-i386/tg-gsync-libc.diff @@ -17,7 +17,6 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. * 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 -* manual/errno.texi: New errno values. * 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. @@ -37,7 +36,6 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. mach/lock-intern.h | 84 - mach/lowlevellock.h| 80 mach/mutex-init.c | 7 +- - manual/errno.texi | 12 ++ sysdeps/mach/Makefile | 18 +++ sysdeps/mach/libc-lock.h | 170 +++-- sysdeps/mach/hurd/bits/errno.h | 8 +- @@ -45,7 +43,7 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. sysdeps/mach/hurd/malloc-machine.h | 11 +- sysdeps/mach/hurd/setpgid.c| 10 +- sysdeps/mach/hurd/setsid.c | 10 +- - 20 files changed, 693 insertions(+), 323 deletions(-) + 19 files changed, 681 insertions(+), 323 deletions(-) Index: glibc-2.23/hurd/Makefile === @@ -806,29 +804,6 @@ Index: glibc-2.23/mach/mutex-init.c - mutex_init ((struct mutex *) lock); + *(int *)lock = LLL_INITIALIZER; } -diff --git a/manual/errno.texi b/manual/errno.texi -index 1068be3..5b400fe 100644 a/manual/errno.texi -+++ b/manual/errno.texi -@@ -993,6 +993,18 @@ the normal result is for the operations affected to complete with this - error; @pxref{Cancel AIO Operations}. - @end deftypevr - -+@comment errno.h -+@comment GNU: Owner died -+@deftypevr Macro int EOWNERDEAD -+@comment errno 120 -+@end deftypevr -+ -+@comment errno.h -+@comment GNU: State not recoverable -+@deftypevr Macro int ENOTRECOVERABLE -+@comment errno 121 -+@end deftypevr -+ - - @emph{The following error codes are defined by the Linux/i386 kernel. - They are not yet documented.} Index: glibc-2.23/sysdeps/mach/Makefile === --- glibc-2.23.orig/sysdeps/mach/Makefile -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd-i386/tg-gsync-libc.diff: Add errno values to manual
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 6bd7e65ccc78b69042230d425a18710d02306aff Author: Samuel Thibault Date: Tue Aug 23 21:16:21 2016 +0200 hurd-i386/tg-gsync-libc.diff: Add errno values to manual --- debian/patches/hurd-i386/tg-gsync-libc.diff | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/debian/patches/hurd-i386/tg-gsync-libc.diff b/debian/patches/hurd-i386/tg-gsync-libc.diff index 1263d0e..d600dff 100644 --- a/debian/patches/hurd-i386/tg-gsync-libc.diff +++ b/debian/patches/hurd-i386/tg-gsync-libc.diff @@ -17,6 +17,7 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. * 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 +* manual/errno.texi: New errno values. * 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. @@ -36,6 +37,7 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. mach/lock-intern.h | 84 - mach/lowlevellock.h| 80 mach/mutex-init.c | 7 +- + manual/errno.texi | 12 ++ sysdeps/mach/Makefile | 18 +++ sysdeps/mach/libc-lock.h | 170 +++-- sysdeps/mach/hurd/bits/errno.h | 8 +- @@ -43,7 +45,7 @@ Subject: [PATCH] Introduce gsync-based locks to glibc. sysdeps/mach/hurd/malloc-machine.h | 11 +- sysdeps/mach/hurd/setpgid.c| 10 +- sysdeps/mach/hurd/setsid.c | 10 +- - 19 files changed, 681 insertions(+), 323 deletions(-) + 20 files changed, 693 insertions(+), 323 deletions(-) Index: glibc-2.23/hurd/Makefile === @@ -804,6 +806,29 @@ Index: glibc-2.23/mach/mutex-init.c - mutex_init ((struct mutex *) lock); + *(int *)lock = LLL_INITIALIZER; } +diff --git a/manual/errno.texi b/manual/errno.texi +index 1068be3..5b400fe 100644 +--- a/manual/errno.texi b/manual/errno.texi +@@ -993,6 +993,18 @@ the normal result is for the operations affected to complete with this + error; @pxref{Cancel AIO Operations}. + @end deftypevr + ++@comment errno.h ++@comment GNU: Owner died ++@deftypevr Macro int EOWNERDEAD ++@comment errno 120 ++@end deftypevr ++ ++@comment errno.h ++@comment GNU: State not recoverable ++@deftypevr Macro int ENOTRECOVERABLE ++@comment errno 121 ++@end deftypevr ++ + + @emph{The following error codes are defined by the Linux/i386 kernel. + They are not yet documented.} Index: glibc-2.23/sysdeps/mach/Makefile === --- glibc-2.23.orig/sysdeps/mach/Makefile -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch sid updated (1f50ccd -> 6076f90)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from 1f50ccd hurd-i386/tg-gsync-libc.diff: New patch, use gsync new 6076f90 refresh 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-sigstate_thread_reference.diff | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch sid updated (404db42 -> 1f50ccd)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from 404db42 hurd-i386/cvs-check-local-headers.diff: Update from git new 4013b1b hurd-i386/tg-extern_inline.diff: Fix using inlines in libc new f8b47e0 hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from libc new 1f50ccd hurd-i386/tg-gsync-libc.diff: New patch, use gsync The 3 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 |5 + debian/patches/hurd-i386/cvs-libpthread-2.23.diff |2 +- debian/patches/hurd-i386/tg-extern_inline.diff| 166 ++- debian/patches/hurd-i386/tg-gsync-libc.diff | 1403 + debian/patches/series |1 + 5 files changed, 1517 insertions(+), 60 deletions(-) create mode 100644 debian/patches/hurd-i386/tg-gsync-libc.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: refresh
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 6076f901691ffd0e954c1cbf7de730c55cb3022d Author: Samuel Thibault Date: Tue Aug 23 20:23:02 2016 +0200 refresh --- debian/patches/hurd-i386/tg-sigstate_thread_reference.diff | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/patches/hurd-i386/tg-sigstate_thread_reference.diff b/debian/patches/hurd-i386/tg-sigstate_thread_reference.diff index f4c2a50..5f54fec 100644 --- a/debian/patches/hurd-i386/tg-sigstate_thread_reference.diff +++ b/debian/patches/hurd-i386/tg-sigstate_thread_reference.diff @@ -52,8 +52,8 @@ calling _hurd_thread_sigstate. +} return THREAD_SELF->_hurd_sigstate; } - #endif -@@ -201,11 +209,14 @@ _hurd_critical_section_lock (void) + # endif +@@ -203,11 +211,14 @@ _hurd_critical_section_lock (void) ss = THREAD_SELF->_hurd_sigstate; if (ss == NULL) { @@ -71,7 +71,7 @@ calling _hurd_thread_sigstate. if (! __spin_try_lock (&ss->critical_section_lock)) --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c -@@ -108,6 +108,8 @@ _hurd_thread_sigstate (thread_t thread) +@@ -107,6 +107,8 @@ _hurd_thread_sigstate (thread_t thread) } else { @@ -80,7 +80,7 @@ calling _hurd_thread_sigstate. /* Use the global actions as a default for new threads. */ struct hurd_sigstate *s = _hurd_global_sigstate; if (s) -@@ -121,6 +123,11 @@ _hurd_thread_sigstate (thread_t thread) +@@ -120,6 +122,11 @@ _hurd_thread_sigstate (thread_t thread) ss->next = _hurd_sigstates; _hurd_sigstates = ss; @@ -92,7 +92,7 @@ calling _hurd_thread_sigstate. } } __mutex_unlock (&_hurd_siglock); -@@ -128,8 +135,7 @@ _hurd_thread_sigstate (thread_t thread) +@@ -127,8 +134,7 @@ _hurd_thread_sigstate (thread_t thread) } /* Destroy a sigstate structure. Called by libpthread just before the -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 03/03: hurd-i386/tg-gsync-libc.diff: New patch, use gsync
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 1f50ccd82439b68e0b1867e5fe858fd13e4bddbb Author: Samuel Thibault Date: Tue Aug 23 18:08:30 2016 + hurd-i386/tg-gsync-libc.diff: New patch, use gsync for libc synchronization primitives. --- debian/changelog|2 + debian/patches/hurd-i386/tg-gsync-libc.diff | 1403 +++ debian/patches/series |1 + 3 files changed, 1406 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2649a10..9e3faa7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ glibc (2.23-5) UNRELEASED; urgency=medium * hurd-i386/tg-extern_inline.diff: Fix using inlines in libc. * hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from libc. + * hurd-i386/tg-gsync-libc.diff: New patch, use gsync for libc +synchronization primitives. -- Samuel Thibault Tue, 09 Aug 2016 01:45:00 +0200 diff --git a/debian/patches/hurd-i386/tg-gsync-libc.diff b/debian/patches/hurd-i386/tg-gsync-libc.diff new file mode 100644 index 000..1263d0e --- /dev/null +++ b/debian/patches/hurd-i386/tg-gsync-libc.diff @@ -0,0 +1,1403 @@ +From: Agustina Arzille +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 + (_S_msg_proc_newids): Use lll_wait to synchronize. +* hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock. +* hurd/setauth.c: Include , use integer for synchronization. +* hurd/sysvshm.c: Include , 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. + +--- + hurd/Makefile | 1 + + hurd/Versions | 9 ++ + hurd/hurdlock.c| 247 + + hurd/hurdlock.h| 117 ++ + hurd/hurdpid.c | 3 + + hurd/hurdsig.c | 4 +- + hurd/setauth.c | 5 +- + hurd/sysvshm.c | 3 +- + mach/Makefile | 2 +- + mach/lock-intern.h | 84 - + mach/lowlevellock.h| 80 + mach/mutex-init.c | 7 +- + sysdeps/mach/Makefile | 18 +++ + sysdeps/mach/libc-lock.h | 170 +++-- + sysdeps/mach/hurd/bits/errno.h | 8 +- + sysdeps/mach/hurd/libc-lock.h | 215 + sysdeps/mach/hurd/malloc-machine.h | 11 +- + sysdeps/mach/hurd/setpgid.c| 10 +- + sysdeps/mach/hurd/setsid.c | 10 +- + 19 files changed, 681 insertions(+), 323 deletions(-) + +Index: glibc-2.23/hurd/Makefile +=== +--- glibc-2.23.orig/hurd/Makefile glibc-2.23/hurd/Makefile +@@ -56,6 +56,7 @@ routines = hurdstartup hurdinit \ + ports-get ports-set hurdports hurdmsg \ + errno-loc \ + sysvshm \ ++ hurdlock \ + $(sig) $(dtable) $(inlines) port-cleanup report-wait xattr + sig = hurdsig hurdfault siginfo hurd-raise preempt-sig \ + trampoline longjmp-ts catch-exc exc2signal hurdkill sigunwind \ +Index: glibc-2.23/hurd/Versions +=== +--- glibc-2.23.orig/hurd/Versions glibc-2.23/hurd/Versions +@@ -161,4 +161,13 @@ libc { + cthread_keycreate; cthread_getspecific; cthread_setspecific; + __libc_getspecific; + } ++ ++ GLIBC_PRIVATE { ++# Used by other libs. ++lll_xwait; lll_timed_wait; lll_timed_xwait; ++__lll_abstimed_wait; __lll_abstimed_xwait; ++__lll_abstimed_lock; lll_robust_lock; ++__lll_robust_abstimed_lock; lll_robust_trylock; ++lll_set_wake; lll_robust_unlock; lll_requeue; ++ } + } +Index: glibc-2.23/hurd/hurdlock.c +=== +--- /dev/null glibc-2.23/hurd/hurdlock.c +@@ -0,0 +1,247 @@ ++/* Copyright (C) 1999-2016 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is
[glibc] 02/03: hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from libc
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit f8b47e0e798a20c229b4f81699c72e019282c362 Author: Samuel Thibault Date: Tue Aug 23 17:47:24 2016 + hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from libc --- debian/changelog | 2 ++ debian/patches/hurd-i386/cvs-libpthread-2.23.diff | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a8d7086..2649a10 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,8 @@ glibc (2.23-5) UNRELEASED; urgency=medium * hurd-i386/tg-sysvshm.diff: Update from topgit. * hurd-i386/cvs-check-local-headers.diff: Update from git. * hurd-i386/tg-extern_inline.diff: Fix using inlines in libc. + * hurd-i386/cvs-libpthread-2.23.diff: Fix calling pthread functions from +libc. -- Samuel Thibault Tue, 09 Aug 2016 01:45:00 +0200 diff --git a/debian/patches/hurd-i386/cvs-libpthread-2.23.diff b/debian/patches/hurd-i386/cvs-libpthread-2.23.diff index 0233387..6bdd223 100644 --- a/debian/patches/hurd-i386/cvs-libpthread-2.23.diff +++ b/debian/patches/hurd-i386/cvs-libpthread-2.23.diff @@ -269,7 +269,7 @@ +#endif + +/* Call thread functions through the function pointer table. */ -+#if defined SHARED && !defined NOT_IN_libc ++#if defined SHARED && IS_IN (libc) +# define PTFAVAIL(NAME) __libc_pthread_functions_init +# define __libc_ptf_call(FUNC, ARGS, ELSE) \ + (__libc_pthread_functions_init ? PTHFCT_CALL (ptr_##FUNC, ARGS) : ELSE) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/03: hurd-i386/tg-extern_inline.diff: Fix using inlines in libc
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 4013b1b7996622c5d1231e89285832390fe9d626 Author: Samuel Thibault Date: Tue Aug 23 17:46:39 2016 + hurd-i386/tg-extern_inline.diff: Fix using inlines in libc --- debian/changelog | 1 + debian/patches/hurd-i386/tg-extern_inline.diff | 166 - 2 files changed, 108 insertions(+), 59 deletions(-) diff --git a/debian/changelog b/debian/changelog index 37715f9..a8d7086 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ glibc (2.23-5) UNRELEASED; urgency=medium * libc0.3.symbols.hurd-i386: Update symbols. * hurd-i386/tg-sysvshm.diff: Update from topgit. * hurd-i386/cvs-check-local-headers.diff: Update from git. + * hurd-i386/tg-extern_inline.diff: Fix using inlines in libc. -- Samuel Thibault Tue, 09 Aug 2016 01:45:00 +0200 diff --git a/debian/patches/hurd-i386/tg-extern_inline.diff b/debian/patches/hurd-i386/tg-extern_inline.diff index 1a7ee99..81ffa50 100644 --- a/debian/patches/hurd-i386/tg-extern_inline.diff +++ b/debian/patches/hurd-i386/tg-extern_inline.diff @@ -22,8 +22,10 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 sysdeps/mach/i386/machine-lock.h| 12 12 files changed, 139 insertions(+), 3 deletions(-) a/hurd/hurd.h -+++ b/hurd/hurd.h +Index: glibc-2.23/hurd/hurd.h +=== +--- glibc-2.23.orig/hurd/hurd.h glibc-2.23/hurd/hurd.h @@ -46,6 +46,9 @@ #define _HURD_H_EXTERN_INLINE __extern_inline #endif @@ -42,27 +44,31 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 /* Basic ports and info, initialized by startup. */ a/hurd/hurd/fd.h -+++ b/hurd/hurd/fd.h -@@ -58,6 +58,9 @@ extern struct mutex _hurd_dtable_lock; / +Index: glibc-2.23/hurd/hurd/fd.h +=== +--- glibc-2.23.orig/hurd/hurd/fd.h glibc-2.23/hurd/hurd/fd.h +@@ -58,6 +58,10 @@ extern struct mutex _hurd_dtable_lock; / NULL. The cell is unlocked; when ready to use it, lock it and check for it being unused. */ +struct hurd_fd *_hurd_fd_get (int fd); + -+#if defined __USE_EXTERN_INLINES && defined _LIBC && !defined NOT_IN_libc ++#if defined __USE_EXTERN_INLINES && defined _LIBC ++# if IS_IN (libc) _HURD_FD_H_EXTERN_INLINE struct hurd_fd * _hurd_fd_get (int fd) { -@@ -90,6 +93,7 @@ _hurd_fd_get (int fd) +@@ -90,6 +94,8 @@ _hurd_fd_get (int fd) return descriptor; } ++# endif +#endif /* Evaluate EXPR with the variable `descriptor' bound to a pointer to the -@@ -137,6 +141,9 @@ _hurd_fd_get (int fd) +@@ -137,6 +143,9 @@ _hurd_fd_get (int fd) /* Check if ERR should generate a signal. Returns the signal to take, or zero if none. */ @@ -72,7 +78,7 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 _HURD_FD_H_EXTERN_INLINE int _hurd_fd_error_signal (error_t err) { -@@ -153,11 +160,15 @@ _hurd_fd_error_signal (error_t err) +@@ -153,11 +162,15 @@ _hurd_fd_error_signal (error_t err) return 0; } } @@ -88,7 +94,7 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 _HURD_FD_H_EXTERN_INLINE error_t _hurd_fd_error (int fd, error_t err) { -@@ -170,20 +181,28 @@ _hurd_fd_error (int fd, error_t err) +@@ -170,20 +183,28 @@ _hurd_fd_error (int fd, error_t err) } return err; } @@ -117,7 +123,7 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 _HURD_FD_H_EXTERN_INLINE int __hurd_sockfail (int fd, int flags, error_t err) { -@@ -192,6 +211,7 @@ __hurd_sockfail (int fd, int flags, erro +@@ -192,6 +213,7 @@ __hurd_sockfail (int fd, int flags, erro errno = err; return -1; } @@ -125,27 +131,31 @@ glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057 /* Set up *FD to have PORT its server port, doing appropriate ctty magic. Does no locking or unlocking. */ a/hurd/hurd/port.h -+++ b/hurd/hurd/port.h -@@ -60,6 +60,9 @@ struct hurd_port +Index: glibc-2.23/hurd/hurd/port.h +=== +--- glibc-2.23.orig/hurd/hurd/port.h glibc-2.23/hurd/hurd/port.h +@@ -60,6 +60,10 @@ struct hurd_port /* Initialize *PORT to INIT. */ +void _hurd_port_init (struct hurd_port *port, mach_port_t init); + -+#if defined __USE_EXTERN_INLINES && defined _LIBC && !defined NOT_IN_libc ++#if defined __USE_EXTERN_INLINES && defined _LIBC ++# if IS_IN (libc) _HURD_PORT_H_EXTERN_INLINE void _hurd_port_init (struct hurd_port *port, mach_port_t init) { -@@ -67,6 +70,7 @@ _hurd_port_init (struct hurd_port *port, +@@ -67,6 +71,8 @@ _hurd_port_init (struct hurd_port *port, port->users = NULL; port->port = init; } ++# endif +#endif /* Cleanup function f