]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog
index 74e98303d1718fb518784b326437cde03bc44fd1..9ffc40cb503fcf6e56b5e00112a6739f92228127 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,290 @@
+2017-08-17  DJ Delorie  <dj@redhat.com>
+
+       * bug17079.c: Update to new test harness.
+       * test-digits-dots.c: Likewise.
+       * test-netdb.c: Likewise.
+       * tst-field.c: Likewise.
+       * tst-nss-getpwent.c: Likewise.
+       * tst-nss-static.c: Likewise.
+       * tst-nss-test1.c: Likewise.
+       * tst-nss-test2.c: Likewise.
+       * tst-nss-test3.c: Likewise.
+       * tst-nss-test4.c: Likewise.
+       * tst-nss-test5.c: Likewise.
+
+2017-08-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
+       (open_not_cancel_2): Likewise.
+       (open_nocancel): New macro.
+       (open64_nocancel): Likewise.
+       * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
+       (open_not_cancel_2): Likewise.
+       (__open_nocancel): New prototype.
+       (__open64_nocancel): Likewise.
+       * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
+       __open_nocancel.
+       * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
+       * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
+       * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
+       with __open_nocancel.
+       * csu/check_fds.c (check_one_fd): Likewise.
+       * gmon/gmon.c (write_gmon): Likewise.
+       * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
+       * intl/loadmsgcat.c (open): Likewise.
+       * libio/fileops.c (_IO_file_open): Likewise.
+       * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
+       * locale/loadlocale.c (_nl_load_locale): Likewise.
+       * login/utmp_file.c (setutent_file): Likewise.
+       * misc/daemon.c (daemon): Likewise.
+       * nss/nss_db/db-open.c (internal_setent): Likewise.
+       * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
+       * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
+       * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
+       (__opendir): Likewise.
+       * sysdeps/posix/spawni.c (__spawni_child): Likewise.
+       * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
+       * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
+       (gethostid): Likewise.
+       * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
+       * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+       Likewise.
+       * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
+       * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
+       * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
+       Likewise.
+       * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
+       Likewise.
+       * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
+       Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
+       Likewise.
+       * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
+       Likewise.
+       * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
+       Likewise.
+       * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
+       * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
+
+2017-08-17  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * benchtests/bench-skeleton.c (main): Add support for
+       latency benchmarking.
+       * benchtests/scripts/bench.py: Add support for latency benchmarking.
+
+2017-08-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
+       the startup object.
+
+2017-08-17  Florian Weimer  <fweimer@redhat.com>
+
+       * include/sys/socket.h (__opensock): Remove internal_function.
+       * socket/opensock.c (__opensock): Likewise.
+       * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
+
+2017-08-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21944]
+       * signal/bits/types/__sigval_t.h: New file.
+       * signal/Makefile (headers): Add bits/types/__sigval_t.h.
+       * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
+       and define sigval_t using __sigval_t.
+       * include/bits/types/__sigval_t.h: New file.
+       * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
+       instead of <bits/types/__sigval_t.h>.
+       (struct sigevent): Use __sigval_t instead of sigval_t.
+       * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
+       instead of <bits/types/__sigval_t.h>.
+       (siginfo_t): Use __sigval_t instead of sigval_t.
+       * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
+       <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
+       (struct sigevent): Use __sigval_t instead of sigval_t.
+       * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
+       <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
+       (siginfo_t): Use __sigval_t instead of sigval_t.
+       * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
+
+2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Remove "[Add new features here]" for 2.27.
+
+2017-08-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
+       libc.so.
+
+2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention x86-64 FMA optimization.
+
+2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21912]
+       * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
+       Add e_expf-fma.
+       * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
+       * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
+       * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
+
+2017-08-16  Andreas Schwab  <schwab@suse.de>
+
+       [BZ #16750]
+       CVE-2009-5064
+       * elf/ldd.bash.in: Never run file directly.
+
+2017-08-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #21955]
+       * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
+       (L(SP_INF_0)): Likewise.
+
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       * gmon/Makefile (tests-special): Add tst-gmon-prof only if
+       run-built-tests.
+
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
+       * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
+       BROKEN_THREAD_SIGNALS code.
+       * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
+       request_list): Remove caller_pid member used for
+       BROKEN_THREAD_SIGNALS.
+       [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
+       * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
+       Remove BROKEN_THREAD_SIGNALS support.
+       * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
+       * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
+
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       * gmon/Makefile (tests): Add tst-gmon.
+       (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
+       Set.
+       (tests-special): Add tst-gmon-prof.out.
+       (tst-gmon.out): Depend on clean-tst-gmon-data.
+       (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
+       * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
+       * Makeconfig (+link-before-libc): Add CRT-* hook to override the
+       startup object.
+       * aclocal.m4 (GPROF): Set and substitute.
+       * config.amke.in (GPROF): Set.
+       * configure: Regenerate.
+
+2017-08-15  Gustavo Romero  <gromero@linux.vnet.ibm.com>
+
+       * elf/elf.h A (NT_PPC_TAR): New macro.
+       (NT_PPC_PPR): Likewise.
+       (NT_PPC_DSCR): Likewise.
+       (NT_PPC_EBB): Likewise.
+       (NT_PPC_PMU): Likewise.
+       (NT_PPC_TM_CGPR): Likewise.
+       (NT_PPC_TM_CFPR): Likewise.
+       (NT_PPC_TM_CVMX): Likewise.
+       (NT_PPC_TM_CVSX): Likewise.
+       (NT_PPC_TM_SPR): Likewise.
+       (NT_PPC_TM_CTAR): Likewise.
+       (NT_PPC_TM_CPPR): Likewise.
+       (NT_PPC_TM_CDSCR): Likewise.
+
+2017-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
+       regparm (2) instead of internal_function.
+       (_MCOUNT_DECL): Adjust.
+
+2017-08-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
+       * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
+
+2017-08-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * conform/data/sys/wait.h-data (si_value): Do not expect for
+       XPG42.
+
+2017-08-14  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #21962]
+       NSS: Create stubs for accidentally exported lookup functions.
+       * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
+       Remove declaration.
+       * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
+       (ether_hostton): Call __nss_ethers_lookup2 instead.
+       * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
+       (ether_ntohost): Call __nss_ethers_lookup2 instead.
+       * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
+       (setup): Call __nss_netgroup_lookup2 instead.
+       * nss/Makefile (routines): Add compat-lookup.
+       * nss/Versions (GLIBC_2.27): Add symbol version.
+       * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration.  Now provided by <nsswitch.h>.
+       (DB_COMPAT_FCT): Remove.
+       * nss/compat-lookup.c: New file.
+       * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
+       from databases.def.
+       * nss/service-lookup.c (NO_COMPAT): Remove definition.
+       * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
+       (netname2user): Call __nss_publickey_lookup2 instead.
+       * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
+       (getpublickey, getsecretkey): Call __nss_publickey_lookup2
+       instead.
+
+2017-08-14 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+           Sergei Trofimovich  <slyfox@inbox.ru>
+
+       [BZ #21908]
+       * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
+       Rename to MMAP2_PAGE_UNIT.
+       * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
+       __OFF_T_MATCHES_OFF64_T is not defined.
+       * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
+       uint64_t.
+       (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
+       (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
+
+2017-08-14  Florian Weimer  <fweimer@redhat.com>
+
+       i386: Do not set internal_function.
+       * config.h.in (USE_REGPARMS, internal_function): Remove.
+       * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
+       * sysdeps/i386/configure (USE_REGPARMS): Likewise.
+
+2017-08-14  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/dl-init.c (_dl_init): Remove internal_function.
+       * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
+       * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
+
+2017-08-14  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/rtld.c (_dl_start): Remove internal_function.
+       * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
+       _dl_start.
+
+2017-08-14  Florian Weimer  <fweimer@redhat.com>
+
+       * elf/dl-fini.c (_dl_fini): Remove internal_function
+       * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
+
+2017-08-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
+       (bit_cpu_SHSTK): Likewise.
+       (index_cpu_IBT): Likewise.
+       (index_cpu_SHSTK): Likewise.
+       (reg_IBT): Likewise.
+       (reg_SHSTK): Likewise.
+       * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
+       Handle index_cpu_IBT and index_cpu_SHSTK.
+
+2017-08-14  Mike FABIAN  <mfabian@redhat.com>
+
+       [BZ #19982]
+       * po/fr.po: Fix spelling mistake.
+
 2017-08-13  Florian Weimer  <fweimer@redhat.com>
 
        * elf/dl-addr.c (_dl_addr): Remove internal_function.