]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow [BZ#18287]
[thirdparty/glibc.git] / ChangeLog
index a7bd5b743ca315cc5244b3f579862c01ef8ea8ae..26dcfc715c48928d88388d0fcd8929da6a272489 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,788 @@
+2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
+
+       [BZ #18287]
+       * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
+       based on padding.  (CVE-2015-1781)
+
+2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
+       libc-vdso.h.
+       * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
+       * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
+       * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
+       * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
+       * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
+
+2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stdlib/setenv.c (__add_to_environ):
+       Dump core quickly if setenv (..., NULL, ...) is called.
+       This time, do it the right way, and pacify GCC with a pragma.
+
+2015-04-17  Roland McGrath  <roland@hack.frob.com>
+
+       * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
+       IMAP->l_prev cannot be null, and #if out the code for the contrary
+       case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
+       believe that NS (&_dl_ns[NSID]) could point outside the array.
+
+       * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
+       check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
+       before using NSID as an index.
+
+2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
+
+       [BZ #17825]
+       * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
+       * sysdeps/sparc/sparc64/memcmp.S: Likewise.
+       * sysdeps/sparc/sparc64/strncmp.S: Likewise.
+
+2015-04-17  Roland McGrath  <roland@hack.frob.com>
+
+       Add preliminary port to Google Native Client on ARM.
+       * abi-tags (.*-.*-nacl.*): New entry.
+       * sysdeps/arm/nacl: New directory.
+       * sysdeps/nacl: New directory.
+
+2015-04-16  David S. Miller  <davem@davemloft.net>
+
+       * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
+       lowlevellock-futex.h
+
+2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
+
+       * sysdeps/tile/configure.ac: New file.
+       * sysdeps/tile/configure: Regenerated.
+
+2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
+       conditionals for weak_alias and libc_hidden_weak.
+       * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
+       libc_hidden_weak and weak_alias.
+       * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
+       Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
+       and weak_alias for static one.
+
+2015-04-15  David S. Miller  <davem@davemloft.net>
+
+       * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
+
+2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       [BZ #18206]
+       * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
+         Use signed comparision instead of substraction to avoid
+         overflow bug.
+       * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
+         Take the sign of ret.
+       * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
+         Do not expect precise return values. Only the sign matters.
+       * wcsmbs/Makefile (strop-tests): Add wcsncmp.
+       * wcsmbs/test-wcsncmp.c: New File.
+       * string/test-strncmp.c: Add wcsncmp support.
+
+2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       [BZ #6792]
+       * math/w_log1p.c: New file.
+       * math/w_log1pf.c: Likewise.
+       * math/w_log1pl.c: Likewise.
+       * math/Makefile (libm-calls): Add w_log1p.
+       * math/s_log1pl.c (log1pl): Remove weak_alias.
+       * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
+       * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
+       * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
+       * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
+       * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
+       [NO_LONG_DOUBLE] (log1pl): Likewise.
+       * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
+       * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
+       * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
+       (log1p): Remove long_double_symbol.
+       * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
+       * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
+       * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
+       remove weak_alias for corresponding log1p function.
+       * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
+       * sysdeps/ia64/fpu/w_log1p.c: New file.
+       * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
+       * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
+       * math/libm-test.inc (log1p_test_data): Add errno expectations.
+
+2015-04-10  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18247]
+       * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
+       decimal exponent by 1.
+       * stdlib/tst-strtod-round-data: Add more tests.
+       * stdlib/tst-strtod-round.c (tests): Regenerated.
+
+2015-04-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of clog and clog10.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-04-09  Roland McGrath  <roland@hack.frob.com>
+
+       * Makeconfig (module-cppflags): Exclude all .v.i files.
+       (skip-module-cppflags): Variable removed.
+
+       * configure.ac (libc_config_ok): Initialize before reading
+       preconfigure scripts, not after.
+       * configure: Regenerated.
+
+       * test-skeleton.c (TIMEOUT): Move #define to top level.
+       (main): Grok environment variable TEST_DIRECT.  If set, print
+       test expectation details into that file and then behave as if
+       given --direct.
+
+2015-04-09  Florian Weimer  <fweimer@redhat.com>
+
+       * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
+       warning on 32-bit.
+
+2015-04-08  David S. Miller  <davem@davemloft.net>
+
+       * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2015-04-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of atanh.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * math/auto-libm-test-in: Add more tests of atan.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-04-08  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/pldd.c (main): Rewrite to use struct
+       scratch_buffer instead of extend_alloca.
+       * elf/pldd-xx.c (find_maps): Likewise.
+       * grp/initgroups.c: Include <scratch_buffer.h> instead of
+       <alloca.h>.
+       * grp/compat-initgroups.c (compat_call): Rewrite to use struct
+       scratch_buffer instead of extend_alloca.
+       * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
+       grp/compat-initgroups.c.
+       * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
+       Rewrite to use struct scratch_buffer instead of extend_alloca.
+       * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
+       * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
+
+2015-04-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of cbrt.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
+       * math/auto-libm-test-in: Add more tests of cabs.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       [BZ #18210]
+       [BZ #18211]
+       * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
+       (__ieee754_atan2): Set FE_TONEAREST mode for internal
+       computations.
+       * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
+       clog10.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       [BZ #18197]
+       * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
+       (atan): Set FE_TONEAREST mode for internal computations.
+       * math/auto-libm-test-in: Add more tests of atan.
+       * math/auto-libm-test-out: Regenerated.
+
+2015-04-07  James Cowgill  <james410@cowgill.org.uk>
+
+       [BZ #17930]
+       * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
+
+2015-04-07  Florian Weimer  <fweimer@redhat.com>
+
+       * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
+
+2015-04-07  Florian Weimer  <fweimer@redhat.com>
+
+       * include/scratch_buffer.h: New file.
+       * malloc/scratch_buffer_grow.c: Likewise.
+       * malloc/scratch_buffer_grow_preserve.c: Likewise.
+       * malloc/scratch_buffer_set_array_size.c: Likewise.
+       * malloc/tst-scratch_buffer.c: Likewise.
+       * malloc/Makefile (routines): Add scratch_buffer_grow.
+       (tests): Add test case.
+       * malloc/Versions (GLIBC_PRIVATE): Export
+       __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
+       __libc_scratch_buffer_set_array_size.
+
+2015-04-06  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
+       * sysdeps/alpha/fpu/libm-test-ulps: Update.
+
+       * math/test-fenvinline.c (feenable_test): Cast fe_exc to
+       unsigned int before printing.
+
+2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
+
+       [BZ #17596]
+       * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
+       * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
+
+2015-04-02  Florian Weimer  <fweimer@redhat.com>
+
+       * include/libc-internal.h (libc_max_align_t): Define.
+
+2015-04-02  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #16850]
+       * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
+
+2015-04-02  Mel Gorman  <mgorman@suse.de>
+
+       [BZ #17195]
+       * malloc/arena.c (free): Apply trim threshold to per-thread heaps
+       as well as the main arena.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #18185]
+       * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
+       sharing L2 cache to 2 for Silvermont/Knights Landing.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #17711]
+       * config.make.in (have-protected-data): New.
+       * configure.ac: Check linker support for protected data symbol.
+       * configure: Regenerated.
+       * elf/Makefile (modules-names): Add tst-protected1moda and
+       tst-protected1modb if $(have-protected-data) is yes.
+       (tests): Add tst-protected1a and tst-protected1b if
+       $(have-protected-data) is yes.
+       ($(objpfx)tst-protected1a): New.
+       ($(objpfx)tst-protected1b): Likewise.
+       (tst-protected1modb.so-no-z-defs): Likewise.
+       * elf/tst-protected1a.c: New file.
+       * elf/tst-protected1b.c: Likewise.
+       * elf/tst-protected1mod.h: Likewise.
+       * elf/tst-protected1moda.c: Likewise.
+       * elf/tst-protected1modb.c: Likewise.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #17711]
+       * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
+       indicates it is called from do_lookup_x on relocation against
+       protected data, skip the data definion in the executable from
+       copy reloc.
+       (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
+       instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
+       EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
+       * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
+       New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
+       otherwise to 0.
+       * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
+       * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
+       to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
+       * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
+       * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
+       to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
+
+2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * sysdeps/nptl/pthread.h: Remove duplicate definition of
+       PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
+
+2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
+       THREAD_SETMEM_NC.
+       * sysdeps/x86_64/nptl/tls.h: Ditto.
+
+2015-03-27  Roland McGrath  <roland@hack.frob.com>
+
+       * dlfcn/tststatic.c (main): Converted to ...
+       (do_test): ... this.
+       (TEST_FUNCTION): New macro.
+       Include test-skeleton.c.
+
+2015-03-26  Alan Modra  <amodra@gmail.com>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
+       Don't segfault if ifunc resolver returns a NULL.  Do set plt to
+       zero for undefined weak.
+       (elf_machine_plt_conflict): Similarly.
+
+2015-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of acosh, asinh and
+       atanh.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * math/auto-libm-test-in: Add another test of asin.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
+       Remove macro.
+       (LLL_EBX_REG): Likewise.
+       (LLL_ENTER_KERNEL): Likewise.
+
+       * math/auto-libm-test-in: Add more tests of asin.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       [BZ #18138]
+       * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
+       libc_do_syscall_args): New structure.
+       (INTERNAL_SYSCALL_MAIN_0): New macro.
+       (INTERNAL_SYSCALL_MAIN_1): Likewise.
+       (INTERNAL_SYSCALL_MAIN_2): Likewise.
+       (INTERNAL_SYSCALL_MAIN_3): Likewise.
+       (INTERNAL_SYSCALL_MAIN_4): Likewise.
+       (INTERNAL_SYSCALL_MAIN_5): Likewise.
+       (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
+       (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
+       Replace conditional definitions by conditional definitions of ....
+       (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
+       * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
+       * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
+       (libpthread-sysdep_routines): Add libc-do-syscall.
+       * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
+       * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
+       to __NR_futex not 240.
+
+2015-03-25  Alan Modra  <amodra@gmail.com>
+
+       * NEWS: Advertise TLS optimization.
+       * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
+       (DT_PPC_NUM): Increment.
+       * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
+       (CHECK_STATIC_TLS): Use here.
+       * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
+       TLS descriptors.
+       * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
+       * sysdeps/powerpc/dl-tls.c: New file.
+       * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
+       * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
+       * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
+       Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
+
+2015-03-25  Alan Modra  <amodra@gmail.com>
+
+       * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
+       for overlapping .opd entries" to "support...".
+       * sysdeps/powerpc/powerpc64/configure: Regenerate
+
+2015-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of acos.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * math/auto-libm-test-in: Add more tests of expm1.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-03-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/auto-libm-test-in: Add more tests of cosh and sinh.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+       * math/auto-libm-test-in: Add more tests of log2.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-03-23  Roland McGrath  <roland@hack.frob.com>
+
+       * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
+       inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
+       _IO_IS_APPENDING bit in READ_WRITE instead.
+
+2015-03-23  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/pthread_setaffinity.c
+       (__determine_cpumask_size): Replace extend_alloca with a
+       variable-length array.  Do not treat res == 0 as an error.
+
+2015-03-23  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #18100]
+       * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
+       and integer overflow.
+       * posix/wordexp-test.c (test_case): Add divide-by-zero test.
+       (main): Add integer overflow tests.
+       * manual/pattern.texi (Calling Wordexp): Document additional use
+       for WRDE_SYNTAX.
+
+2015-03-23  Alan Modra  <amodra@gmail.com>
+
+       * config.h.in: Remove HAVE_ASM_PPC_REL16.
+       * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
+       and false branch of conditional.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
+       Likewise.
+
+2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
+
+       * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
+       libc-modules.h
+       * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
+       unused declaration of _hurd_intr_rpc_msg_in_trap.
+       * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
+       defined instead of whether it is non-zero.
+       * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
+       input constraint instead of both input and output constraint.  Use ecx
+       clobber instead of %ecx.
+       * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
+       mutex_unlock): Use a statement expression instead of an expression list.
+       * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
+       type to vm_size_t instead of vm_address_t.
+       * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
+       defined instead of whether it is non-zero.
+       * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
+       * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
+       * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
+       comparisons with mapaddr.
+       * nscd/nscd-client.h: Include <time.h>.
+       * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
+       9th parameter to __vm_region instead of int.
+       * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
+       * scripts/check-local-headers.sh (exclude): Add device/,
+       hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
+       cthreads.h.
+
+2015-03-19  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
+       to account for alignment padding.
+       * sysdeps/arm/memmove.S: Likewise.
+
+2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
+
+       * sysdeps/unix/sysv/linux/generic/README: New file.
+
+2015-03-18  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18138]
+       * nptl/sem_waitcommon.c: Include <kernel-features.h>.
+       (futex_abstimed_wait)
+       [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
+       Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
+       of lll_futex_timed_wait.
+
+2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
+
+       [BZ #17542]
+       * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
+
+2015-03-17  Alexandre Oliva <aoliva@redhat.com>
+
+       [BZ #17090]
+       [BZ #17620]
+       [BZ #17621]
+       [BZ #17628]
+       * NEWS: Update.
+       * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
+       entries with Static TLS too.  Skip entries past the end of the
+       allocated DTV, from Alan Modra.
+       (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
+       Static TLS DTV entry set up from...
+       (_dl_allocate_tls_init): ... here (fix modid assertion), ...
+       * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
+       * nptl/allocatestack.c (init_one_static_tls): ... and here...
+       * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
+       for Static TLS.
+       * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
+       that the slot we find is associated with the given map before
+       using its generation count.
+       * nptl_db/db_info.c: Include ldsodefs.h.
+       (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
+       * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
+       (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
+       (link_map::l_tls_offset): New struct field.
+       (dtv_t::counter): Likewise.
+       (rtld_global): New struct.
+       (_rtld_global): New rtld variable.
+       (dl_tls_dtv_slotinfo_list): New rtld global field.
+       (dtv_slotinfo_list): New struct.
+       (dtv_slotinfo): Likewise.
+       * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
+       (td_lookup): Rename to...
+       (td_mod_lookup): ... this.  Use new mod parameter instead of
+       LIBPTHREAD_SO.
+       * nptl_db/td_thr_tlsbase.c: Include link.h.
+       (dtv_slotinfo_list, dtv_slotinfo): New functions.
+       (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
+       addresses even if the DTV is out of date or missing them.
+       * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
+       index zero-length arrays.
+       * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
+       (td_lookup): Make it a macro implemented in terms of...
+       (td_mod_lookup): ... this declaration.
+       * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
+       (DB_MAIN_VARIABLE): Likewise.
+
+2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #18134]
+       * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
+
+2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stdlib/setenv.c (__add_to_environ): Revert previous change.
+
+2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+       [BZ #18128]
+       * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
+       (atomic_add, atomic_increment_and_test)
+       (atomic_decrement_and_test): Fix 64-bit arithmetic.
+
+2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stdlib/setenv.c (__add_to_environ):
+       Dump core quickly if setenv (..., NULL, ...) is called.
+
+2015-03-13  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
+       (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
+       all the necessary asm magic in one place.
+       (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
+       using those.
+
+2015-03-13  Carlos O'Donell  <carlos@redhat.com>
+
+       [BZ #14906]
+       * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
+       traced file mtime. Use consistent log message.
+       * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
+       (register_traced_file): Call install_watches. Always set mtime.
+       (invalidate_cache): Iterate over all trace files. Call install_watches.
+       (inotify_check_files): Don't inline. Handle watching parent
+       directories and configuration file movement in and out.
+       (handle_inotify_events): New function.
+       (main_loop_poll): Call handle_inotify_events.
+       (main_loop_epoll): Likewise.
+       * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
+       (struct traced_file): Use array of inotify fds. Add parent directory,
+       and basename.
+       (struct database_dyn): Remove unused file_mtime.
+       (init_traced_file): New inline function.
+       (define_traced_file): New macro.
+       * nss/nss_db/db-init.c: Use define_traced_file.
+       (_nss_db_init): Use init_traced_file.
+       * nss/nss_files/files-init.c: Use define_traced_file.
+       (_nss_files_init): Use init_traced_file.
+
+2015-03-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
+       [_LIBC]: Do not include <stdlib.h>.
+       [!_LIBC] (abort): Remove declaration.
+       * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
+       _FP_STATIC_ASSERT instead of conditionally calling abort.
+       * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
+       (_FP_EXTEND_CNAN): Likewise.
+       (FP_TRUNC): Likewise.
+       (__FP_CLZ): Likewise.
+       * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
+
+2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
+
+       * manual/string.texi (XPG basename): Fix prototype.
+
+2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       [BZ #18080]
+       * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
+       (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
+       * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
+       (__setcontext): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
+       (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
+       Call rt_sigprocmask syscall one time to set new signal mask
+       and retrieve the current signal mask instead of two calls.
+       * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
+       (__swapcontext): Likewise.
+       * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
+       * stdlib/tst-setcontext2.c: New file.
+
+2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
+
+2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
+
+       [BZ #18093]
+       * elf/cache.c (load_aux_cache): Regenerate the cache if it has
+       the wrong size.
+
+2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #18043]
+       * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
+
+2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
+
+       * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
+       * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
+       Remove define.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
+       * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
+       define.
+       * nptl_db/td_symbol_list.c (td_lookup): Remove
+       HAVE_ASM_GLOBAL_DOT_NAME code.
+       * sysdeps/powerpc/powerpc64/configure.ac: Remove
+       HAVE_ASM_GLOBAL_DOT_NAME check.
+       * sysdeps/powerpc/powerpc64/configure: Regenerate.
+       * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
+       (DOT_LABEL): Remove define.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
+       [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
+       * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
+       (__TLS_GET_ADDR): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
+       [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
+
+2015-03-11  Carlos O'Donell  <carlos@redhat.com>
+
+       [BZ #18111]
+       * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
+       (_FPU_SETCW): Initialize cw from fpsr before storing.
+       * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
+       (fesetexceptflag): Rewrite using fpu_control.h.
+       * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
+
+2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
+
+       [BZ #18110]
+       * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
+       asms.
+       * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
+
+2015-03-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
+       * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
+       abort.
+       (_FP_FMA): Likewise.
+       (_FP_DIV): Likewise.
+
+2015-03-10  Roland McGrath  <roland@hack.frob.com>
+
+       * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
+       with 0 in that case.
+       * Makefile (summarize-tests): New canned sequence, factored out of
+       commands for targets tests and xtests.  Display summary lines that
+       don't start with PASS: or XFAIL: rather than ones that do start with
+       ERROR: or FAIL:.  Make the commands fail if any summary lines fail
+       to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
+       do start with ERROR: or FAIL:.
+       * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
+       (except for [$(build-shared) = yes]).
+       (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
+       (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
+       ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
+       * nptl/Makefile: Revert 2015-03-04 changes.
+       [$(CXX) empty] (tests-unsupported): New variable.
+       * debug/Makefile: Likewise.
+
+       * posix/regcomp.c: Fix comment typos and formatting to harmonize with
+       gnulib file.  Replace __attribute with __attribute__ throughout.
+
+2015-03-10  Carlos O'Donell  <carlos@redhat.com>
+
+       * sysdeps/hppa/fpu/libm-test-ulps: Update.
+
+2015-03-10  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18104]
+       * math/auto-libm-test-in: Add another test of pow.
+       * math/auto-libm-test-out: Regenerated.
+
+2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
+       $(config-cflags-nofma).
+
+2015-03-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
+       * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
+       * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
+       * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
+       * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
+       * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
+       * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
+       * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
+       * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
+       * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
+       Add comment on closing #endif.
+
+2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * posix/wordexp.c (CHAR_IN_SET): New macro.
+       (parse_param): Use it.
+
+2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/fpu/libm-test-ulps: update.
+
 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        [BZ #18043]
 
 2015-02-27  John David Anglin  <dave.anglin@bell.net>
 
+       [BZ #18068]
        * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
        to 00100000.
 
        for powerpc*-*soft.
        * configure: Regenerated.
 
+       [BZ #11505]
        * configure.ac (libc_cv_asm_cfi_directives): Remove configure
        test.
        * configure: Regenerated.