/usr/include/netinet/in.h:35:5: error: expected identifier before numeric constant /usr/include/netinet/in.h:197:8: error: redefinition of 'struct in6_addr' In file included from /usr/include/linux/if_bridge.h:17:0, from src/tethering.c:38: /usr/include/linux/in6.h:30:8: note: originally defined here Test cases: #include <netinet/in.h> #include <linux/in6.h> int main (void) { return 0; } #include <linux/in6.h> #include <netinet/in.h> int main (void) { return 0; }
We run into this kind of problem with musl quite a bit too, and I don't think there's a proper solution except documenting that the kernel headers should not be included in userspace except when they provide something that has no corresponding libc interface. Any solution in glibc would be either: A. Specific to certain versions of the kernel headers, and would still leave you stuck with problems when using older kernel headers, OR B. Would cause glibc's headers to be non-conforming (mostly in the sense of namespace-pollution) unless you got really lucky with the version of the kernel headers you use. I don't see either of these as reasonable trade-offs. Back in the 90s, glibc made the (correct) decision to avoid depending on the kernel headers (although it still does in a few places) to provide the standard userspace headers. Application developers just need to learn to stop senselessly including things from <linux/*.h>.
(In reply to Rich Felker from comment #1) > We run into this kind of problem with musl quite a bit too, and I don't > think there's a proper solution except documenting that the kernel headers > should not be included in userspace except when they provide something that > has no corresponding libc interface. Any solution in glibc would be either: > > A. Specific to certain versions of the kernel headers, and would still leave > you stuck with problems when using older kernel headers, OR > > B. Would cause glibc's headers to be non-conforming (mostly in the sense of > namespace-pollution) unless you got really lucky with the version of the > kernel headers you use. > > I don't see either of these as reasonable trade-offs. Back in the 90s, glibc > made the (correct) decision to avoid depending on the kernel headers > (although it still does in a few places) to provide the standard userspace > headers. Application developers just need to learn to stop senselessly > including things from <linux/*.h>. C. Coordinate. We can fix this problem but it requires coordination. I started some work on this and Cong is taking this to completion: http://sourceware.org/ml/libc-alpha/2013-08/msg00208.html
I don't see "C. Coordinate" as an alternative to the problems A and B above. The coordination only works with new post-coordination kernel header versions (problem A). Assuming glibc is still producing its own definitions rather than including the kernel headers (and just turning off its own definitions if the kernel version was already included), problem B does not occur in the case of strictly conforming applications which are not including the linux/*.h headers. However, there's still the possibility of unexpected inconsistency for applications which do use linux/*.h. I'm not sure what the intended usage case you're trying to support is. If your intent is that the headers roughly match, then it seems like applications should not be including the linux ones, and I'm not sure why it's more desirable to "support" this case and get it 90-99% "right" instead of just documenting that it's wrong (and possibly even using #error to correct this bad practice).
(In reply to Rich Felker from comment #3) > I don't see "C. Coordinate" as an alternative to the problems A and B above. > The coordination only works with new post-coordination kernel header > versions (problem A). Assuming glibc is still producing its own definitions > rather than including the kernel headers (and just turning off its own > definitions if the kernel version was already included), problem B does not > occur in the case of strictly conforming applications which are not > including the linux/*.h headers. However, there's still the possibility of > unexpected inconsistency for applications which do use linux/*.h. Sorry Rich, I have had little sleep and I was being a bit tongue-in-cheek here. Regardless of how much coordination we have if you have an old system you will still have "A." (dependence on new glibc and new kernel headers). I think that "B." will depend largely on the exact headers you are trying to fix and this is why we're trying to resolve these one at a time for each header. However, it is true that in this particular case the glibc headers will choose specifically not to define certain structures if it is known that kernel header provides a conforming definition. > I'm not sure what the intended usage case you're trying to support is. If > your intent is that the headers roughly match, then it seems like > applications should not be including the linux ones, and I'm not sure why > it's more desirable to "support" this case and get it 90-99% "right" instead > of just documenting that it's wrong (and possibly even using #error to > correct this bad practice). It's not wrong, and we should support it. What do we loose by coordinating the two sets of headers?
In terms of "what do we lose?" I think the answers are: 1. People power that could be better spent elsewhere. Of course it's your right to spend your time on what matters most to you, but glibc has a lot more functional bugs than people to fix them all. Also, perhaps a bulk of the work is initial support, but I suspect there will be some maintenance cost too, which others may inherit having to deal with in the future. 2. Consistency of behavior. I would rather have the duplication of libc and kernel headers result consistently in #error than have it work 99% of the time, but sometimes fail when someone installs new kernel headers that weren't properly tested. The order-of-inclusion dependency is very bothering too. Presumably the reason someone might include the kernel header is to get bleeding-edge things not yet in the libc header. But if the kernel header's definitions are suppressed if the libc version was included first, this means applications need to be very careful to control the inclusion order, and it might get reversed if another third-party header includes the libc header first. I would much rather see: #include <netinet/in.h> #include <linux/extra_stuff_that_does_not_belong_in_in.h> than having overlapping headers with subtle differences. Aside from all of the above, my feeling is that history has shown that trying to synchronize this kind of header issue, where a definition might have different sources, is a nightmare. Think of things like the use of bool in curses. Historically, the Linux headers have not been userspace-friendly, and have been a source of header-incompatibility breakage, and I don't see the value in doing anything that would encourage people to go back to using them more...
Fixed by 6c82a2f8.
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via e732c5f04958e535fa309b0fae50d67063a1a203 (commit) from a494421f5268df333c589d71104a39bb6a9cff19 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e732c5f04958e535fa309b0fae50d67063a1a203 commit e732c5f04958e535fa309b0fae50d67063a1a203 Author: Carlos O'Donell <carlos@redhat.com> Date: Sun Jan 12 12:17:33 2014 -0500 Add BZ #15850 to ChangeLog. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The annotated tag, glibc-2.19 has been created at 62acb0ba856abf4a2a173e4b49c28749af7bd572 (tag) tagging 9a869d822025be8e43b78234997b10bf0cf9d859 (commit) replaces glibc-2.18 tagged by Allan McRae on Fri Feb 7 19:12:54 2014 +1000 - Log ----------------------------------------------------------------- The GNU C Library ================= The GNU C Library version 2.19 is now available. The GNU C Library is used as *the* C library in the GNU systems and most systems with the Linux kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2008. It is also internationalized and has one of the most complete internationalization interfaces known. The GNU C Library webpage is at http://www.gnu.org/software/libc/ Packages for the 2.19 release may be downloaded from: http://ftpmirror.gnu.org/libc/ http://ftp.gnu.org/gnu/libc/ The mirror list is at http://www.gnu.org/order/ftp.html NEWS for version 2.19 ===================== * The following bugs are resolved with this release: 156, 387, 431, 762, 832, 926, 2801, 4772, 6786, 6787, 6807, 6810, 6981, 7003, 9721, 9954, 10253, 10278, 11087, 11157, 11214, 12100, 12486, 12751, 12986, 13028, 13982, 13985, 14029, 14032, 14120, 14143, 14155, 14286, 14547, 14699, 14752, 14782, 14876, 14910, 15004, 15048, 15073, 15089, 15128, 15218, 15268, 15277, 15308, 15362, 15374, 15400, 15425, 15427, 15483, 15522, 15531, 15532, 15593, 15601, 15608, 15609, 15610, 15632, 15640, 15670, 15672, 15680, 15681, 15723, 15734, 15735, 15736, 15748, 15749, 15754, 15760, 15763, 15764, 15797, 15799, 15825, 15843, 15844, 15846, 15847, 15849, 15850, 15855, 15856, 15857, 15859, 15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15901, 15905, 15909, 15915, 15917, 15919, 15921, 15923, 15939, 15941, 15948, 15963, 15966, 15968, 15985, 15988, 15997, 16032, 16034, 16036, 16037, 16038, 16041, 16046, 16055, 16071, 16072, 16074, 16077, 16078, 16103, 16112, 16143, 16144, 16146, 16150, 16151, 16153, 16167, 16169, 16172, 16195, 16214, 16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337, 16338, 16356, 16365, 16366, 16369, 16372, 16375, 16379, 16384, 16385, 16386, 16387, 16390, 16394, 16398, 16400, 16407, 16408, 16414, 16430, 16431, 16453, 16474, 16506, 16510, 16529 * Slovenian translations for glibc messages have been contributed by the Translation Project's Slovenian team of translators. * The public headers no longer use __unused nor __block. This change is to support compiling programs that are derived from BSD sources and use __unused internally, and to support compiling with Clang's -fblock extension which uses __block. * CVE-2012-4412 The strcoll implementation caches indices and rules for large collation sequences to optimize multiple passes. This cache computation may overflow for large collation sequences and may cause a stack or buffer overflow. This is now fixed to use a slower algorithm which does not use a cache if there is an integer overflow. * CVE-2012-4424 The strcoll implementation uses malloc to cache indices and rules for large collation sequences to optimize multiple passes and falls back to alloca if malloc fails, resulting in a possible stack overflow. The implementation now falls back to an uncached collation sequence lookup if malloc fails. * CVE-2013-4788 The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix (bug 15754). * CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes to the d_name member of struct dirent, or omit the terminating NUL character. (Bugzilla #14699). * CVE-2013-4332 The pvalloc, valloc, memalign, posix_memalign and aligned_alloc functions could allocate too few bytes or corrupt the heap when passed very large allocation size values (Bugzilla #15855, #15856, #15857). * CVE-2013-4458 Stack overflow in getaddrinfo with large number of results for AF_INET6 has been fixed (Bugzilla #16072). * New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW, pap_CW, quz_PE, the_NP. * Substantially revised locales: gd_GB, ht_HT * The LC_ADDRESS field was updated to support country_car for almost all supported locales. * ISO 1427 definitions were updated. * ISO 3166 definitions were updated. * The localedef utility now supports --big-endian and --little-endian command-line options to generate locales for a different system from that for which the C library was built. * Binary locale files now only depend on the endianness of the system for which they are generated and not on other properties of that system. As a consequence, binary files generated with new localedef may be incompatible with old versions of the GNU C Library, and binary files generated with old localedef may be incompatible with this version of the GNU C Library, in the following circumstances: + Locale files may be incompatible on m68k systems. + Locale archive files (but not separate files for individual locales) may be incompatible on systems where plain "char" is signed. * The configure option --disable-versioning has been removed. Builds with --disable-versioning had not worked for several years. * ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue). * SystemTap probes for malloc have been introduced. * SystemTap probes for slow multiple precision fallback paths of transcendental functions have been introduced. * Support for powerpc64le has been added. * The soft-float powerpc port now supports e500 processors. * Support for STT_GNU_IFUNC symbols added for ppc32/power4+ and ppc64. * A new feature test macro _DEFAULT_SOURCE is available to enable the same set of header declarations that are enabled by default, even when other feature test macros or compiler options such as -std=c99 would otherwise disable some of those declarations. * The _BSD_SOURCE feature test macro no longer enables BSD interfaces that conflict with POSIX. The libbsd-compat library (which was a dummy library that did nothing) has also been removed. * Preliminary documentation about Multi-Thread, Async-Signal and Async-Cancel Safety has been added. Contributors ============ This release was made possible by the contributions of many people. The maintainers are grateful to everyone who has contributed changes or bug reports. These include: Adam Buchbinder Adam Conrad Adhemerval Zanella Alan Modra Alexandre Oliva Allan McRae Andreas Arnez Andreas Jaeger Andreas Krebbel Andreas Schwab Andrew Hunter Andrew Pinski Anton Blanchard Arun Kumar Pyasi Aurelien Jarno Brooks Moses Bruno Haible Carlos O'Donell Chris Leonard Chris Metcalf Chung-Lin Tang David Holsgrove David S. Miller Eric Biggers Eric Blake Eric Wong Fabrice Bauzac Fernando J. V. da Silva Florian Weimer Guy Martin H.J. Lu Jan Kratochvil Jia Liu Joseph Myers Kaz Kojima Liubov Dmitrieva Maciej W. Rozycki Marc-Antoine Perennou Marcus Shawcroft Marko Myllynen Markus Trippelsdorf Maxim Kuvyrkov Meador Inge Michael Bauer Michael Stahl Mike Frysinger Olivier Langlois Ondřej Bílka Patrick 'P. J.' McDermott Paul Eggert Paul Pluzhnikov Pavel Simerda Petr Machata Rajalakshmi Srinivasaraghavan Reuben Thomas Richard Henderson Richard Sandiford Roland McGrath Ryan S. Arnold Sami Kerola Samuel Thibault Siddhesh Poyarekar Stefan Liebler Steve Ellcey Thomas Schwinge Toke Høiland-Jørgensen Tom Tromey Torvald Riegel Ulrich Weigand Uros Bizjak Venkataramanan Kumar Ville Skytta Vinitha Vijayan Wei-Lun Chao Will Newton Yogesh Chaudhari Yuri Chornoivan Yuriy Kaminskiy -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJS9KOqAAoJEPmf/g/q6Zm9L9oIAK0E6xw+8e/b2rs5EkdCcdvz upglZ/Vl7rDM0krIZrI14Q0ZQKpYr8+k8MjlktvytaG5qMEFLAFFEquzksB8bnRj 52GfMIfiP+UGU3sQoSHFaAHlPXhycF2H7XhpH/zJ7he46eaoaOL13tOxDurdk3Z1 vzStBnIOm9cpMkSg+Cs4RGlXGhlvJvay1a6whhE7zsv/EXg0mCoYQpYQrTNkCdjv ugtWtta+URBSZHl49batzZz+WZ5yQzRIubXGqC44ofm6r+tIgJ4t2/vo64qnA/1+ 63y0Zxk1+xl8fcxvqibw5LeY2GN1hGBvkhVR4bh4mmHsLGIwvCF5ZavKDREl638= =MNMJ -----END PGP SIGNATURE----- Adam Buchbinder (1): soft-fp: fix typo in comment. Adam Conrad (1): Fix incorrect ChangeLog formatting Adhemerval Zanella (113): PowerPC: fix backtrace to handle signal trampolines Add memrchr testcase PowerPC: fix POWER7 memrchr for some large inputs benchtests: Add memrchr benchmark Update powerpc-fpu ULPs. PowerPC: Fix POINTER_CHK_GUARD thread register for PPC64 PowerPC: strcpy/stpcpy optimization for PPC64/POWER7 Fix ChangeLog date. PowerPC: Fix vDSO missing ODP entries benchtests: Add strtod benchmark PowerPC: Fix __fe_mask_env export PowerPC: Fix __fe_mask_env export PowerPC: Set/restore rounding mode only when needed PowerPC: Fix __fe_nomask_env missing symbol Update powerpc-fpu ULPs. Update powerpc-fpu ULPs. Fix elf/get-dynamic-info.h for AT PowerPC: Add systemtap static probe points in setjmp/longjmp Revert wrong commit. Update powerpc-fpu ULPs. PowerPC: initial support for multilib for PowerPC32 PowerPC: multiarch memcpy for PowerPC32 PowerPC: multiarch memcmp for PowerPC32 PowerPC: multiarch memset/bzero for PowerPC32 PowerPC: multiarch mempcpy for PowerPC32 PowerPC: multiarch memchr for PowerPC32 PowerPC: multiarch memrchr for PowerPC32 PowerPC: multiarch rawmemchr for PowerPC32 PowerPC: multiarch strlen for PowerPC32 PowerPC: multiarch strnlen for PowerPC32 PowerPC: multiarch strncmp for PowerPC32 PowerPC: multiarch strcasecmp for PowerPC32 PowerPC: multiarch strncasecmp for PowerPC32 PowerPC: multiarch strchrnul for PowerPC32 PowerPC: multiarch strchr for PowerPC32 PowerPC: multiarch wcschr for PowerPC32 PowerPC: multiarch wcsrchr for PowerPC32 PowerPC: multiarch wcscpy for PowerPC32 PowerPC: multiarch wordcopy routines for PowerPC32 PowerPC: change sysdeps fpu folder PowerPC: multiarch llrint/llrintf for PowerPC32 PowerPC: multiarch llround/llroundf for PowerPC32 PowerPC: multiarch sqrt/sqrtf for PowerPC32 PowerPC: multiarch isnan/isnanf for PowerPC32 PowerPC: multiarch isinf/isinff for PowerPC32 PowerPC: multiarch finite/finitef for PowerPC32 PowerPC: multiarch ceil/ceilf for PowerPC32 PowerPC: multiarch floor/floorf for PowerPC32 PowerPC: multiarch round/roundf for PowerPC32 PowerPC: multiarch trunc/truncf for PowerPC32 PowerPC: multiarch copysign/copysignf for PowerPC32 PowerPC: multiarch lround/lrounf for PowerPC32 PowerPC: multiarch lrint/lrintf for PowerPC32 PowerPC: multiarch modf/modff for PowerPC32 PowerPC: multiarch logb/logbf/logbl for PowerPC32 PowerPC: multiarch __ieee754_hypot[f] for PowerPC32 PowerPC: Adjust multiarch Implies for PowerPC32 PowerPC: Update NEWS with ppc32/power4+ STT_GNU_IFUNC support PowerPC: Optimized mpn functions for PowerPC64 PowerPC: Optimized mpn functions for PowerPC64/POWER7 Update powerpc-fpu ULPs. Add GLIBC_2.3 and GLIBC_2.19 in Versions.def PowerPC: Add DSO and TAR fields to TLS PowerPC: Adjust multiarch Implies for PowerPC64 PowerPC: multiarch memcpy for PowerPC64 PowerPC: multirach memcmp for PowerPC64 PowerPC: multiarch memset/bzero for PowerPC64 PowerPC: multiarch mempcpy for PowerPC64 PowerPC: multiarch memchr for PowerPC64 PowerPC: multiarch memrchr for PowerPC64 PowerPC: multiarch rawmemchr for PowerPC64 PowerPC: multiarch strlen for PowerPC64 PowerPC: multiarch strnlen for PowerPC64 PowerPC: multiarch strcasecmp for PowerPC64 PowerPC: multiarch strncasecmp for PowerPC64 PowerPC: multiarch strncmp for PowerPC64 PowerPC: multiarch strchr for PowerPC64 PowerPC: multiarch strchrnul for PowerPC64 PowerPC: multiarch wcschr for PowerPC64 PowerPC: multiarch wcsrchr for PowerPC64 PowerPC: multiarch wcscpy for PowerPC64. PowerPC: multiarch wordcopy for PowerPC64 PowerPC: multiarch strcpy for PowerPC64 PowerPC: multiarch stpcpy for PowerPC64 PowerPC: Cleaning up uneeded sqrt routines PowerPC: Adjust multiarch Implies for PowerPC64 PowerPC: multiarch isnan/isnanf for PowerPC64 PowerPC: multiarch llround/lround for PowerPC64 PowerPC: multiarch ceil/ceilf for PowerPC64 PowerPC: multiarch floor/floorf for PowerPC64 PowerPC: multiarch round/roundf for PowerPC64 PowerPC: multiarch trunc/truncf for PowerPC64 PowerPC: multiarch copysign/copysignf for PowerPC64 PowerPC: multiarch llrint/lrint for PowerPC64 PowerPC: multiarch finite/finitef for PowerPC64 PowerPC: multiarch isinf/isinff for PowerPC64 PowerPC: multiarch logb/logbl/logbf for PowerPC64 PowerPC: multiarch modf/modff for PowerPC64 PowerPC: multiarch hypot/hypotf for PowerPC64 PowerPC: Update NEWS with ppc64 STT_GNU_IFUNC support Update powerpc-fpu ULPs. Update powerpc-fpu ULPs. Update powerpc-fpu ULPs. PowerPC: Fix compiler warnings Update powerpc-fpu ULPs. PowerPC: remove wrong truncl implementation for PowerPC64 PowerPC: sotruss-lib implementation PowerPC: Fix ftime gettimeofday internal call returning bogus data Add BZ#16430 to NEWS. PowerPC: Fix gettimeofday ifunc selection abilist-pattern configurability PowerPC: Change powerpc64le start ABI to 2.17. PowerPC: powerpc64le abilist for 2.17 Alan Modra (36): IBM long double mechanical changes to support little-endian Fix for [BZ #15680] IBM long double inaccuracy PowerPC floating point little-endian [1 of 15] PowerPC floating point little-endian [2 of 15] PowerPC floating point little-endian [3 of 15] PowerPC floating point little-endian [4 of 15] PowerPC floating point little-endian [5 of 15] PowerPC floating point little-endian [6 of 15] PowerPC floating point little-endian [9 of 15] PowerPC floating point little-endian [10 of 15] PowerPC floating point little-endian [11 of 15] PowerPC floating point little-endian [12 of 15] PowerPC floating point little-endian [13 of 15] PowerPC floating point little-endian [15 of 15] PowerPC ugly symbol versioning PowerPC LE _dl_hwcap access PowerPC makecontext PowerPC SIGSTKSZ PowerPC LE strlen PowerPC LE strnlen PowerPC LE strcmp and strncmp PowerPC LE strcpy PowerPC LE strchr PowerPC LE memcmp PowerPC LE memcpy PowerPC LE memset PowerPC LE memchr and memrchr string/test-memcpy error reporting string/tester memrchr test PowerPC LE configury fix changelog date Correct little-endian relocation of UADDR64,32,16. Use stdint.h types in union unaligned. Mention powerpc64le support in NEWS and README, plus bugs fixed. Fix careless merge. PowerPC64: Report overflow on @h and @ha relocations Alexandre Oliva (51): PR 15483 Add first set of memory probes. Add probes for all changes to malloc options. Add probes for malloc arena changes. Add probes for malloc retries. Add catch-all alloc retry probe. Add malloc probes for sbrk and heap resizing. Mention malloc probes in the NEWS file. * manual/macros.texi: Introduce macros to document multi * manual/argp.texi: Document MTASC-safety properties. * manual/arith.texi: Document MTASC-safety properties. * manual/conf.texi: Document MTASC-safety properties. * manual/crypt.texi: Document MTASC-safety properties. * manual/charset.texi: Document MTASC-safety properties. * manual/debug.texi: Document MTASC-safety properties. * manual/ctype.texi: Document MTASC-safety properties. * manual/getopt.texi: Document MTASC-safety properties. * manual/job.texi: Document MTASC-safety properties. * manual/lang.texi: Document MTASC-safety properties. * manual/libdl.texi: New. * manual/llio.texi: Document MTASC-safety properties. * manual/locale.texi: Document MTASC-safety properties. * manual/math.texi: Document MTASC-safety properties. [BZ #12751] * manual/message.texi: Document MTASC-safety properties. * manual/pattern.texi: Document MTASC-safety properties. * manual/pipe.texi: Document MTASC-safety properties. * manual/platform.texi: Document MTASC-safety properties. * manual/process.texi: Document MTASC-safety properties. * manual/resource.texi: Document MTASC-safety properties. * manual/search.texi: Document MTASC-safety properties. * manual/setjmp.texi: Document MTASC-safety properties. * manual/signal.texi: Document MTASC-safety properties. * manual/socket.texi: Document MTASC-safety properties. * manual/startup.texi: Document MTASC-safety properties. * manual/sysinfo.texi: Document MTASC-safety properties. * manual/syslog.texi: Document MTASC-safety properties. * manual/stdio.texi: Document MTASC-safety properties. * manual/threads.texi: Document MTASC-safety properties. * manual/string.texi: Document MTASC-safety properties. * manual/time.texi: Document MTASC-safety properties. * manual/string.texi (wcstok): Fix prototype. * manual/intro.texi: Document safety identifiers and * manual/errno.texi: Document MTASC-safety properties. * manual/filesys.texi: Document MTASC-safety properties. * manual/terminal.texi: Document MTASC-safety properties. * manual/check-safety.sh: New. * manual/time.texi (timegm): Add missing blank after @c. * manual/threads.texi (pthread_key_create, pthread_key_delete, * manual/users.texi: Document MTASC-safety properties. * manual/macros.texi: Add comments before MTASC-safety macros. Allan McRae (43): Update to latest versions of GPL-2.0 and LGPL-2.1 Fix nesting of ifdefs in netgroupcache.c Fix memory leaks in libio on allocation failure Fix memory leak in stdlib/isomac.c Fix typo in strcoll example Update pt_chown sections of the manual Clarify documentation cross-reference Remove references to non-existent content items in install.texi Revert "Remove references to non-existent content items in install.texi" Fix incorrect getaddrinfo assertion trigger Fix ChangeLog formatting issue Add missing bug number to NEWS Add systemd unit file for nscd Add --enable-maintainer-mode configure option Update file name in x86_64 ifunc list Set AUTOCONF variable when maintainer-mode is not used Stop partial menu generation in INSTALL file Fix typo in csloww() Update copyright notices with scripts/update-copyrights Update remaining copyright dates scripts/update-copyrights: adjust configure input file suffix Fix gettext call formatting Regenerate libc.po Fix typo in inet/netinet/in.h comment Update Ukrainian translations Update Russian translations Update Polish translations Update Dutch translations Update Czech translations Update Esperanto translations Update Vietnamese translations Update Swedish translations Update German translations Update Bulgarian translations Update Catalan translations Update French translations Update Slovenian translations Revert "Async-signal safe TLS." Revert "Patch 2/4 of the effort to make TLS access async-signal-safe." Revert "Patch 3/4 of the effort to make TLS access async-signal-safe." Revert "Patch [1/4] async-signal safe TLS." Revert "BZ 16133 has been fixed (async signal safe TLS)." Update version.h and include/features.h for 2.19 release Andreas Arnez (1): * elf/setup-vdso.h (setup_vdso): Fix missing string termination. Andreas Jaeger (1): Update ULPs for i386 Andreas Krebbel (9): * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus): [BZ #16214] S/390: Fix TLS GOT pointer setup. S/390: Make jmp_buf extendible. S/390: Make ucontext_t extendible. S/390: Get rid of unused variable warning in dl-machine.h S/390: Remove __tls_get_addr argument cast. S/390: Regenerate ULPs. [BZ #16427] Fix ldbl-128 exp overflows. S/390: Merge 32 and 64 bit ucontext.h. Andreas Schwab (28): Fix cbrtl for ldbl-96 Fix dependencies for stdlib/tst-tls-atexit Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 strcasecmp/strncasecmp Fix missing declaration of LC_CTYPE nonascii-case element Add O_TMPFILE to <fcntl.h> Make __ffs hidden Properly cache the result from looking up the nss database config m68k: use PIC for Scrt1.o Fix typo in last change Don't use gethostbyaddr to determine canonical name Let tst-swscanf find its locale Fix parsing of 0e+0 as float Refill NEWS Fix BZ reference Restore ChangeLog Fix off-by-one in nscd getservbyport call Fix country_num element in LC_ADDRESS for C locale Properly handle unavailable elements in LC_MONETARY category Complete display of LC_MONETARY Fix CFI annotations in pthread_cond_timedwait for i486+ ChangeLog fix m68k: don't assume PI futexes before 3.10 m68k: add support for PI futexes m68k: use math_force_eval in nextafterl Remove use of SSE4.2 functions for strstr on i686 Fix uses of CALL_MCOUNT in ppc64 assembler sources Let gen-libm-test.pl find itself when run outside source directory m68k: regenerate libm test ULPs Andrew Hunter (1): Async-signal safe TLS. Andrew Pinski (1): [AArch64] Fix BE access to errno. Anton Blanchard (4): PowerPC floating point little-endian [7 of 15] PowerPC floating point little-endian [8 of 15] PowerPC floating point little-endian [14 of 15] PowerPC LE setjmp/longjmp Arun Kumar Pyasi (1): New locale for the_NP. Aurelien Jarno (4): MIPS: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constant MIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIs locale: don't crash if locale-archive contains all zeros Add bug number to ChangeLog and NEWS Brooks Moses (5): Fix erroneous (and circular) implied pattern rule for linkobj/libc.so. Add error reporting (via errno) to getauxval(). Updated NEWS to mention resolution of bug 15846. Define __CORRECT_ISO_CPP_STRING_H_PROTO correctly for Clang. Obvious comment typo fix ("openened") in elf/dl-load.c. Bruno Haible (1): Fix description of random according to POSIX. Fixes bug 7003 Carlos O'Donell (19): ARM: Pass dl_hwcap to IFUNC resolver. Coordinate IPv6 definitions for Linux and glibc Copy-edit NEWS and fixup ChangeLog entries. BZ #15754: CVE-2013-4788 BZ #15754: Fix test case for ARM. Enhance localedef --list-archive option. Mention FIPS 140-2 compliance and Sun RPC. Fix typo in sys/ptrace.h. NEWS: Mention __unused and __block removal. NEWS: Only public headers have __unused/__block changed. Add test case for pthread_[sg]etname_np. Add Solvenian translations for glibc messages. Rename header.pot to pot.header. Add BZ #15850 to ChangeLog. Fix manual build warnings. [hppa] Regenerate libm-test-ulps. Fix tst-setgetname for Linux kernels < 2.6.33. Fix comment in kernel-features.h. BZ #16529: Fix pedantic warning with netinet/in.h. Chris Leonard (57): Add quz_PE locale Update ht_HT locale Update iso-1427.def and related occurrences. Update iso-1427.def and related occurrences. Deduplicate country_car. ChangeLog entry for Deduplicate country_car. Fix trailing whitespace Add country_car field to LC_ADDRESS. Adjust language-code fields of LC_ADDRESS. Update iso-639.def Update Changelog and NEWS correct bug list in NEWS New locale for ak_GH. Adjust language-code fields of LC_ADDRESS. Fix ayc_PE.UTF-8 and lzh_TW.UTF-8 build issues Update iso-1366.def and related occurrences Split ar_SD into ar_SD and ar_SS Copy / modify pap_AN into pap_AW and pap_CW. Correct error in iso-3166.def Fix typos in 3166.def. Adjust language-code fields of LC_ADDRESS. Fix ar_SS in SUPPORTED remove localdata path from Changelog entries Fixes to Changelog for locale splits correct LC_TELEPHONE for pap locales Adjust language-code fields of LC_ADDRESS. Adjust language-code fields of LC_ADDRESS. New-locale-for-anp_IN Add Meadow Mari (mhr). Adjust language-code fields of LC_ADDRESS. Add Central Nahuatl (nhn). Adjust language-code fields of LC_ADDRESS. Adjust language-code fields of LC_ADDRESS. Add Quechua, Southern (quz) and Silesian (szl) to iso-639.def. Adjust language-code fields of LC_ADDRESS. Adjust language-code fields of LC_ADDRESS. Correct Walaita (wal) and add Unami Delaware (unm). Adjust language-code fields of LC_ADDRESS. [BZ #16103] LC_MEASUREMENT review and standardization [BZ #16143] pap_* locales have duplicated LC_NUMERIC section. Add Chitwani Tharu (the) Correct wae_CH to UTF-8 encoding. [BZ #16144] Duplicated abday value for tk_TM. Add lang_name to Arabic locales. Add lang_name to German, English, Spanish, French locales. Add lang_name to various locales. Add lang_name to various locales. revert error-generated by bs_BA. Add lang_name to various locales. Add lang_name to various locales. revert hebrew lang_name addition revert hebrew lang_name addition Add lang_name to various locales. Add lang_name to various locales. Add lang_name to various locales. fix localedata/ChangeLog Add lang_name to various locales. Chris Metcalf (3): Mention bug 15760 in NEWS (duplicate of 15988, just added to NEWS) test-fpucw-ieee: Don't use _FPU_IEEE if not defined tile: Regenerate libm-test-ulps Chung-Lin Tang (1): linux-generic: fix alignment of struct stat/statfs for nios2 David Holsgrove (4): microblaze: Use <fenv.h> fallback functions microblaze BZ #15705: Define MMAP2_PAGE_SHIFT microblaze: Update libm-test-ulps Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT" David S. Miller (11): Open development for 2.19. Update Catalan translations. Add Ukrainian translations. Update Chinese (traditional) translations. Update sparc ULPs. Fix readdir regressions on sparc 32-bit. Fix build on pre-v9 32-bit Sparc. Fix sparc 64-bit GMP ifunc resolution in static builds. Rebuild sparc ULPs. Adjust sparc ULPs. Add missing ChangeLog from yesterday's sparc ULPs update. Eric Biggers (1): Fix fwrite() reading beyond end of buffer in error path Eric Blake (2): glob: silence -Wattribute warnings maint: correct changelog Eric Wong (2): Update x86_64 ULPs (AMD Family 10h) Update x86_64 ULPs (AMD family 21, model 2) Fabrice Bauzac (1): Document that mmap() returns MAP_FAILED on error, as per the POSIX standard. Fernando J. V. da Silva (1): Fix BZ #15089: malloc_trim always trim for large padding. Florian Weimer (1): CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r Guy Martin (1): Don't use broken DL_AUTO_FUNCTION_ADDRESS() H.J. Lu (4): Set arch_minimum_kernel to 3.4.0 for x32 Don't check asynchronous cancellation on system Include generic symbol-hacks.h for x32 Disable x87 inline functions for SSE2 math Jan Kratochvil (2): Fix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error. Put Bug # to the NEWS file for the previous vDSO l_name fix. Jia Liu (1): sunrpc/rpc/types.h: fix OS X and FreeBSD build problems Joseph Myers (128): Remove trailing blank lines when generating INSTALL. Use __getpagesize and __ffs in MMAP2_PAGE_SHIFT == -1 case of mmap64. Include <string.h> in sysdeps/unix/sysv/linux/mmap64.c. Fix cproj handling of (finite, NaN) arguments (bug 15531). Fix fdim handling of infinities (bug 15797). Add bug 15867 to NEWS. Fix cexp (NaN + i0) (bug 15532). Fix spurious jnf underflows (bug 14155). Fix lgammaf spurious underflow (bug 15427). Remove --disable-versioning. conformtest: Fix namespace testing. Define MMAP2_PAGE_SHIFT to -1 for m68k. Mention --disable-versioning removal in NEWS. Fix powerpc fpu_control.h namespace and parenthesis issues (bug 15966). Don't force -msoft-float for powerpc --without-fp. e500 port: setjmp/longjmp. e500 port: fpu_control.h. Make locale archive hash function architecture-independent. Add localedef --big-endian and --little-endian options. conformtest: Clean up expectations for POSIX for pthread.h. conformtest: Clean up expectations for POSIX for sched.h. Remove locale file dependence on int32_t alignment. Hardcode locale archive page size as 4096. e500 port: getcontext / setcontext / swapcontext. e500 port: fix fpu_control.h constant values. e500 port: adjust sysdeps/unix/sysv/linux/configure.in case. Move powerpc ports pieces to libc. Clean up locale file alignment handling. soft-fp: Remove trailing semicolon from _FP_FRAC_DISASSEMBLE_4. soft-fp: fix negation NaN handling (bug 16034). soft-fp: split FP_INIT_EXCEPTIONS from FP_INIT_ROUNDMODE. Avoid ordered comparisons of NaNs in ldbl-128ibm acosl and asinl. Extend powerpc-nofpu -fno-builtin-fabsl workaround to more files. Add soft-fp files from libgcc. Update copyright and license notices in soft-fp files from libgcc. soft-fp: fix floating-point to integer unsigned saturation. soft-fp: fix _FP_DIV_MEAT_* returning results with wrong exponent (bug 16032). soft-fp: add macro FP_NO_EXCEPTIONS. soft-fp: add missing FP_INIT_EXCEPTIONS and FP_INIT_ROUNDMODE calls. soft-fp: make ordered comparisons raise "invalid" for quiet NaNs (bug 14910). soft-fp: make __unord* raise "invalid" for signaling NaNs (bug 16036). soft-fp: fix preprocessor indentation. soft-fp: fix vertical whitespace and indentation. soft-fp: remove unused macros. soft-fp: fix horizontal whitespace. soft-fp: make extensions quiet signaling NaNs (bug 16041). Remove duplicate bug numbers from NEWS. Add e500 port. Move entries to correct port ChangeLog files. Add some more NEWS items. Define __STDC_IEC_559* based on __GCC_IEC_559*. Fix strtod rounding of half the least subnormal (bug 16151). Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167). Make libm-test.inc check for "inexact" exceptions for NaN argument. Replace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag. Add libm-test support for ignored return value, add more lrint / llrint / lround / llround tests. Test signs of NaNs in libm-test.inc where appropriate. Define TLS version of libc_hidden_proto. Make powerpc-nofpu floating-point state thread-local (bug 15483). Fix powerpc-nofpu build. Add bug 11214 to NEWS. Fix bug ordering in NEWS. Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271). Document some libm error handling intents. Add powerpc-nofpu/e500 support functions for atomic compound assignment and FLT_ROUNDS. Remove unused ldbl-96 functions (bug 15004). Document libm accuracy goals. Start generating libm tests automatically with MPFR. Test sqrt in all rounding modes. Fix x86 sqrt rounding (bug 14032). Fix exp10 errno setting on underflow (bug 6787). Move TEST_f_f tests for [a-c]* functions from libm-test.inc to auto-libm-test-in. Move TEST_f_f tests for [e-j]* functions from libm-test.inc to auto-libm-test-in. Fix erfc errno setting on underflow (bug 6786). Fix exp2 errno setting on underflow (bug 16283). Fix exp missing underflows (bug 15268, bug 15425). Update MIPS dl-lookup.c from generic version. Fix Bessel function error handling (bug 6807, bug 15901). Add missing bug numbers (12486, 15915, 16038) to NEWS. Update longlong.h from GCC. Move TEST_f_f tests for [l-y]* functions from libm-test.inc to auto-libm-test-in. Fix tgamma errno setting on underflow (bug 6810). Move tests of lgamma from libm-test.inc to auto-libm-test-in. Add missing bug number to NEWS. Move tests of atan2, hypot and pow from libm-test.inc to auto-libm-test-in. Fix hypot handling of subnormals (bug 16316, bug 16330). Fix dbl-64 hypot spurious underflows (bug 16314). Remove __FAVOR_BSD. Remove libbsd-compat dummy library. Remove various unused files from sysdeps/unix/bsd/. Remove unused files from sysdeps/unix/bsd/bsd4.4/bits/. Fix ldbl-128 logl for subnormals (bug 16338). Mark some hypot tests no-test-inline. Update powerpc-nofpu localplt.data for fegetround hidden_proto / hidden_def. Move tests of jn and yn from libm-test.inc to auto-libm-test-in. Add _DEFAULT_SOURCE feature test macro. Fix x86/x86_64 expm1 inaccuracy near 0 in directed rounding modes (bug 16293). Disable libm-test test name beautification for M_* constants. Move tests of sincos from libm-test.inc to auto-libm-test-in. Update texinfo.tex, config.guess, config.sub from upstream. Don't make soft-fp symbols compat symbols for powerpc-nofpu. Move tests of cabs and carg from libm-test.inc to auto-libm-test-in. Move various TEST_c_c tests from libm-test.inc to auto-libm-test-inc. Move tests of cpow from libm-test.inc to auto-libm-test-in. Update timezone code from tzcode 2013i. Revert spurious copying of ChangeLog to localedata/ChangeLog. Add more libm-test coverage of [a-c]* real functions. Fix x86 / x86_64 expl / expl10l wild results in directed rounding modes (bug 16356). Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. Fix ldbl-128 lgammal for small negative arguments (bug 16337). Regenerate x86 / x86_64 ulps. Regenerate MIPS ulps. Regenerate ARM ulps. Fix ldbl-128ibm acoshl inaccuracy (bug 16384). Fix ldbl-128ibm asinhl inaccuracy (bug 16385). Fix ldbl-128ibm logl inaccuracy (bug 16386). Mark various libm tests with xfail-rounding:ldbl-128ibm. Regenerate powerpc-nofpu ulps. Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390). Fix ldbl-128 / ldbl-128ibm lgammal spurious underflow (bug 16400). Fix ldbl-128ibm coshl spurious overflows (bug 16407). Mark more libm tests with xfail-rounding:ldbl-128ibm. Regenerate powerpc-nofpu ulps (again). Use separate libc.abilist for MIPS o32 soft float. Fix ldbl-128ibm expm1l on large arguments (bug 16408). Fix math/test-fpucw-*.c for sysdeps test-fpucw.c overrides. Bug 6981 was fixed by commit 1484e65736f4cab27e5051e0f06be8470e69af82. Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758. Kaz Kojima (11): Add SH implementation of stackguard-macros.h. Add ChangeLog entry for new sysdeps/sh/stackguard-macros.h. Add SH implementation of sotruss-lib.c and c++-types.data. Use $$ver instead of $ver. Move sysdeps/sh/sh4/fpu/bits/fenv.h to sysdeps/sh/bits/. Make soft-float sh use soft-fp fma/fmaf. Adjust SH specific fpu_control.h and ucontext.h files. Restore ucontext ABI for soft-float sh4. Move SH libm-test-ulps to sysdeps/sh and regenerate it. Regenerate SH libm-test-ulps with proper compiler options. Add -mieee to SH sysdep-CFLAGS for older SH compilers. Liubov Dmitrieva (2): i686: Skip SSE4_2 version for strcmp, strncmp, strncase, strcasecmp Fix buffer overrun in strtod_l Maciej W. Rozycki (7): MIPS: Correct the handling of reserved FCSR bits Fix static-binary lazy FPU context allocation MIPS: IEEE 754-2008 NaN encoding support MIPS: bits/atomic.h: Fix comment typo manual: Fix a typo in `POSIX Threads' section nptl: tst-mutex8.c: Handle ENOTSUP PI mutex failure [BZ #16046] Static dlopen correction fallout fixes. Marc-Antoine Perennou (1): Accept make versions 4.0 and greater Marcus Shawcroft (18): [AArch64] Adding sigcontextinfo.h [AArch64] Support __mcount profiling. Handle NULL return from htab_find_slot() Avoid passing NULL to DSO_FILENAME. [AArch64] Regenerate libm-test-ulps. [AArch64] Back out sqrt() addition to libm-test-ulps. [AArch64] libm-test-ulps regenerated from scratch. [AArch64] Implement FUTEX_*_REQUEUE_PI [AArch64] Save and restore q0-q7 on entry to dynamic linker. Compile e_sqrt.c with -ffp-contract=off. [AArch64] Define ABORT_INSTRUCTION. [AArch64] Regenerate libm-test-ulps. [AArch64] Fix CFA adjustment on dynamic linker entry. [AArch64] Remove sqrt from libm-test-ulps [AArch64] Fix FP_ROUNDMODE. [AArch64] Define BE loader name. [AArch64] Fix type in abi-lp64_be-options. [AArch64] Regenerate libm-test-ulps. Marko Myllynen (1): Fix Charset comment in fi_FI, fi_FI@euro Markus Trippelsdorf (1): Update x86_64 ULps for AMD K10 Maxim Kuvyrkov (4): Improve atomic locking for ARM. Add BZ #15640 to resolved bug list in NEWS. Fix race in free() of fastbin chunk: BZ #15073 Restore accidentally deleted bug-fix entries in NEWS. Meador Inge (1): Use __glibc_block in public headers. Michael Bauer (1): Version 1.2 of gd_GB locale Michael Stahl (1): Print the reason why preloading failed in do_preload() Mike Frysinger (27): configure: add missing quotes in $build_pt_chown test [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions tst-fanotify: new simple test hppa: add fanotify_mark tst-fanotify: skip when we get back EPERM tst-fanotify: fix style rename configure.in to configure.ac ia64: link.h: adjust whitespace ia64: implement sotruss support ia64: ioperm: clean up long dead code ia64: add lll_futex_timed_wait_bitset ia64: implement futex requeue pi support ignore gdb related files ia64: syscall: add some helpful documentation ia64: setjmp: use HIDDEN_JUMPTARGET ia64: setjmp/longjmp: stop saving/restoring fpsr [BZ #16379] ia64: longjmp_chk: support signal stacks [BZ #16372] tst-fanotify: check for linux/fanotify.h existence NEWS: mention 16379 as fixed tst-fanotify: switch to AC_DEFINE ia64: fix build failure after async tls updates ptrace.h: add __ prefix to ptrace_peeksiginfo_args ia64: add __ prefix to pt_all_user_regs/ia64_fpreg [BZ #762] ia64: regenerate libm-test-ulps ia64: drop large results from libm-test-ulps [BZ #16401] ia64: regen libm-test-ulps from scratch s390: implement sotruss support Olivier Langlois (1): Fix tst-long-dbl-fphex swprintf length calculation. Ondřej Bílka (66): Fix typos. Fix typos. Remove aix specific files. Fix rawmemchr regression on bulldozer. Fix typos. Fix then/than typos. Fix typo. Add unaligned strcmp. Remove DO_NOT_USE_THIS conditionals. Faster strchr implementation. Faster strrchr. BZ #431 Fix manual of strncat/wcsncat. Use p2align instead ALIGN Correctly copy resolver address. Fixes bug #13028. Fix error_tail overflow in allocation calculation. Clear initfini list after freeing. Fixes bug 15308. Format floating routines. Fix inet_network("1 bar"). Fixes bug 15277. Remove assert in malloc statistic. Fixes bug 12486. Replace alloca in __tzfile_read by malloc. Fixes bug 15670 When glob pattern contains a trailing slash match only directories. Fixes bug 10278. Document rpcgen -5. Fixes bug 15825 Acknowledge that fnmatch can fail. Fixes bug 14029. Make strptime %Z consistent between doc and code. Fixes bug 14876 Changelog for last commit. Fix gethostbyname_r example. Fixes bug 2801. Remove code from div that is by C99 obsolete. Fixes bug 15799 Use atomic operations to track memory. Fixes bug 11087 Restrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763. Fix malloc_info statistic. Fixes bug 16112 Remove unused NONTLS_INIT_TP. Fix changelog Make getent services compliant with RFC 6335 section 5.1 Fixes bug 15374 Do not let scanf("%4p") accept "(nil)". Fixes bug 16055 Remove unused variable. Fix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253 Revert b75891075bece24be9fd85618f18af4a2daf7f1c Consolidate valloc/pvalloc code. Use __glibc_reserved instead __unused. Fix typo in _dl_tlsdesc_resolve_hold. Remove duplicate ifunc benchtests. Add changelog. Remove duplicate ifunc tests. Also remove benchtests/bench-strsep-ifunc.c Make memset in calloc a tail call. Return fixed version of breaking of RPATH when $ORIGIN contains colons Document shm_open. Properly handle shm_open validation. Fixes bug 16274. Refactor several debug routines. Allow strptime read outputs from strftime. Fixes bug 4772. Add bug numbers 926, 4772 and 16274 to NEWS. Replace malloc force_reg by atomic_forced_read. Simplify perturb_byte logic. Drop PER_THREAD conditionals from malloc. Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset. Add strstr with unaligned loads. Fixes bug 12100. Update documentation after dropping PER_THREAD conditional. Add missing deftp to fix commit 4d84e6addd62bdc256627af. Clarify that scanf does not use character classes. Fixes bug 12986 Add Changelog and news entry. Fix ChangeLog Reformat malloc to gnu style. Fix integer overflow in vfwprintf. Fixes bug 14286. Add 15850 to NEWS. Do not enable asynchronous cancellation in system. Fixes bug 14782. Add ChangeLog entry Patrick 'P. J.' McDermott (2): don't use Bash-specific ${parameter/pattern/string} expansion ldd: make try_trace more robust and portable Paul Eggert (5): Clarify documentation on how functions use timezone. Fixes bug 926. * manual/time.texi (TZ Variable): POSIX.1 hour can be 24. * manual/time.texi (TZ Variable): Modernize North America example Document TZ transition times >= 25:00:00. Support TZ transition times < 00:00:00. Paul Pluzhnikov (18): Adjust AT_EXECFN when using explicit loader invocation. Adjust AT_EXECFN when using explicit loader invocation. Fix failure in nptl/tst-cleanup when building with Revert "Fix failure in nptl/tst-cleanup when building with" Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9 Fix missing > on email. Fix intermittent failure in tst-getpid2. Patch [1/4] async-signal safe TLS. Patch 3/4 of the effort to make TLS access async-signal-safe. Patch 2/4 of the effort to make TLS access async-signal-safe. Cleanup compile warnings. Fix incorrect power of 2 check in last commit. Fix white space as well. Merge branch 'master' of ssh://sourceware.org/git/glibc Fix ChangeLog entry. Fix a race in tst-tls7, which caused crashes on ppc32. BZ 16133 has been fixed (async signal safe TLS). Mention BZ 9721 Pavel Simerda (2): getaddrinfo: remove dead code Remove redundant GAIH_OKIFUNSPEC and GAIH_EAI. Petr Machata (1): Add AArch64 relocation definitions. Rajalakshmi Srinivasaraghavan (2): benchtests: Add strsep benchmark benchtests: Add strtok benchmark Reuben Thomas (1): Fix typo in setlocale.c. Fixes BZ #15764 Richard Henderson (5): alpha: Improve conditions under which PTR_MANGLE is defined alpha: Fix signal thunk unwind info alpha: Convert <bits/mman.h> to <bits/mman-linux.h> alpha: Fix tls-macros.h alpha: Update libm-test-ulps Richard Sandiford (3): Make localedef output generation use more logical interfaces. Fix some types in localedef. Fix localedef collation handling of <U0000> (bug 15948). Roland McGrath (23): Use proper #include for xdecrypt declarations. Make stub lxstat64 call xstat64, like stub lxstat calls xstat. Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK. Replace generic bits/socket.h with 4.4 file. Clean up __libc_sa_len helper. True stub __ifreq. Mild decrufting in resolv code. Don't try to use ioctl unless [FIONREAD]. Cope without sunrpc. Clean up _res declaration to use __thread unconditionally. Clean up h_errno declaration to use __thread unconditionally. Fix up ChangeLog formatting. Make armv6t2 strlen work in ARM mode too. Use sfi_* macros in armv6t2 strlen. Update to canonical freemanuals.texi file. Fix up ChangeLog formatting. Adjust generic swapon prototype to match Linux version. Add missing #include for malloc/hooks.c code. ARM: Fix memcpy computed-jump calculations for ARM_ALWAYS_BX case. ChangeLog whitespace fix. Clean up setjmp use in dl-error.c. ARM: Disable compat mcount code when unneeded. Remove excessive redundant ChangeLog header lines. Ryan S. Arnold (1): Update generic swapon definition to match prototype. Sami Kerola (1): nscd: list all tables in usage() Samuel Thibault (3): Hurd: Use __executable_start symbol instead of _start. Add fork hooks for pthread_atfork Fix build on hurd Siddhesh Poyarekar (75): Simplify strcoll implementation Fix indentation in aicache.c Initialize res_hconf in nscd Use __glibc_unlikely instead of __builtin_expect (..., 0) Mark success return value as volatile to work around rescheduling Format sincos32.c Remove redundant goto lines Consolidate sin/cos computation for large inputs Consolidate sin/cos table lookup code New test cases for sin and cos for multiple precision fallback Add benchmark inputs for sincos Consolidate common code into macros Fall back to non-cached sequence traversal and comparison on malloc fail Check for integer overflow in cache size computation in strcoll Use the mutex member of the argumen in __libc_lock_*_recursive Move ChangeLog entry Fix PI mutex check in pthread_cond_broadcast and pthread_cond_signal Fix typo in manual Add more directives to benchmark input files Fix ChangeLog formatting Consolidate multiple precision sin/cos functions Format e_exp.c Format e_pow.c Add systemtap markers to math function slow paths Don't include tls.h in test cases Fix stack overflow due to large AF_INET6 requests Consolidate conditionals in mp sin/cos functions New inputs for exp Benchmark inputs for pow Add ChangeLog entry and fix NEWS for #16078 Fix reads for sizes larger than INT_MAX in AF_INET lookup Fix ChangeLog formatting Add systemtap probe markers for sin, cos, asin and acos Fix ChangeLog formatting Rename Oriya locale to Odia (bug 15601) Fix build warning in locarchive.c Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077) Add 16214 to NEWS Fix ChangeLog formatting Use herrnop directly [BZ #16195] Fix build warnings from systemtap probes in non-systemtap configurations benchtests: skip over blank lines in benchmark input files BZ #15941: Fix INSTALL file regeneration failure with makeinfo 5.x Fix ChangeLog formatting Remove unused variables in __stpncpy_chk Accept output arguments to benchmark functions benchtests: Append volatile keyword to type instead of prepending Use double constants instead of the struct number Consolidate definition of constant t22 benchmark inputs for exp2, log2, log and tan Minor code cleanup in s_sin.c Remove some redundant computations in s_sin.c Remove redundant arguments in reduce_and_compute Remove more redundant computations in s_sin.c Consolidate code to compute sin and cos from lookup tables benchmark inputs for asin and acos benchmark inputs for sinh and cosh benchmark inputs for asinh and acosh benchmark inputs for tanh and atanh benchmark inputs for atan Benchmark inputs for cos and sin Fix infinite loop in nscd when netgroup is empty (bz #16365) Fix return code from getent netgroup when the netgroup is not found (bz #16366) Correct inputs for sin and cos Don't use alloca in addgetnetgrentX (BZ #16453) Mention addition of multiple precision fallback libm probes in NEWS Adjust pointers to triplets in netgroup query data (BZ #16474) Avoid undefined behaviour in netgroupcache Fix invalid memory access when parsing netgroup files with blank lines (BZ #16506) Add bug entry for previous commit in NEWS Fix spaces before tabs Update contrib.texi Fix infinite loop in ftell when writing wide char data (BZ #16398) Update NEWS for #16398 Update contrib.texi Stefan Liebler (1): S/390: Increase tst-tls7 test case timeout Steve Ellcey (12): 2013-09-20 Steve Ellcey <sellcey@mips.com> 2013-09-20 Steve Ellcey <sellcey@mips.com> Remove trailing space. 2013-09-23 Steve Ellcey <sellcey@mips.com> 2013-09-19 Steve Ellcey <sellcey@mips.com> 2013-09-23 Steve Ellcey <sellcey@mips.com> 2013-09-23 Steve Ellcey <sellcey@mips.com> 2013-09-26 Steve Ellcey <sellcey@mips.com> 2013-09-26 Steve Ellcey <sellcey@mips.com> 2013-11-13 Steve Ellcey <sellcey@mips.com> Benchmark test for sqrt function. Add ChangeLog entry for sqrt tests. Thomas Schwinge (5): math: Additional type conversion tests [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases Use ELFOSABI_GNU instead of ELFOSABI_LINUX. Support ELFOSABI_GNU on all GNU systems. Hurd: Add ESUCCESS error_t value. Toke Høiland-Jørgensen (2): Add entries for U00D8 and U00F8. Update NEWS Tom Tromey (1): [AArch64] BZ #16169 Add CFI directives to clone.S Torvald Riegel (1): benchtests: Add include-sources directive. Ulrich Weigand (8): PowerPC64: Fix incorrect CFI in *context routines PowerPC64: Add __private_ss field to TCB header PowerPC64 ELFv2 ABI 1/6: Code refactoring PowerPC64 ELFv2 ABI 2/6: Remove function descriptors PowerPC64 ELFv2 ABI 3/6: PLT local entry point optimization PowerPC64 ELFv2 ABI 4/6: Stack frame layout changes PowerPC64 ELFv2 ABI 5/6: LD_AUDIT interface changes PowerPC64 ELFv2 ABI 6/6: Bump ld.so soname version number Uros Bizjak (1): Avoid "left shift count >= width of type" warnings in soft-fp code. Venkataramanan Kumar (1): [AArch64] Pointer mangling support for AArch64. Ville Skytta (1): Fix spelling in manual, as in bug 16376 Vinitha Vijayan (1): [BZ #15859] Fix memory leak in _dl_map_object_deps Wei-Lun Chao (4): New locale for nan_TW New locale for lzh_TW New locale for hak_TW New locale for cmn_TW Will Newton (33): sysdeps/arm/armv6t2/strlen.S: strlen implementation for armv6t2. ARM: Fix clone code when built for Thumb. benchtests/Makefile: Use LDLIBS instead of LDFLAGS. benchtests: Switch string benchmarks to use bench-timing.h. benchtests/Makefile: Run benchmark for memcpy. malloc: Add realloc test. malloc: Check for integer overflow in pvalloc. malloc: Check for integer overflow in valloc. malloc: Check for integer overflow in memalign. Mention closing 15855, 15856 and 15857 in NEWS. benchtests: Rename argument to TIMING_INIT macro. Add CVE-2013-4332 to NEWS. ARM: Improve armv7 memcpy performance. sysdeps/mach/hurd/i386/tls.h: Remove TLS_INIT_TP_EXPENSIVE. ports/sysdeps/arm/nptl/tls.h: Remove TLS_INIT_TP_EXPENSIVE. malloc: Add posix_memalign test. malloc/tst-valloc.c: Improve test coverage and use test-skeleton.c. malloc: Add pvalloc test. ARM: Add pointer encryption support. malloc: Add memalign test. malloc/tst-posix_memalign.c: Tidy up code. malloc/tst-pvalloc.c: Tidy up code. malloc/tst-valloc.c: Tidy up code. ARM: Allow building __longjmp as Thumb. ARM: Allow building __sigsetjmp as Thumb. malloc/hooks.c: Correct check for overflow in memalign_check. malloc: Fix for infinite loop in memalign/posix_memalign. manual/memory.texi: Remove register keyword from examples. aarch64: Enable ifunc support. manual/memory.texi: Bring aligned allocation docs up to date. manual/memory.texi: Document aligned_alloc. ARM: Don't apply pointer encryption to the frame pointer ARM: Fix clone build for ARMv4 Yogesh Chaudhari (1): Update gethostbyname2_r documentation. Fixes bug #156. Yuri Chornoivan (1): Fix typos. Yuriy Kaminskiy (1): Fix a thinko/typo in i686's memmove (aka __memmove_ia32). cjl (6): Add FSF statement to ayc_PE locale. Add FSF statement to ayc_PE locale. Add FSF statement to ayc_PE locale. Add country_car field to LC_ADDRESS Add country_car field to LC_ADDRESS Add country_car field to LC_ADDRESS -----------------------------------------------------------------------
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via cb43bb0d68f001fc3d6e054d712ab8794b5fd1de (commit) from 9be1052b6f7583fad365643169cfc6732c96aee3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cb43bb0d68f001fc3d6e054d712ab8794b5fd1de commit cb43bb0d68f001fc3d6e054d712ab8794b5fd1de Author: Cong Wang <xiyou.wangcong@gmail.com> Date: Tue Jan 6 16:13:19 2015 -0800 in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] Similarly to what we did for in6_addr, we need a macro to guard in6_pktinfo and ip6_mtuinfo too. Cc: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 8 ++++++++ inet/netinet/in.h | 3 ++- sysdeps/unix/sysv/linux/bits/in.h | 8 ++++---- 3 files changed, 14 insertions(+), 5 deletions(-)
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The annotated tag, glibc-2.22 has been created at be75ddf5e4dfab2aa4ceb2428cc146e7ea26a346 (tag) tagging 78bd7499af46d739ce94410eaeea006e874ca9e5 (commit) replaces glibc-2.21 tagged by Carlos O'Donell on Wed Aug 5 02:45:12 2015 -0400 - Log ----------------------------------------------------------------- The GNU C Library ================= The GNU C Library version 2.22 is now available. The GNU C Library is used as *the* C library in the GNU system and in GNU/Linux systems, as well as many other systems that use Linux as the kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2008. It is also internationalized and has one of the most complete internationalization interfaces known. The GNU C Library webpage is at http://www.gnu.org/software/libc/ Packages for the 2.22 release may be downloaded from: http://ftpmirror.gnu.org/libc/ http://ftp.gnu.org/gnu/libc/ The mirror list is at http://www.gnu.org/order/ftp.html NEWS for version 2.22 ===================== * The following bugs are resolved with this release: 438, 4719, 6544, 6792, 11216, 12836, 13028, 13064, 13151, 13152, 14094, 14292, 14841, 14906, 14958, 15319, 15467, 15790, 15969, 16159, 16339, 16350, 16351, 16352, 16353, 16361, 16512, 16526, 16538, 16559, 16560, 16704, 16783, 16850, 17053, 17090, 17195, 17269, 17293, 17322, 17403, 17475, 17523, 17542, 17569, 17581, 17588, 17596, 17620, 17621, 17628, 17631, 17692, 17711, 17715, 17776, 17779, 17792, 17833, 17836, 17841, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, 17967, 17969, 17977, 17978, 17987, 17991, 17996, 17998, 17999, 18007, 18019, 18020, 18029, 18030, 18032, 18034, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18128, 18134, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18219, 18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, 18324, 18333, 18346, 18371, 18383, 18397, 18400, 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18457, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522, 18527, 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, 18583, 18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619, 18633, 18641, 18643, 18648, 18657, 18676, 18694, 18696. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. * A buffer overflow in gethostbyname_r and related functions performing DNS requests has been fixed. If the NSS functions were called with a misaligned buffer, the buffer length change due to pointer alignment was not taken into account. This could result in application crashes or, potentially arbitrary code execution, using crafted, but syntactically valid DNS responses. (CVE-2015-1781) * The time zone file parser has been made more robust against crafted time zone files, avoiding heap buffer overflows related to the processing of the tzh_ttisstdcnt and tzh_ttisgmtcnt fields, and a stack overflow due to large time zone data files. Overly long time zone specifiers in the TZ variable no longer result in stack overflows and crashes. * A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors for LD and GD on x86 and x86-64, has been implemented. You will need binutils-2.24 or later to enable this optimization. * Character encoding and ctype tables were updated to Unicode 7.0.0, using new generator scripts contributed by Pravin Satpute and Mike FABIAN (Red Hat). These updates cause user visible changes, such as the fix for bug 17998. * CVE-2014-8121 The NSS backends shared internal state between the getXXent and getXXbyYY NSS calls for the same database, causing a denial-of-service condition in some applications. * Added vector math library named libmvec with the following vectorized x86_64 implementations: cos, cosf, sin, sinf, sincos, sincosf, log, logf, exp, expf, pow, powf. The library can be disabled with --disable-mathvec. Use of the functions is enabled with -fopenmp -ffast-math starting from -O1 for GCC version >= 4.9.0. Shared library libmvec.so is linked in as needed when using -lm (no need to specify -lmvec explicitly for not static builds). Visit <https://sourceware.org/glibc/wiki/libmvec> for detailed information. * A new fmemopen implementation has been added with the goal of POSIX compliance. The new implementation fixes the following long-standing issues: BZ#6544, BZ#11216, BZ#12836, BZ#13151, BZ#13152, and BZ#14292. The old implementation is still present for use be by existing binaries. * The 32-bit sparc sigaction ABI was inadvertently broken in the 2.20 and 2.21 releases. It has been fixed to match 2.19 and older, but binaries built against 2.20 and 2.21 might need to be recompiled. See BZ#18694. * Port to Native Client running on ARMv7-A (--host=arm-nacl). Contributed by Roland McGrath (Google). Contributors ============ This release was made possible by the contributions of many people. The maintainers are grateful to everyone who has contributed changes or bug reports. These include: Adhemerval Zanella Alan Modra Alexandre Oliva Andreas Schwab Andrew Senkevich Andriy Rysin Arjun Shankar Aurelien Jarno Benno Schulenberg Brad Hubbard Carlos O'Donell Chris Metcalf Christian Schmidt Chung-Lin Tang Cong Wang Cyril Hrubis Daniel Marjamäki David S. Miller Dmitry V. Levin Eric Rannaud Evangelos Foutras Feng Gao Florian Weimer Gleb Fotengauer-Malinovskiy H.J. Lu Igor Zamyatin J William Piggott James Cowgill James Lemke John David Anglin Joseph Myers Kevin Easton Khem Raj Leonhard Holz Mark Wielaard Marko Myllynen Martin Galvan Martin Sebor Matthew Fortune Mel Gorman Mike Frysinger Miroslav Lichvar Nathan Lynch Ondřej Bílka Paul Eggert Paul Pluzhnikov Pavel Kopyl Pravin Satpute Rajalakshmi Srinivasaraghavan Rical Jasan Richard Henderson Roland McGrath Rüdiger Sonderfeld Samuel Thibault Siddhesh Poyarekar Stefan Liebler Steve Ellcey Szabolcs Nagy Torvald Riegel Tulio Magno Quites Machado Filho Vincent Bernat Wilco Dijkstra Yaakov Selkowitz Zack Weinberg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJVwbEHAAoJECXvCkNsKkr//nwH/RbC+AmWbbrY7POeygVVxZVv 6ww/s4WOx3MJc0VNhQucelDCmRVRfKdoqtiex2bcysOiK2mv6K4efgYV7dkilT5O NhpjENGE2qCvRIeplmDdGDBTLwhxwcQoQXrFYtcayEXpeCHoJjSzY9PyeNWGvmLM eEah8kVPh6FsNf/YD28MXtChCpfoZf5IrVhXvn7+f2zPjUEy1PuHmo2kU9LzoCRu q3xtd8ICpVkAvFCoUnN7YEOITj3g9Qd+zGebfj8LpVL5zoQs9n2egSv+jIdNGQVI XuQ+oVXuMd9ho1p6LayZpTsY19jALxgk8ysnTzBofi+1Zkc8FTEB0fFdplDIwMg= =9uQ7 -----END PGP SIGNATURE----- Adhemerval Zanella (36): powerpc: multiarch Makefile cleanup for powerpc64 powerpc: Simplify bcopy default implementation powerpc: Remove POWER7 wordcopy ifunc powerpc: wordcopy/memmove cleanup for ppc64 powerpc: multiarch Makefile cleanup for powerpc32 powerpc: wordcopy/memmove cleanup for ppc32 powerpc: sysdeps/powerpc configure cleanup powerpc: drop R_PPC_REL16 check powerpc: Fix TABORT encoding for little endian powerpc: Fix memmove static build powerpc: Fix inline feraiseexcept, feclearexcept macros Update powerpc-fpu ULPs. powerpc: Fix incorrect results for pow when using FMA powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define powerpc: Fix __wcschr static build libc-vdso.h place consolidation Fix non-portable echo usage in sysdeps/unix/make-syscalls.sh Add BZ #16704 as fixed Fix stdlib/tst-setcontext3 with dash [BZ#18418] i386: Remove six-argument specialized implementations Remove socket.S implementation Consolidate vDSO macros and usage Consolidate gettimeofday across aarch64/s390/tile Update powerpc-fpu libm-test-ulps. Fix ChangeLog entry x86: clock_gettime and timespec_get vDSO cleanup Use inline syscalls for non-cancellable versions nptl: Rewrite cancellation macros Consolidate sched_getcpu x86: Remove vsyscall usage libio: fmemopen rewrite to POSIX compliance libio: Update tst-fmemopen2.c libio: Update powerpc64le libc.abilist Avoid C++ tests when the C++ cannot be linked libio: Fix fmemopen 'w' mode with provided buffer Update powerpc-fpu libm-test-ulps. Alan Modra (5): Fix localplt test breakage with new readelf Remove HAVE_ASM_PPC_REL16 references powerpc64 configure message powerpc __tls_get_addr call optimization Harden powerpc64 elf_machine_fixup_plt Alexandre Oliva (6): Unicode 7.0.0 update; added generator scripts. Amendments to Unicode 7 update. BZ #15969: search locale archive again after alias expansion Fix constness error just introduced in findlocale. Avoid unsafe loc_name type casts with additional variable Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage Andreas Schwab (16): Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug 17912) Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in pthread_mutexattr_gettype (BZ #15790) Fix failure of elf/tst-audit2 when compiled with GCC-5 Fix read past end of pattern in fnmatch (bug 18032) Fix parallel build error Don't define __CORRECT_ISO_CPP_STRING_H_PROTO for non-GCC compilers (bug 17631) m68k: fix 64-bit arithmetic in atomic operations (bug 18128) aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850) Separate internal state between getXXent and getXXbyYY NSS calls (bug 18007) Simplify handling of nameserver configuration in resolver Record TTL also for DNS PTR queries (bug 18513) Fix buffer overflow for writes to memory buffer stream (bug 18549) Update NEWS m68k: update libm test ULPs Fix spurious conform test failures Properly terminate FDE in makecontext for ix86 (bug 18635) Andrew Senkevich (29): This is the beginning of series of patches with addition Refactoring of START for conditions in individual tests Last part of changes regarding to libm-test.inc: addition This patch adds infrastructure for addition of SIMD This is update for configure, build and install of vector math library. Localplt testing for vector math library and libmvec_hidden_* macro series. This patch adds detection of availability for AVX512F and AVX512DQ ISAs. Start of series of patches with x86_64 vector math functions. Addition of testing infrastructure for vector math functions. Vector cosf for x86_64. This patch adds vector cosf tests. More strict check of AVX512 support in assembler. Vector sin for x86_64 and tests. Vector sinf for x86_64 and tests. Vector log for x86_64 and tests. Vector logf for x86_64 and tests. Vector exp for x86_64 and tests. Vector expf for x86_64 and tests. Vector pow for x86_64 and tests. Vector powf for x86_64 and tests. Vector sincos for x86_64 and tests. Vector sincosf for x86_64 and tests. Fixed powerpc64 build. Combination of data tables for x86_64 vector functions sin, cos and sincos. Combination of data tables for x86_64 vector functions sinf, cosf and sincosf. More correct description of linking with vector math library. Fixed several libmvec bugs found during testing on KNL hardware. Added runtime check for AVX vector math tests. Prevent runtime fail of SSE vector math tests on non SSE4.1 machine. Andriy Rysin (1): Fix sorting order for Ukrainian locale (BZ 17293) Arjun Shankar (4): CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow [BZ#18287] Ensure `wint_t' is defined before use in include/stdio.h Modify elf/tst-audit9.c to use test-skeleton.c Modify several tests to use test-skeleton.c Aurelien Jarno (1): Fix ldconfig segmentation fault with corrupted cache (Bug 18093). Benno Schulenberg (1): sprof: Make an error message identical to two others, and more accurate. Brad Hubbard (1): Use calloc to allocate xports (BZ #17542) Carlos O'Donell (15): Open development for 2.22. Fix missing ChangeLog attribution. NEWS: Fix spelling. Use alignment macros, pagesize and powerof2. hppa: Update libm-test-ulps. hppa: Fix feupdateenv and fesetexceptflag (Bug 18111). Enhance nscd's inotify support (Bug 14906). Bug 18125: Call exit after last linked context. Fail locale installation if localedef fails. Add sprintf benchmark. Fix ruserok scalability with large ~/.rhosts file. Add missing Advanced API (RFC3542) (1) defines. Regenerate libc.pot for 2.22 release. Updated translations for 2.22. Update version.h and include/features.h for 2.22 release Chris Metcalf (8): linux-generic: add a README tile: Enable PI_STATIC_AND_HIDDEN tile: use better variable naming in INLINE_SYSCALL math/test-fenvinline: avoid compiler warning tile: Regenerate ULPs. tst-leaks: raise timeout to 5 seconds tile: Fix BZ #18508 (makecontext yield infinite backtrace) tilepro: fix warnings in sysdeps/tile/tilepro/bits/atomic.h Christian Schmidt (1): Update currency_symbol in da_DK Chung-Lin Tang (5): Adjust timeouts for some tests, to accommodate slow processors, Fix order of arguments to rt_sigprocmask syscall when setting the signal mask Update Nios II ulps file. Add #include <string.h> to nptl/tst-join7mod.c to silence GCC warnings. Fixes extern protected data handling testcases elf/tst-protected1a Cong Wang (1): in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] Cyril Hrubis (1): Set errno to ENOMEM on overflow in sbrk (bug 18592) Daniel Marjamäki (1): Add __nonnull attribute to wcscpy and wcsncpy [BZ#18265] David S. Miller (7): Update SPARC ulps. Rebuilt fresh sparc ULPS to get rid of removed tests. Convert sparc over to lowlevellock-futex.h Sparc memchr/memcmp/strncmp fixes from Il'ya Malakhov. Update sparc localplt.data Fix sparc build. Regenerate SPARC ULPs. Dmitry V. Levin (3): Prepare for restoration of .interp section in libpthread.so _res_hconf_reorder_addrs: fix typo in comment Fix potential hanging of gethostbyaddr_r/gethostbyname_r Eric Rannaud (1): linux: open and openat ignore 'mode' with O_TMPFILE in flags Evangelos Foutras (1): Fix __memcpy_chk on non-SSE2 CPUs Feng Gao (1): Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags Florian Weimer (32): NEWS: Also mention CVE-2015-1473 _nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS vfprintf: Introduce THOUSANDS_SEP_T vfprintf: Introduce JUMP_TABLE_BASE_LABEL vfprintf: Define WORK_BUFFER_SIZE Avoid SIGFPE in wordexp [BZ #18100] pthread_setaffinity (Linux variant): Rewrite to use VLA instead of alloca Define libc_max_align_t for internal use Add struct scratch_buffer and its internal helper functions scratch_buffer_grow_preserve: Add missing #include <string.h> pldd: Use struct scratch_buffer instead of extend_alloca grp: Rewrite to use struct scratch_buffer instead of extend_alloca _nss_compat_initgroups_dyn: Use struct scratch_buffer instead of extend_alloca getnameinfo: Use struct scratch_buffer instead of extend_alloca nscd_getgr_r: Use struct scratch_buffer instead of extend_alloca scratch_buffer: Suppress truncation warning on 32-bit Do not build with -Winline Make time zone file parser more robust [BZ #17715] posix_fallocate, posix_fallocate64 stub: Do not set errno test-skeleton: Support temporary files without memory leaks [BZ#18333] CVE-2014-8121: Do not close NSS files database during iteration [BZ #18007] NEWS: BZ#18319 was fixed in commit ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802 i386: Remove fallocate, fallocate64, posix_fallocate, posix_fallocate64 __ASSUME_FALLOCATE is always true on 32-bit architectures vfprintf: Move jump table definition and the macros out of function vfprintf: Introduce printf_positional function vfprintf: Remove label name switching for the jump table Avoid some aliasing violations in libio Fix indentation to match nesting in previous commit posix_fallocate: Emulation fixes and documentation [BZ #15661] Commit 7fe9e2e089f4990b7d18d0798f591ab276b15f2b fixes [BZ# 17322] pthread_key_create: Fix typo in comment Gleb Fotengauer-Malinovskiy (1): nptl: restore .interp section in libpthread.so H.J. Lu (23): Compile gcrt1.o with -fPIC Compile vismain with -fPIE and link with -pie Replace ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY Replace __attribute__((visibility("protected"))) Preserve bound registers in _dl_runtime_resolve Add ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA to x86 Add a testcase for copy reloc against protected data Limit threads sharing L2 cache to 2 for SLM/KNL Check tzspec_len == 0 in __tzfile_read Remove a trailing `\' in make-syscalls.sh Don't issue an error if DT_PLTRELSZ is missing Make sure that calloc is called at least once Don't issue errors on GDB Python files Align TCB offset to the maximum alignment Support compilers defaulting to PIE Add a testcase for i386 LD_AUDIT Add and use sysdeps/i386/link-defines.sym Add la_symbind32 to x86-64 audit tests Improve bndmov encoding with zero displacement Replace %ld with %jd and cast to intmax_t Sort NEWS Add si_addr_bnd to _sigfault in x86 struct siginfo Extend local PLT reference check Igor Zamyatin (1): Preserve bound registers for pointer pass/return J William Piggott (1): [BZ #17969] James Cowgill (1): [BZ #17930] MIPS: Define SHM_NORESERVE. James Lemke (1): Fix for test "malloc_usable_size: expected 7 but got 11" John David Anglin (2): hppa: fix __O_SYNC to match the kernel hppa: Fix feholdexcpt and fesetenv (Bug 18110). Joseph Myers (162): soft-fp: Support floating-point extensions without quieting sNaNs. soft-fp: Refine FP_EX_DENORM handling for comparisons. soft-fp: Fix _FP_FMA when product is zero and third argument is finite (bug 17932). Remove sysdeps/mips soft-fp subdirectories. Fix sincos errno setting (bug 15467). Fix exp2 spurious underflows (bug 16560). Fix powerpc software sqrt (bug 17964). Fix powerpc software sqrtf (bug 17967). Fix dbl-64/wordsize-64 remquo (bug 17569). Fix MIPS __mips_isa_rev -Werror=undef build. Fix MIPS _COMPILING_NEWLIB -Werror=undef build. Fix MIPS _ABIO64 -Werror=undef build. Fix remquo spurious overflows (bug 17978). Fix sign of remquo zero remainder in round-downward mode (bug 17987). Refine documentation of libm exceptions goals. Fix posix_spawn getrlimit64 namespace (bug 17991). Fix search.h namespace (bug 17996). Fix atan / atan2 missing underflows (bug 15319). Fix scandir scandirat namespace (bug 17999). soft-fp: Adjust call to abort for kernel use. Fix x86/x86_64 scalb (qNaN, -Inf) (bug 16783). Fix ldbl-128ibm acoshl inaccuracy (bug 18019). Fix ldbl-128ibm asinhl inaccuracy (bug 18020). Fix ldbl-128ibm ilogbl near powers of 2 (bug 18029). Fix ldbl-128ibm logbl near powers of 2 (bug 18030). Fix asin missing underflows (bug 16351). Fix ldbl-128/ldbl-128ibm acosl inaccuracy (bug 18038, bug 18039). Avoid uninitialized warnings in Bessel functions. Avoid -Wno-write-strings for k_standard.c. Add comment to CSTR macro in k_standard.c. Fix ldbl-96, ldbl-128ibm atanhl inaccuracy (bug 18046, bug 18047). Correct __ASSUME_PRLIMIT64 for hppa/microblaze/sh (bug 17779). soft-fp: Condition sfp-machine.h include path on __KERNEL__. Fix /* in comment in previous commit. soft-fp: Support conditional zero-initialization in declarations. soft-fp: Use multiple-include guards. Add test for bug 18104. soft-fp: Add _FP_UNREACHABLE. soft-fp: Define and use _FP_STATIC_ASSERT. Make sem_timedwait use FUTEX_CLOCK_REALTIME (bug 18138). Note old commit as having resolved bug 11505. Add more tests of log2. Regenerate x86_64, x86 ulps from scratch. Add more tests of cosh, sinh. Add more tests of expm1. Add more tests of acos. Support six-argument syscalls from C for 32-bit x86, use generic lowlevellock-futex.h (bug 18138). Add more tests of asin. Remove unused macros from i386 lowlevellock.h. Add another test of asin. Add more tests of acosh, asinh and atanh. Fix dbl-64 atan in non-default rounding modes (bug 18197). Fix dbl-64 atan2 in non-default rounding modes (bug 18210, bug 18211). Add more tests of cabs. Add more tests of cbrt. Add more tests of atan. Add more tests of atanh. Add more tests of clog and clog10. Fix strtof decimal rounding close to half least subnormal (bug 18247). Fix ldbl-128 roundl for exponents in [31, 47] (bug 18346). Remove MIPS version of waitid.c. Add further tests of cosh and sinh. Add more tests of csqrt. Add more tests of erf, erfc. Add more tests of exp, exp10, exp2, expm1. Add more tests of log, log10, log1p, log2. Add more tests of lgamma. Add another test of pow. Add more tests of cos, sin, sincos. Add more tests of tan. Add more tests of tanh. Add more tests of tgamma. Add more tests of libm functions. Add further tests of libm functions. Add more tests of acosh, atanh, cos, csqrt, erfc, sin, sincos. Add more tests of csqrt, lgamma, log10, sinh. Fix mips16 __fpu_control static linking (bug 18397). Fix linknamespace test handling of architecture-specific st_other. Fix log1p missing underflows (bug 16339). Fix atanf spurious underflows (bug 18196). Fix erfcf spurious underflows (bug 18217). Fix lgammaf spurious underflows (bug 18220). Fix tanf spurious underflows (bug 18221). Fix atanhl missing underflows (bug 16352). Fix i386 atanhl spurious underflows (bug 18049). Fix ldbl-96 remquol (finite, Inf) (bug 18244). conformtest: clean up POSIX expectations for unistd.h. conformtest: correct POSIX expectations for locale.h. conformtest: use proper _POSIX_C_SOURCE value for POSIX. linknamespace: whitelist re_syntax_options. Fix sysdeps/ieee754/dbl-64/mpa.c for -Wuninitialized. Fix lgamma implementations for -Wuninitialized. Fix pathconf basename namespace (bug 18444). Restore _POSIX2_C_VERSION definition (bug 438). Fix ldbl-128 / ldbl-128ibm asinl for -Wuninitialized. Fix ldbl-128 / ldbl-128ibm erfcl for -Wuninitialized Fix ldbl-128 / ldbl-128ibm tanl for -Wuninitialized. Fix soft-fp fma for -Wuninitialized. Fix fnmatch towlower namespace (bug 18469). Use libc_hidden_proto / libc_hidden_def with __strnlen. Use better variable names in MIPS syscall macros. Fix fnmatch wmemchr namespace (bug 18468). Fix fnmatch strnlen namespace (bug 18470). Fix regex wctype namespace (bug 18495). Fix psignal, psiginfo declaration conditions (bug 18483). Fix regex wcrtomb namespace (bug 18496). Fix open_memstream namespace (bug 18498). Say "C++ tests" in comment on __open_memstream declaration. Fix pathconf statvfs namespace (bug 18507). Fix regcomp wcscoll, wcscmp namespace (bug 18497). Fix h_errno namespace (bug 18520). Fix ecvt_r, fcvt_r namespace (bug 18522). Fix aio_* pread namespace (bug 18519). Fix getlogin_r namespace (bug 18527). Fix grp.h endgrent, getgrent namespace (bug 18528). Fix netdb.h addrinfo namespace (bug 18529). Fix syslog fputs_unlocked namespace (bug 18530). Fix linknamespace expectations for in6addr_any, in6addr_loopback. Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532). Fix vsyslog namespace (bug 18533). Fix syslog dprintf namespace (bug 18534). Fix sem_* tdelete, tfind, tsearch, twalk namespace (bug 18536). Fix fmtmsg addseverity namespace (bug 18539). Fix getpass fflush_unlocked namespace (bug 18540). Fix swscanf vswscanf namespace (bug 18542). Fix mq_notify pthread_barrier_* namespace (bug 18544). Create hidden aliases for non-libc syscalls automatically. Fix mq_receive, mq_send mq_timed* namespace (bug 18545). Fix mq_notify socket, recv namespace (bug 18546). Fix ttyslot namespace (bug 18547). Fix nice getpriority, setpriority namespace (bug 18553). Remove ldbl-128ibm variants of complex math functions. Fix netinet/in.h MCAST_* namespace (bug 18558). Remove stray spurious-underflow markings from cexp test. Remove include/bits/ipc.h. Fix asinh missing underflows (bug 16350). conformtest: Support xfail markers on individual assertions. conformtest: Fix pselect expectations. Fix x86 / x86_64 expl, exp10l missing underflows (bug 16361). Correct ChangeLog syntax for conditional change within function. Fix x86_64 / x86 expm1l (-min_subnorm) result sign (bug 18569). Fix expm1 missing underflows (bug 16353). Fix exp2, exp2f spurious underflows (bug 18219). Fix csqrt spurious underflows (bug 18371). Fix math/Makefile dependency on libm-test.stmp for libmvec tests. Fix spurious "inexact" exceptions from __kernel_standard_l (bug 18245, bug 18583). Fix sin, sincos missing underflows (bug 16526, bug 16538). Fix ldbl-128 expl missing underflows (bug 18586). Fix csin, csinh overflow in directed rounding modes (bug 18593). Move csin, csinh tests to auto-libm-test-in. Fix cexp, ccos, ccosh, csin, csinh spurious underflows (bug 18594). Refactor libm tests. Use round-to-nearest internally in jn, test with ALL_RM_TEST (bug 18602). Update headers for Linux 4.0, 4.1 definitions. Fix j1, jn missing underflows (bug 16559). Fix ldbl-128 j1l spurious underflows (bug 18612). Improve tgamma accuracy (bug 18613). Regenerate MIPS libm-test-ulps. Regenerate ARM libm-test-ulps. Regenerate powerpc-nofpu libm-test-ulps. Fix ldbl-128 expm1l (-min_subnorm) result sign (bug 18619). Mark bug 2981 (elf/tst-audit* fail on MIPS) as fixed. Kevin Easton (1): Reduce lock contention in __tz_convert() [BZ #16145] (partial fix) Khem Raj (2): Reflect renaming of bh_IN and tu_IN in SUPPORTED file [BZ #17475] locale: Do not define lang_ab for tcy_IN and bhb_IN Leonhard Holz (6): Remove unused definitions Improve strcoll with strdiff. Split locale generation snippet into a separate file Add strcoll benchmark remove now unused idxnow in strcoll remove unnecessary memset in strcoll Mark Wielaard (2): elf.h SHF_EXCLUDE signed int 31 bit shift triggers undefined behaviour. elf.h: Add section compression constants and structures. Marko Myllynen (4): Fix bo_CN and bo_IN. Fix monetary.h comment Remove unused PREDEFINED_CLASSES code locale: Remove obsolete repertoire map references Martin Galvan (2): NPTL: swap comments for THREAD_SETMEM and THREAD_SETMEM_NC for i386 and x86_64 NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP Martin Sebor (4): powerpc: setcontext.S uses power6 mtfsf when not supported [BZ #18116] Attempting to install glibc configured with --prefix=/usr into The C++ 2011 std::call_once function is specified to allow The patch committed to fix bug #18435 caused regressions on aarch64 Matthew Fortune (2): ia64: remove fixed page size macros and others [BZ #17792] Add support for DT_MIPS_RLD_MAP_REL. Mel Gorman (2): malloc: Consistently apply trim_threshold to all heaps [BZ #17195] malloc: Do not corrupt the top of a threaded heap if top chunk is MINSIZE [BZ #18502] Mike Frysinger (27): ia64: drop custom getpagesize hppa: fix build failure with RTLD_PRIVATE_ERRNO add changelog for previous commit alloca: fix buf interaction manual: drop strerror C89 compatibility note hppa: update __O_SYNC fix with [BZ #18068] pwd.h: add __nonnull markings [BZ #18641] nscd: drop selinux/flask.h include tst-tzset: raise timeout to 5 seconds hppa/ia64: _dl_symbol_address: add PLT bypass for rtld hppa/ia64: _dl_unmap: make it hidden sparc: fix sigaction for 32bit builds [BZ #18694] ia64: siginfo.h: delete siginfo name ia64: sifaction.h: change sa_flags to an int ia64: stat.h: rename pad0 to __glibc_reserved0 ia64: msg.h: fix msg_qnum/msg_qbytes types ia64: sigaction.h: fix sa_flags ordering conform/linknamespace: whitelist matherrf/matherrl pwd.h: revert __nonnull markings on putpwent [BZ #18641] ia64: clean up old kernel headers cruft ia64: atomic.h: fix atomic_exchange_and_add 64bit handling ia64: drop __tls_get_addr from expected ld.so plt usage hppa: rewrite INLINE_SYSCALL hppa: fix sysdep.h header setup hppa: sigaction.h: change sa_flags to an int hppa: fix pthreadtypes.h namespace failures hppa: add bz entry for pthreadtypes.h fix Miroslav Lichvar (1): Update timex.h for ADJ_SETOFFSET. Nathan Lynch (1): ARM: VDSO support Ondřej Bílka (2): Handle mblen return code when n is zero. Use strspn/strcspn/strpbrk ifunc in internal calls. Paul Eggert (6): Add ersatz _Static_assert on older C hosts * manual/time.texi (TZ Variable): glibc no longer comes with tzdata. * stdlib/setenv.c (__add_to_environ): * stdlib/setenv.c (__add_to_environ): Revert previous change. Better fix for setenv (..., NULL, ...) Remove obsolete aliases that broke 'locale -a' Paul Pluzhnikov (13): Cleanup: add missing #include's Fix BZ #17269 -- _IO_wstr_overflow integer overflow Fix BZ #17916 - fopen unbounded stack usage for ccs= modes Fix minor formatting violation. Fix BZ 18036 buffer overflow (read past end of buffer) in internal_fnmatch Fix BZ #18043: buffer-overflow (read past the end) in wordexp/parse_dollars/parse_param Cleanup: in preparation for fixing BZ #16734, fix memory leaks exposed by Refactor wordexp-test.c such that words always ends at the edge of Fix off-by-one which caused BZ #18042 and add a test for it. Mention BZ #18042 in NEWS. Fix BZ #18043 (c4): buffer-overflow (read past the end) in wordexp/parse_dollars/parse_param Minor refactoring: Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1). Pavel Kopyl (1): Add forced deletion support to _dl_close_worker Pravin Satpute (1): Correcting language code for Bhili and Tulu locales (bug 17475) Rajalakshmi Srinivasaraghavan (2): powerpc: POWER7 strncpy optimization for unaligned string powerpc: strstr optimization Rical Jasan (1): manual: complete example in error message documentation Richard Henderson (5): alpha: Unconditionally include dl-sysdep.h in sysdep.h alpha: Update libm-test-ulps math/test-fenvinline: Cast fe_exc to unsigned int before printing alpha: Update libm-test-ulps soft-fp: Fix alpha kernel build problem Roland McGrath (97): Clean up sysdep-dl-routines variable. Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. x86: Clean up __vdso_clock_gettime variable. Clean up NPTL fork to be compat-only. Clean up NPTL longjmp to be compat-only. Clean up NPTL system to be compat-only. Clean up nptl/tst-join5 use of nanosleep. Fix nptl/tst-kill5 not to presume SIGRTMAX exists. Fix dirent/tst-fdopendir not to presume O_NOATIME exists. Fix libio/tst-atime not to presume ST_NOATIME exists. Move tst-getlogin to login/ subdirectory. Do not use SA_NOCLDWAIT in tst-pselect. Conditionalize some tests' use of SA_SIGINFO. Use signal rather than sigaction in nptl/tst-cleanup2. NPTL: Build tests using clone directly only for Linux. Don't set unused field in rt/tst-timer2. Conditionalize use of SIGRTMIN in nptl/tst-locale1.c. NPTL: Conditionalize some sanity tests for SIGCANCEL/SIGSETXID. ARM: Add missing sfi_breg in LDR_GLOBAL macro. Clean up math/test-snan. Pointless update in README. Another pointless update in README. Support after-link variable to run a final step on binaries. Use -Werror=undef for assembly code. NPTL: Initializer for .init_array-only configurations. Add placeholder c++-types.data and *.abilist files. Don't crash in iconv setup when getcwd fails. Convert tst-iconv5 to use test-skeleton. Convert tst-iconv3 to use test-skeleton. Convert dlfcn/tststatic2 to use test-skeleton. Deglobalize internal variables in timer_routines.c. Avoid C++ tests when the C++ cannot be linked. Avoid more C++ tests. Conditionalize some test code for SIGRTMIN, SA_SIGINFO. Split rpcent tests out of tst-netdb. Define ETH_ALEN in generic <netinet/if_ether.h>. Avoid re-exec-self in bug-setlocale1. ChangeLog format Document test-wrapper-env-only in INSTALL. Harmonize posix/regcomp.c with gnulib: comment formatting Let tests result in UNSUPPORTED; use that for unbuildable C++ cases ARM: Rewrite sysdeps/arm/tls-macros.h ARM: Fix memcpy & memmove for [ARM_ALWAYS_BX] Minor cleanups in libio/iofdopen.c Convert dlfcn/tststatic to use test-skeleton. Make test-skeleton.c grok TEST_DIRECT magic environment variable. Let non-add-on preconfigure scripts set libc_config_ok. Omit libc-modules.h for all .v.i files. Add arm-nacl port. Fuller check for invalid NSID in _dl_open. Avoid confusing compiler with dynamically impossible statically invalid dereference in _dl_close_worker. ARM: Define PI_STATIC_AND_HIDDEN. NaCl: Make __suseconds_t be long int rather than int32_t. NaCl: Fix symbol names for euidaccess. NaCl: Change clock_t to long int. NaCl: Fix elf_loader file name in nacl-test-wrapper.sh BZ#18383: Add test case for large alignment in TLS blocks. NaCl: Implement gethostname. NaCl: Provide non-default values for uname. Add a test case for scandir. Break __scandir_cancel_handler out into its own file. Refactor scandir/scandirat to use common tail. Nit fixes in last change. NaCl: Make fdopendir skip fcntl check. Refactor opendir. BZ#18434: Fix sem_post EOVERFLOW check for [!__HAVE_64B_ATOMICS]. BZ#18434: Mark fixed in NEWS. Move usleep.c using nanosleep to sysdeps/posix. NaCl: Set tid field to a unique value. Fix nptl-init.c use of INTERNAL_SYSCALL_DECL. Split timed-wait functions out of nptl/lowlevellock.c. NaCl: Add NaCl-specific __lll_timedlock_wait. NaCl: Fix thinko in last change. NaCl: Fix lll_futex_timed_wait timeout calculation. NaCl: Make thread exit wake pthread_join. Fix setenv.c diagnostic pragma to be compatible with GCC 4.6 BZ#18383: Another test case, with TLS refs and defs in separate TUs. NaCl: Implement nacl_interface_ext_supply entry point. Line-wrap some log entries. Print more information in tst-getcpu failure case. NaCl: Fix glob.c build after getlogin_r -> __getlogin_r. Use unsigned types for counters in AIO code. Use unsigned types for counters in getaddrinfo_a code. NPTL: Use unsigned type for setxid_futex. Install a dummy <rpc/netdb.h> when not building sunrpc/. Fix some places to use $(LN_S) makefile variable. BZ#18383: Conditionalize test-xfail-tst-tlsalign{,-static} on ARM assembler bug. PLT avoidance for _exit in rtld. Provide __libc_fatal for rtld. NaCl: Make pthread_condattr_setclock reject CLOCK_MONOTONIC. Factor file identity rules out of generic rtld code. Add abilist files and NEWS item for arm-nacl port. NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename. NaCl: Fix missing getdtablesize symbol. Add SIGWINCH to generic <bits/signum.h>. Make sysdeps/posix bring in login subdir. NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions. Rüdiger Sonderfeld (1): Document tv_sec is of type time_t: Samuel Thibault (28): hurd: fix build with pthread aio hurd: fix f?chflags prototypes, declare them and their flags hurd: allow poll() array bigger than FD_SETSIZE hurd: map nice levels 1-to-1 with Mach prio levels hurdselect: Let select get interrupted by signals hurd: fix sigstate locking hurdselect: remove dead code. hurd: support mmap with PROT_NONE hurd: add basic types for ioctls hurd: fix compilation of signal.h in C++ hurd: fix compilation of signal.h in C++ hurd: Ignore bytes beyond sockaddr length for AF_UNIX hurd: fix tls.h build hurd: Fix abi-tag, following ba90e05 Fix time/getdate.c build. add hurd/hurdsocket.h file missing from a5eb23d hurd: fix unwind-resume.c build hurd: fix unwind-resume.c build Add fixed bug numbers to NEWS Revert "hurd: Fix abi-tag, following ba90e05" Fix aio_error thread-safety. hurd: Make libc able to call pthread stubs Add missing dependency Fix warnings Fix visibility of EXTPROC macro Add more exception to local headers list mach: fix typo hurd: permit to use mlock from non-root process Siddhesh Poyarekar (25): Consolidate arena_lookup and arena_lock into a single arena_get Skip logging for DNSSEC responses [BZ 14841] Fix up NEWS merge goof-up Update NEWS Minor changelog fixup Add *.pyc to .gitignore Add envz_remove to the libc manual Succeed if make check does not report any errors Avoid deadlock in malloc on backtrace (BZ #16159) Fix typo in safety annotations in envz_remove Fix monetary.h comment New module to import and process benchmark output benchtest: script to compare two benchmarks Avoid boolean coercion in tst-tls-atexit test case Remove unnecessary mutex locks from tst-tls-atexit test case Whitespace fix in tst-tls-atexit.c Fix up ChangeLog Fix up typo in tst-tls-atexit Set NODELETE flag when opening already open objects with RTLD_NODELETE Whitespace fixup in cxa_thread_atexit_impl.c Add comment to clarify how the test can fail Remove Linuxism from tst-tls-atexit Also use l_tls_dtor_count to decide on object unload (BZ #18657) Mention dl_load_lock by name in the comments Use IE model for static variables in libc.so, libpthread.so and rtld Stefan Liebler (18): S390: Build failure due to nptl/pt-longjmp.c changes. s390: Use generic lowlevellock-futex.h S/390: Regenerate ULPs S/390: Fix setcontext/swapcontext which are not restoring sigmask. Update tst_mbrlen/tst_mbrtowc for mblen change Set errno for log1p on pole/domain error. Use correct signedness in wcsncmp S/390: Get cache information via sysconf S/390: Regenerate ULPs Adjust tst-strfmon1 after da_DK locale change. S/390: Regenerate ULPs Fix timezone tests run in parallel. Fix benchtests build failure after 'add benchmark for strcoll' S390: Fix sem.h conformance test failures. S390: Regenerate ULPs. S390: Fix "backtrace() returns infinitely deep stack frames with makecontext()" [BZ #18508]. S390: Regenerate ULPs i686: Mark stdlib/tst-makecontext as XFAIL. Steve Ellcey (6): 2015-02-13 Steve Ellcey <sellcey@imgtec.com> 2015-02-17 Steve Ellcey <sellcey@imgtec.com> 2015-02-17 Steve Ellcey <sellcey@imgtec.com> 2015-02-18 Steve Ellcey <sellcey@imgtec.com> * inet/rcmd.c (rresvport_af): Change ss to anonymous union * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to Szabolcs Nagy (11): [AArch64] Fix the big endian loader name. [AArch64] Fix inline asm clobber list in tls-macros.h struct stat is not posix conform [BZ 18034][AArch64] Lazy TLSDESC relocation data race fix [AArch64] Fix cfi_adjust_cfa_offset usage in dl-tlsdesc.S Regenerate aarch64 libm-test-ulps [AArch64] make setcontext etc functions consistent with the kernel [AArch64][BZ 18400] fix elf_prpsinfo in procfs.h [AArch64][BZ 18648] change greg_t definition in ucontext.h [AArch64][BZ #17711] Fix extern protected data handling [ARM][BZ #17711] Fix extern protected data handling Torvald Riegel (11): Make error checking effective in nptl/tst-cond25.c. ia64: Remove custom lowlevellock.h Fix lost wake-up when pthread_rwlock_timedrwlock times out. Fix missing wake-ups in pthread_rwlock_rdlock. Fix atomic_full_barrier on x86 and x86_64. Clean up BUSY_WAIT_NOP and atomic_delay. Remove documentation of lowlevellock systemtap probes. Do not create invalid pointers in C code of string functions. Add and use new glibc-internal futex API. Clean up semaphore EINTR handling after Linux futex docs clarification. hppa: Remove custom lowlevellock.h. Tulio Magno Quites Machado Filho (2): BZ #18116: Mark fixed in NEWS. Avoid outputting to TTY after an expected memory corruption in testcase Vincent Bernat (1): time: ensure failing strptime() tests are reported correctly Wilco Dijkstra (14): Rather than using a C implementation of memset, directly call memset, which Rather than using a C implementation of memmove, directly call memmove, which Use __copysign rather than copysign. 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com> Remove various ABS macros and replace uses with fabs (or in one case abs) Add missing math_private includes. 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com> 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com> This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code. Replace finite with isfinite. Remove unused file sysdeps/ieee754/support.c Inline __ieee754_sqrt and __ieee754_sqrtf. Also add external definitions. Optimize the strlen implementation by using a page cross check and a fast check Add AArch64 versions of math_opt_barrier and math_force_eval that avoid going via memory. Yaakov Selkowitz (1): manual: fix XPG basename prototype Zack Weinberg (1): Deprecate the use of regexp.h -----------------------------------------------------------------------