]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Fix BZ #21654 - grp-merge.c alignment
[thirdparty/glibc.git] / ChangeLog
index 5bbc323c1ccaf9f14e48f0a14f7af4bfd189c850..a9044a588cb6b4c51962d8a45db19fac8cf77ffe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,301 @@
+2017-07-14  DJ Delorie  <dj@redhat.com>
+
+       [BZ #21654]
+       * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
+       alignment not char alignment.
+       (__merge_grp): Likewise.
+
+2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+           Florian Weimer  <fweimer@redhat.com>
+
+       * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
+       * libio/wmemstream.c (open_wmemstream): Likewise.
+       * nptl/tst-memstream.c: New.
+
+2017-07-12  Jiong Wang  <jiong.wang@arm.com>
+
+       * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
+       of pcrel_address under Thumb mode.
+
+2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
+
+       [BZ #21207]
+       * locale/iso-639.def: Add Fiji Hindi (hif).
+
+2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
+
+       * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
+
+2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
+       -fstack-protector-all.
+
+2017-07-11  Chris Leonard <cjl@sugarlabs.org>
+
+       [BZ #20496]
+       * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
+
+2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
+       to iterate over all possible object suffixes.  Add a comment
+       explaining the use of sysdep-CFLAGS instead of CFLAGS.
+
+2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #12189]
+       * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
+       (tests): Add tst-ssp-1 if -fstack-protector works.
+       * debug/fortify_fail.c: Include <stdbool.h>.
+       (_fortify_fail_abort): New function.
+       (__fortify_fail): Call _fortify_fail_abort.
+       (__fortify_fail_abort): Add a hidden definition.
+       * debug/stack_chk_fail.c: Include <stdbool.h>.
+       (__stack_chk_fail): Call __fortify_fail_abort, instead of
+       __fortify_fail.
+       * debug/tst-ssp-1.c: New file.
+       * include/stdio.h (__libc_message_action): New enum.
+       (__libc_message): Replace int with enum __libc_message_action.
+       (__fortify_fail_abort): New hidden prototype.
+       * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
+       * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
+       with enum __libc_message_action.  Call BEFORE_ABORT only if
+       action includes do_backtrace.
+       (__libc_fatal): Update __libc_message call.
+
+2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       [BZ #21738]
+       * manual/llio.texi (RWF_NOWAIT): New item.
+       * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
+       Add RWF_NOWAIT check.
+       * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
+
+2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
+       Support running on kernels without PTRACE_SINGLEBLOCK.
+
+2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21742]
+       * elf/Makefile (dl-routines): Move dl-conflict to ...
+       (rtld-routines): Here.
+
+2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21741]
+       * sysdeps/x86_64/multiarch/ifunc-impl-list.c
+       (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
+       in libc.so.
+
+2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
+
+       * sysdeps/hppa/fpu/libm-test-ulps: Update.
+
+       [BZ #21016]
+       * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
+       Fix typo.
+       * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
+       bits/types/struct_timespec.h.
+       (PTHREAD_MUTEX_INITIALIZER): Revise define.
+       (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
+       (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
+       (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
+       (PTHREAD_RWLOCK_INITIALIZER): Likewise.
+       (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
+       (PTHREAD_COND_INITIALIZER): Likewise.
+       Remove old definitions.
+       * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
+
+2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
+       * sysdeps/x86_64/multiarch/memmove.c: Likewise.
+       * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
+       * sysdeps/x86_64/multiarch/memset.c: Likewise.
+       * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
+       * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
+       * sysdeps/x86_64/multiarch/strlen.c: Likewise.
+       * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
+       * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
+       * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
+       * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
+       * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
+       * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
+       * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
+       * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
+       * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
+
+2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
+
+2017-07-09  Helge Deller  <deller@gmx.de>
+
+       [BZ #21049]
+       * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
+       up to avoid clobbering r26.
+
+2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
+       profiled objects.
+
+2017-07-06  DJ Delorie  <dj@redhat.com>
+
+       * manual/tunables.texi: Add missing @end deftp.
+
+2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
+
+       * resolv/tst-resolv-basic.c (test_bug_21295): New function.
+       (do_test): Call it.
+
+2017-07-06  DJ Delorie  <dj@redhat.com>
+
+       * config.make.in: Enable experimental malloc option.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+       * manual/install.texi: Document it.
+       * INSTALL: Regenerate.
+       * malloc/Makefile: Likewise.
+       * malloc/malloc.c: Add per-thread cache (tcache).
+       (tcache_put): New.
+       (tcache_get): New.
+       (tcache_thread_freeres): New.
+       (tcache_init): New.
+       (__libc_malloc): Use cached chunks if available.
+       (__libc_free): Initialize tcache if needed.
+       (__libc_realloc): Likewise.
+       (__libc_calloc): Likewise.
+       (_int_malloc): Prefill tcache when appropriate.
+       (_int_free): Likewise.
+       (do_set_tcache_max): New.
+       (do_set_tcache_count): New.
+       (do_set_tcache_unsorted_limit): New.
+       * manual/probes.texi: Document new probes.
+       * malloc/arena.c: Add new tcache tunables.
+       * elf/dl-tunables.list: Likewise.
+       * manual/tunables.texi: Document them.
+       * NEWS: Mention the per-thread cache.
+
+2017-07-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
+       * misc/tst-tsearch.c (TIMEOUT): Remove.
+       * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
+       * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
+       * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
+       * string/tst-cmp.c (TIMEOUT): Define to 600.
+
+2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
+
+       [BZ #21715]
+       * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
+       on definition.
+
+2017-07-06  Florian Weimer  <fweimer@redhat.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21609]
+       * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
+       (gen-as-const-headers): Add rtld-offsets.sym.
+       * sysdeps/x86_64/dl-tls.c: New file.
+       * sysdeps/x86_64/rtld-offsets.sym: Likwise.
+       * sysdeps/x86_64/tls_get_addr.S: Likewise.
+       * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
+       * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
+       (TI_OFFSET_OFFSET): Likwise.
+
+2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       [BZ# 21697]
+       * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
+
+2017-07-05  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/Makefile (tests-internal): Add tst-resolv-threads.
+       (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
+       * resolv/tst-resolv-threads.c: New file.
+
+2017-07-05  Florian Weimer  <fweimer@redhat.com>
+
+       support: Add resolver testing mode which does not patch _res.
+       * support/resolv_test.h (struct resolv_redirect_config): Add
+       disable_redirect, server_address_overrides.
+       * support/resolv_test.c (make_server_sockets_for_address): New
+       function.
+       (resolv_test_start): Call it.
+
+2017-07-05  Florian Weimer  <fweimer@redhat.com>
+
+       * support/namespace.h (struct support_chroot_configuration)
+       (struct support_chroot): Define.
+       (support_chroot_create, support_chroot_free): New functions.
+       * support/support_chroot.c: New file.
+       * support/Makefile (libsupport-routines): Add support_chroot.
+       * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
+       (path_resolv_conf): Remove definitions.
+       (chroot_env): New variable.
+       (prepare): Call support_chroot_create.
+       (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
+       (special_test_callback, do_test): Likewise.
+
+2017-07-05  Florian Weimer  <fweimer@redhat.com>
+
+       Add subtest to check isolation of multiple loopback addresses.
+       * support/tst-support-namespace.c (test_localhost_bind): New function.
+       (do_test): Call it.
+
+2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
+       * libio/libioP.h (_IO_enable_locks): Declare.
+       * libio/Versions (_IO_enable_locks): New symbol.
+       * libio/genops.c (_IO_enable_locks): Define.
+       (_IO_old_init): Initialize flags2.
+       * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
+       * libio/ferror.c (_IO_ferror): Likewise.
+       * libio/fputc.c (fputc): Likewise.
+       * libio/putc.c (_IO_putc): Likewise.
+       * libio/getc.c (_IO_getc): Likewise.
+       * libio/getchar.c (getchar): Likewise.
+       * libio/ioungetc.c (_IO_ungetc): Likewise.
+       * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
+       * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
+       * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
+
+2017-07-04  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #21542]
+       * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
+       two if no accurate information is available.
+       * posix/tst-sysconf-empty-chroot.c: New file.
+       * posix/Makefile (tests): Add it.
+
+2017-07-04  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
+       server and sort list counts.  Fix improper check for empty search
+       path (completely missing domain name) leading to assertion failure
+       in update_from_conf.
+       * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
+       hostname member.
+       (run_res_init): Set host name if requested.
+       (test_cases): Update.
+
+2017-07-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * scripts/build-many-glibcs.py (Context.checkout): Default
+       binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
+       kernel version to 4.12.
+
 2017-07-04  Florian Weimer  <fweimer@redhat.com>
 
        * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free