]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Fix elf/sotruss-lib format-truncation error.
[thirdparty/glibc.git] / ChangeLog
index a3eacbb604026e4a6585b348e07f077a0cb40d78..fe612a80b9c06f4fe501b282c75fd9288de7b434 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,163 @@
+2017-01-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf/sotruss-lib.c (init): Increase space allocated for pid by
+       one byte.  Print it with %ld, cast to long int.
+
+2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
+       (re.fullmatch, subprocess.run): Likewise.
+
+2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/libc.pot: Regenerate.
+
+2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * elf/dl-tunables.c (tunables_unsetenv): Remove function.
+       (min_strlen): Likewise.
+       (disable_tunable): Likewise.
+       (maybe_disable_malloc_check): Rename to
+       maybe_enable_malloc_check.
+       (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
+       if /etc/suid-debug file exists.
+       (__tunables_init): Update caller.
+       * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
+       secure.
+
+2016-01-10  Torvald Riegel  <triegel@redhat.com>
+
+       * nptl/DESIGN-rwlock.txt: Remove.
+       * nptl/lowlevelrwlock.sym: Remove.
+       * nptl/Makefile: Add new tests.
+       * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
+       * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
+       (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
+       PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
+       PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
+       PTHREAD_RWLOCK_FUTEX_USED): New.
+       * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
+       implementation.
+       * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
+       (__pthread_rwlock_rdlock): Adapt.
+       * nptl/pthread_rwlock_timedrdlock.c
+       (pthread_rwlock_timedrdlock): Adapt.
+       * nptl/pthread_rwlock_timedwrlock.c
+       (pthread_rwlock_timedwrlock): Adapt.
+       * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
+       * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
+       * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
+       * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
+       (__pthread_rwlock_wrlock): Adapt.
+       * nptl/tst-rwlock10.c: Adapt.
+       * nptl/tst-rwlock11.c: Adapt.
+       * nptl/tst-rwlock17.c: New file.
+       * nptl/tst-rwlock18.c: New file.
+       * nptl/tst-rwlock19.c: New file.
+       * nptl/tst-rwlock2b.c: New file.
+       * nptl/tst-rwlock8.c: Adapt.
+       * nptl/tst-rwlock9.c: Adapt.
+       * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
+       (pthread_rwlock_t): Adapt.
+       * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+       (pthread_rwlock_t): Adapt.
+       * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
+       * nptl/nptl-printers.py (): Adapt.
+       * nptl/nptl_lock_constants.pysym: Adapt.
+       * nptl/test-rwlock-printers.py: Adapt.
+       * nptl/test-rwlockattr-printers.c: Adapt.
+       * nptl/test-rwlockattr-printers.py: Adapt.
+
+2017-01-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
+       (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
+       (fma_test_data): Likewise.
+       (hypot_test_data): Likewise.
+       (log1p_test_data): Likewise.
+       (modf_test_data): Likewise.
+       (pow_test_data): Likewise.
+       (remainder_test_data): Likewise.
+       (remquo_test_data): Likewise.
+       (scalb_test_data): Likewise.
+       (scalbn_test_data): Likewise.
+       (scalbln_test_data): Likewise.
+       * math/gen-libm-test.pl (parse_args): Transform
+       XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
+       on the rounding mode.
+
+2017-01-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
+       xfail-rounding:ibm128-libgcc automatically to tests overflowing
+       and those that can underflow to zero.
+       * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
+       add others.
+       * math/auto-libm-test-out: Regenerated.
+
+       * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
+       supported.
+       (feholdexcept_tests): Skip tests requiring exceptions or rounding
+       modes support if not supported.
+
+       * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
+       Add libc.so PLT entry.
+       (__tls_get_addr): Make ld.so PLT entry optional.
+
+2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
+       * string/bits/string3.h: ... here.
+
+2017-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21028]
+       * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
+       * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
+       if EXCEPTION_TESTS returns false.
+
+2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       [BZ #20558]
+       * string/bits/string3.h [__USE_MISC] (bcopy): Move to
+       strings_fortified.h.
+       [__USE_MISC] (bzero): Likewise.
+       [__USE_MISC] (explicit_bzero): Likewise.
+       * string/strings.h: Include strings_fortified.h.
+       * string/Makefile (headers): Add strings_fortified.h.
+       * string/bits/strings_fortified.h: New file.
+       * include/bits/strings_fortified.h: Likewise.
+
+2017-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf/tst-tls13.c (TIMEOUT): Remove.
+       * iconvdata/tst-loading.c (TIMEOUT): Likewise.
+       * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
+       * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
+       * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
+       * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
+
+       [BZ #21026]
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
+       (readahead): New syscall entry.
+
 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
 
+       * string/tester.c (test_strncat): Disable -Wstringop-overflow=
+       around tests of strncat with large sizes.
+
        * malloc/tst-malloc.c: Include <libc-internal.h>.
        (do_test): Disable -Walloc-size-larger-than= around tests of
        malloc with negative sizes.