]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
nptl: Open libgcc.so with RTLD_NOW during pthread_cancel [BZ #22636]
[thirdparty/glibc.git] / ChangeLog
index 701c687e03ed06de04c88267e92db3323e14a2f5..48292d6bf05e4111ed31f7c1154b50edebf396aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,724 @@
+2018-01-10  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #22636]
+       * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
+       libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
+
+2018-01-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       [BZ #22637]
+       * nptl/descr.h (stackblock, stackblock_size): Update comments.
+       * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
+       * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
+       stacksize.
+       * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
+
+2018-05-23  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #23196]
+       CVE-2018-11237
+       * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
+       (L(preloop_large)): Save initial destination pointer in %r11 and
+       use it instead of %rax after the loop.
+       * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
+
+2018-05-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #22786]
+       CVE-2018-11236
+       * stdlib/canonicalize.c (__realpath): Fix overflow in path length
+       computation.
+       * stdlib/Makefile (test-bz22786): New test.
+       * stdlib/test-bz22786.c: New test.
+
+2018-03-23  Andrew Senkevich  <andrew.senkevich@intel.com>
+           Max Horn  <max@quendi.de>
+
+       [BZ #22644]
+       CVE-2017-18269
+       * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
+       branch conditions.
+       * string/test-memmove.c (do_test2): New testcase.
+
+2018-09-06  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
+       Increment size of new_argv by one.
+
+2018-01-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #22715]
+       * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
+       align La_x86_64_retval to VEC_SIZE.
+
+2017-12-30  Aurelien Jarno  <aurelien@aurel32.net>
+           Dmitry V. Levin  <ldv@altlinux.org>
+
+       [BZ #22625]
+       * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
+       string token expansion. Check for NULL pointer or empty string possibly
+       returned by expand_dynamic_string_token.
+       (decompose_rpath): Check for empty path after dynamic string
+       token expansion.
+
+2017-12-18  Dmitry V. Levin  <ldv@altlinux.org>
+
+       [BZ #22627]
+       * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
+       code and invocation.
+
+2017-12-14  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #22607]
+       CVE-2017-1000409
+       * elf/dl-load.c (_dl_init_paths): Compute number of components in
+       the expanded path string.
+
+2017-12-14  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #22606]
+       CVE-2017-1000408
+       * elf/dl-load.c (system_dirs): Update comment.
+       (nsystem_dirs_len): Use array_length.
+       (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
+
+2017-11-02  Florian Weimer  <fweimer@redhat.com>
+
+       Add array_length and array_end macros.
+       * include/array_length.h: New file.
+
+2017-11-02  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #22332]
+       * posix/tst-glob-tilde.c (do_noescape): New variable.
+       (one_test): Process it.
+       (do_test): Set do_noescape.  Add unescaping test case.
+
+2017-10-22  Paul Eggert <eggert@cs.ucla.edu>
+
+       [BZ #22332]
+       * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
+       unescaping.
+
+2017-10-21  Florian Weimer  <fweimer@redhat.com>
+
+       * posix/Makefile (tests): Add tst-glob-tilde.
+       (tests-special): Add tst-glob-tilde-mem.out
+       (tst-glob-tilde-ENV): Set MALLOC_TRACE.
+       (tst-glob-tilde-mem.out): Add mtrace check.
+       * posix/tst-glob-tilde.c: New file.
+
+2017-10-20  Paul Eggert <eggert@cs.ucla.edu>
+
+       [BZ #22320]
+       CVE-2017-15670
+       * posix/glob.c (__glob): Fix one-byte overflow.
+
+2017-09-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       [BZ #1062]
+       CVE-2017-15671
+       * posix/Makefile (routines): Add globfree, globfree64, and
+       glob_pattern_p.
+       * posix/flexmember.h: New file.
+       * posix/glob_internal.h: Likewise.
+       * posix/glob_pattern_p.c: Likewise.
+       * posix/globfree.c: Likewise.
+       * posix/globfree64.c: Likewise.
+       * sysdeps/gnu/globfree64.c: Likewise.
+       * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
+       * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
+       * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
+       * sysdeps/wordsize-64/globfree.c: Likewise.
+       * sysdeps/wordsize-64/globfree64.c: Likewise.
+       * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
+       [NDEBUG): Remove comments.
+       (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
+       (dirent_type): New type.  Use uint_fast8_t not
+       uint8_t, as C99 does not require uint8_t.
+       (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
+       (struct readdir_result): Use dirent_type.  Do not define skip_entry
+       unless it is needed; this saves a byte on platforms lacking d_ino.
+       (readdir_result_type, readdir_result_skip_entry):
+       New functions, replacing ...
+       (readdir_result_might_be_symlink, readdir_result_might_be_dir):
+        these functions, which were removed.  This makes the callers
+       easier to read.  All callers changed.
+       (D_INO_TO_RESULT): Now empty if there is no d_ino.
+       (size_add_wrapv, glob_use_alloca): New static functions.
+       (glob, glob_in_dir): Check for size_t overflow in several places,
+       and fix some size_t checks that were not quite right.
+       Remove old code using SHELL since Bash no longer
+       uses this.
+       (glob, prefix_array): Separate MS code better.
+       (glob_in_dir): Remove old Amiga and VMS code.
+       (globfree, __glob_pattern_type, __glob_pattern_p): Move to
+       separate files.
+       (glob_in_dir): Do not rely on undefined behavior in accessing
+       struct members beyond their bounds.  Use a flexible array member
+       instead
+       (link_stat): Rename from link_exists2_p and return -1/0 instead of
+       0/1.  Caller changed.
+       (glob): Fix memory leaks.
+       * posix/glob64 (globfree64): Move to separate file.
+       * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
+       (globfree64): Remove hidden alias.
+       * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
+       oldglob.
+       * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
+       separate file.
+       * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
+       define.
+       Move compat code to separate file.
+       * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
+       separate file.
+
+2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #18822]
+       * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
+       libc_hidden_proto and libc_hidden_def.
+
+2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21265]
+       * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
+       New.
+       * sysdeps/x86/cpu-features.c: Include <libc-internal.h>.
+       (get_common_indeces): Set xsave_state_size and
+       bit_arch_XSAVEC_Usable if needed.
+       (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
+       and bit_arch_Use_dl_runtime_resolve_opt.
+       * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
+       Removed.
+       (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
+       (bit_arch_Prefer_No_AVX512): Updated.
+       (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
+       (bit_arch_XSAVEC_Usable): New.
+       (STATE_SAVE_OFFSET): Likewise.
+       (STATE_SAVE_MASK): Likewise.
+       [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
+       (cpu_features): Add xsave_state_size.
+       (index_arch_Use_dl_runtime_resolve_opt): Removed.
+       (index_arch_Use_dl_runtime_resolve_slow): Likewise.
+       (index_arch_XSAVEC_Usable): New.
+       * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
+       Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
+       _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
+       _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
+       with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
+       _dl_runtime_resolve_xsavec.
+       * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
+       Removed.
+       (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
+       instead of VEC_SIZE.
+       (REGISTER_SAVE_BND0): Removed.
+       (REGISTER_SAVE_BND1): Likewise.
+       (REGISTER_SAVE_BND3): Likewise.
+       (REGISTER_SAVE_RAX): Always defined to 0.
+       (VMOV): Removed.
+       (_dl_runtime_resolve_avx): Likewise.
+       (_dl_runtime_resolve_avx_slow): Likewise.
+       (_dl_runtime_resolve_avx_opt): Likewise.
+       (_dl_runtime_resolve_avx512): Likewise.
+       (_dl_runtime_resolve_avx512_opt): Likewise.
+       (_dl_runtime_resolve_sse): Likewise.
+       (_dl_runtime_resolve_sse_vex): Likewise.
+       (USE_FXSAVE): New.
+       (_dl_runtime_resolve_fxsave): Likewise.
+       (USE_XSAVE): Likewise.
+       (_dl_runtime_resolve_xsave): Likewise.
+       (USE_XSAVEC): Likewise.
+       (_dl_runtime_resolve_xsavec): Likewise.
+       * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
+       Removed.
+       (_dl_runtime_resolve_avx512_opt): Likewise.
+       (_dl_runtime_resolve_avx): Likewise.
+       (_dl_runtime_resolve_avx_opt): Likewise.
+       (_dl_runtime_resolve_sse): Likewise.
+       (_dl_runtime_resolve_sse_vex): Likewise.
+       (_dl_runtime_resolve_fxsave): New.
+       (_dl_runtime_resolve_xsave): Likewise.
+       (_dl_runtime_resolve_xsavec): Likewise.
+
+2017-10-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
+       tst-avx512.
+       (test-extras): Add tst-avx-aux and tst-avx512-aux.
+       (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
+       (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
+       ($(objpfx)tst-sse): New rule.
+       ($(objpfx)tst-avx): Likewise.
+       ($(objpfx)tst-avx512): Likewise.
+       (CFLAGS-tst-avx-aux.c): New.
+       (CFLAGS-tst-avxmod.c): Likewise.
+       (CFLAGS-tst-avx512-aux.c): Likewise.
+       (CFLAGS-tst-avx512mod.c): Likewise.
+       * sysdeps/x86_64/tst-avx-aux.c: New file.
+       * sysdeps/x86_64/tst-avx.c: Likewise.
+       * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
+       * sysdeps/x86_64/tst-avx512.c: Likewise.
+       * sysdeps/x86_64/tst-avx512mod.c: Likewise.
+       * sysdeps/x86_64/tst-avxmod.c: Likewise.
+       * sysdeps/x86_64/tst-sse.c: Likewise.
+       * sysdeps/x86_64/tst-ssemod.c: Likewise.
+
+2017-10-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
+       adjust CFA when allocating register save area on re-aligned
+       stack.
+
+2016-12-21  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #20978]
+       * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
+       Compare name == NULL, not name != NULL.
+
+2016-11-08  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #20790]
+       * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
+       to MAXLINESIZE.
+       * sunrpc/bug20790.x: New file.
+       * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
+       variable.
+       [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
+       [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
+
+2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
+
+       * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
+       boolean.
+
+2017-07-19  DJ Delorie  <dj@delorie.com>
+
+       [BZ #21654]
+       * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
+
+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-08-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21871]
+       * sysdeps/x86/cpu-features.c (init_cpu_features): Set
+       bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
+
+2017-02-27  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #21115]
+       * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
+       * sunrpc/Makefile (tests): Add tst-udp-error.
+       (tst-udp-error): Link against libc.so explicitly.
+       * sunrpc/tst-udp-error: New file.
+
+2017-01-24  James Clarke  <jrtc27@jrtc27.com>
+
+       * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
+       constants instead of the old R* ones.
+       * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
+       * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
+       (NGREG): ... to this, to fit in with other architectures.
+       (gpregset_t): Use new NGREG macro.
+       [__USE_GNU]: Remove condition; all architectures other than tile
+       are unconditional.
+       (R*): Rename to REG_R*.
+
+2017-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21666]
+       * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
+       (loc2): Likewise.
+       (locs): Likewise.
+
+2017-07-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
+       hidden __GI__dl_argv symbol.
+
+2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
+       (linknamespace-symlists-tests): Likewise.
+       (linknamespace-header-tests): Likewise.
+
+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-06-14  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
+       * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
+
+2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       [BZ #21209]
+       * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
+       AT_SECURE processes.
+       * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
+
+2017-06-19  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/rtld.c (audit_list_string): New variable.
+       (audit_list): Update comment.
+       (struct audit_list_iter): Define.
+       (audit_list_iter_init, audit_list_iter_next): New function.
+       (dl_main): Use struct audit_list_iter to process audit modules.
+       (process_dl_audit): Call dso_name_valid_for_suid.
+       (process_envvars): Set audit_list_string instead of calling
+       process_dl_audit.
+
+2017-06-19  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
+       (dso_name_valid_for_suid): New function.
+       (handle_ld_preload): Likewise.
+       (dl_main): Call it.  Remove alloca.
+
+2017-06-19  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #21624]
+       CVE-2017-1000366
+       * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
+       __libc_enable_secure.
+
+2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/m68k/m680x0/m68020/atomic-machine.h
+       (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
+       (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
+       operands.
+
+2017-05-12  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #21386]
+       * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
+       parent PID.  The assertion in the child is incorrect with PID
+       namespaces.
+
+2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
+
+       * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
+       include test-skeleton.c.
+       Include support/check.h and support/test-driver.c.
+
+2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
+       * nptl/allocatestack.c (allocate_stack): Likewise.
+       (__reclaim_stacks): Likewise.
+       (setxid_signal_thread): Obtain pid through syscall.
+       * nptl/nptl-init.c (sigcancel_handler): Likewise.
+       (sighandle_setxid): Likewise.
+       * nptl/pthread_cancel.c (pthread_cancel): Likewise.
+       * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
+       * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
+       Likewise.
+       * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
+       * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
+       comment.
+       * sysdeps/unix/sysv/linux/getpid.c: Remove file.
+       * nptl/descr.h (struct pthread): Change comment about pid value.
+       * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
+       pid assert.
+       * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
+       Do not set pid value.
+       * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
+       pid cache check.
+       * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
+       * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
+       * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
+       * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
+       * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
+       * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
+       * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
+       struct access.
+       (clone_test): Remove function.
+       (do_test): Rewrite to take in consideration pid is not cached anymore.
+
+2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
+       (__INTERNAL_SYSCALL1): Likewise.
+       (__INTERNAL_SYSCALL2): Likewise.
+       (__INTERNAL_SYSCALL3): Likewise.
+       (__INTERNAL_SYSCALL4): Likewise.
+       (__INTERNAL_SYSCALL5): Likewise.
+       (__INTERNAL_SYSCALL6): Likewise.
+       (__INTERNAL_SYSCALL7): Likewise.
+       (__INTERNAL_SYSCALL_NARGS_X): Likewise.
+       (__INTERNAL_SYSCALL_NARGS): Likewise.
+       (__INTERNAL_SYSCALL_DISP): Likewise.
+       (INTERNAL_SYSCALL_CALL): Likewise.
+       (__SYSCALL0): Rename to __INLINE_SYSCALL0.
+       (__SYSCALL1): Rename to __INLINE_SYSCALL1.
+       (__SYSCALL2): Rename to __INLINE_SYSCALL2.
+       (__SYSCALL3): Rename to __INLINE_SYSCALL3.
+       (__SYSCALL4): Rename to __INLINE_SYSCALL4.
+       (__SYSCALL5): Rename to __INLINE_SYSCALL5.
+       (__SYSCALL6): Rename to __INLINE_SYSCALL6.
+       (__SYSCALL7): Rename to __INLINE_SYSCALL7.
+       (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
+       (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
+       (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
+       (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
+       (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
+
+2017-04-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21396]
+       * sysdeps/x86/cpu-features.c (init_cpu_features): Set
+       Prefer_No_AVX512 if AVX512ER isn't available.
+       * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
+       (index_arch_Prefer_No_AVX512): Likewise.
+       * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
+       AVX512 version if Prefer_No_AVX512 is set.
+       * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
+       Likewise.
+       * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
+       * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
+       Likewise.
+       * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
+       * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
+       Likewise.
+       * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
+       * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
+       Likewise.
+
+2017-04-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/cpu-features.c (init_cpu_features): Set
+       Prefer_No_VZEROUPPER if AVX512ER is available.
+       * sysdeps/x86/cpu-features.h
+       (bit_cpu_AVX512PF): New.
+       (bit_cpu_AVX512ER): Likewise.
+       (bit_cpu_AVX512CD): Likewise.
+       (bit_cpu_AVX512BW): Likewise.
+       (bit_cpu_AVX512VL): Likewise.
+       (index_cpu_AVX512PF): Likewise.
+       (index_cpu_AVX512ER): Likewise.
+       (index_cpu_AVX512CD): Likewise.
+       (index_cpu_AVX512BW): Likewise.
+       (index_cpu_AVX512VL): Likewise.
+       (reg_AVX512PF): Likewise.
+       (reg_AVX512ER): Likewise.
+       (reg_AVX512CD): Likewise.
+       (reg_AVX512BW): Likewise.
+       (reg_AVX512VL): Likewise.
+
+2017-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21026]
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
+       (readahead): New syscall entry.
+
+2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21258]
+       * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
+       Define only if _dl_runtime_resolve is defined to
+       _dl_runtime_resolve_sse_vex.
+       * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
+       Fallthrough to _dl_runtime_resolve_sse_vex.
+
+2017-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       [BZ #21253]
+       * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
+       slack space by 32KiB.
+
+2017-03-31  Slava Barinov  <v.barinov@samsung.com>
+
+       [BZ #21289]
+       * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
+
+2017-03-20  Mike Frysinger  <vapier@gentoo.org>
+
+       [BZ #21275]
+       * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
+       __stack to __stackbase.
+       (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
+       checks so we can include defined(__ia64__) first.
+
+2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
+
+       * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
+       (RTLD_START): Don't record stack end address in _dl_start_user.
+
+2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21081]
+       * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
+       (L(stosb)): Add VZEROUPPER before ret.
+
+2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #20750]
+       * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
+       of PIC.
+
+2016-12-31  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #18784]
+       CVE-2015-5180
+       * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
+       T_UNSPEC.  Adjust value.
+       * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
+       * resolv/res_query.c (__libc_res_nquery): Likewise.
+       * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
+       QTYPEs.
+       * resolv/tst-resolv-qtypes.c: New file.
+       * resolv/Makefile (xtests): Add tst-resolv-qtypes.
+       (tst-resolv-qtypes): Link against libresolv and libpthread.
+
+2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
+
+2017-01-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
+           Steven Munroe  <sjmunroe@us.ibm.com>
+           Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+       [BZ #20822]
+       * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
+       (__lll_lock_elision): Access adapt_count via C11 atomics.
+       * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
+       (__lll_trylock_elision): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
+       (__lll_unlock_elision):  Update adapt_count variable inside the
+       critical section using C11 atomics.
+
+2016-12-24  Carlos O'Donell  <carlos@redhat.com>
+
+       [BZ #11941]
+       * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
+       Remove assert (map->l_init_called); if DF_1_NODELETE is set.
+       * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
+       tst-nodelete-dlclose.
+       (modules-names): Add tst-nodelete-dlclose-dso and
+       tst-nodelete-dlclose-plugin.
+       ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
+       ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
+       ($(objpfx)tst-nodelete-dlclose): Define.
+       ($(objpfx)tst-nodelete-dlclose.out): Define.
+
+2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
+
+2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
+       when it is a NaN.
+       [_IEEE_FP_INEXACT] Remove.
+       * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
+       * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
+       when it is a NaN.
+       [_IEEE_FP_INEXACT] Remove.
+       * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
+       * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
+       when it is a NaN.
+       * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
+       * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
+       when its absolute value is greater than 0x1.0p52.
+       [_IEEE_FP_INEXACT] Remove.
+       * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
+       when its absolute value is greater than 0x1.0p23.
+       [_IEEE_FP_INEXACT] Remove.
+
+2016-11-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #20495]
+       [BZ #20508]
+       * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
+       processors, set Use_dl_runtime_resolve_slow and set
+       Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
+       * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
+       New.
+       (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
+       (index_arch_Use_dl_runtime_resolve_opt): Likewise.
+       (index_arch_Use_dl_runtime_resolve_slow): Likewise.
+       * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
+       _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
+       if Use_dl_runtime_resolve_opt is set.  Use
+       _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
+       * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
+       (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
+       (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
+       * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
+       New.
+       (_dl_runtime_resolve_opt): Likewise.
+       (_dl_runtime_profile): Define only if _dl_runtime_profile is
+       defined.
+
+2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
+       instead of PIC.
+
 2016-11-23  Matthew Fortune  <Matthew.Fortune@imgtec.com>
            Maciej W. Rozycki  <macro@imgtec.com>