aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-28(client_queued): New variable. (nscd_run): Revamp the loop. Don't call poll ↵Ulrich Drepper1-100/+122
except for cleanup threads. Keep track of the number of delays caused because of busy worker threads.
2003-04-27* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running inRoland McGrath1-0/+5
subdirectory. 2003-04-27 Andreas Schwab <schwab@suse.de>
2003-04-272003-04-27 Andreas Schwab <schwab@suse.de>Roland McGrath1-2/+2
* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in subdirectory.
2003-04-27* sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.Andreas Schwab1-0/+4
2003-04-27semtimedop implementation for Linux/m68k.Andreas Schwab1-0/+60
2003-04-27Update.Ulrich Drepper7-6/+193
* locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
2003-04-27Update.Ulrich Drepper2-2/+7
2003-04-27 Ulrich Drepper <drepper@redhat.com> * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.
2003-04-27Update.Ulrich Drepper7-9/+104
2003-04-26 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement tracking of freed memory in static TLS block. * elf/Makefile: Add rules to build and run tst-tls13. * elf/tst-tls13.c: New file. * elf/tst-tlsmod13.c: New file. * elf/tst-tlsmod13a.c: New file. * elf/tst-tls8.c: Adjust types of variables to avoid warnings. * elf/dl-reloc.c: Pretty printing.
2003-04-27Test for unloading of modules with TLS in static block.Ulrich Drepper1-0/+29
2003-04-26(LDSEDCMD-c.so): Variable removed.Roland McGrath2-1/+1
2003-04-26* Makerules ($(common-objpfx)shlib.lds): New target.Roland McGrath4-23/+35
(common-generated): Add it. (build-shlib, build-module): Use that instead of generating every time. ($(common-objpfx)libc.so): Depend on it. (lib%.so rule): Likewise. (build-module-helper-objlist): Remove %.lds. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on $(common-objpfx)shlib.lds. * dlfcn/Makefile ($(test-modules)): Likewise.
2003-04-26* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.Roland McGrath1-0/+4
2003-04-262003-04-26 Roland McGrath <roland@frob.com>Roland McGrath1-15/+7
* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
2003-04-26Update.Ulrich Drepper2-1/+5
2003-04-26 Andreas Schwab <schwab@suse.de> * elf/dl-close.c (remove_slotinfo): Fix missing parens.
2003-04-26Update.Ulrich Drepper1-0/+5
2003-04-26 Ulrich Drepper <drepper@redhat.com> * pthread.c (__pthread_initialize_manager): Remove one last p_multiple_threads call.
2003-04-26(__pthread_initialize_manager): Remove one last p_multiple_threads call.Ulrich Drepper1-1/+1
2003-04-26Fix.Jakub Jelinek1-2/+0
2003-04-26Update.Ulrich Drepper13-59/+180
* nscd/cache.c (cache_search): Keep track of how many chain links we searched and update table statistics. (cache_add): Keep track of how many values are in the table. (prune_cache): Likewise. Keep track of locking success. Print messages about removed entries in separate pass. * nscd/connections.c (handle_request): Don't print debug message here. The caller will do it. Keep track of locking success. (nscd_run): Print debug message. Also print PID of the client process. * nscd/nscd.c (start_time): New variable. (main): Remember start time. * nscd/nscd.h: Declare start_time. (struct database): Add more members for new statistics. * nscd/nscd_stat.c: Add support for sending, receiving, and printing of new statistics.
2003-04-25Update.Ulrich Drepper17-85/+62
* pthread.c (__pthread_initialize_manager): Subtract TLS_PRE_TCB_SIZE bytes from tcbp to get to descr. * manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). (pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). * sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
2003-04-25Update.Ulrich Drepper2-0/+5
2003-04-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
2003-04-25Update.Ulrich Drepper33-113/+225
2003-04-22 Jakub Jelinek <jakub@redhat.com> * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to NO_TLS_OFFSET. * elf/rtld.c (_dl_start_final, _dl_start): Likewise. * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract TLS_TCB_SIZE.
2003-04-25Update.Ulrich Drepper2-1/+72
* nss/getent.c: Implement alternative host database lookup via getaddrinfo. unbinding it.
2003-04-24Update.Ulrich Drepper8-105/+582
2003-04-24 Ulrich Drepper <drepper@redhat.com> * include/ifaddrs.h: New file. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG... * resolv/netdb.h: ...here. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG.
2003-04-24Internal shadow header for <ifaddrs.h>.Ulrich Drepper1-0/+7
2003-04-24* elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.Roland McGrath2-2/+7
* nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
2003-04-24* elf/dl-reloc.c (allocate_static_tls): Rename to...Roland McGrath5-8/+46
(_dl_allocate_static_tls): ... this function. No longer static. (CHECK_STATIC_TLS): Adjust. * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): Add SYM_MAP argument. (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit TLS relocs here. #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Add SYM_MAP argument. Handle 16-bit TLS relocs here. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. Use r_type in RESOLVE macro.
2003-04-242003-04-24 Jakub Jelinek <jakub@redhat.com>Roland McGrath4-64/+80
* elf/dl-reloc.c (allocate_static_tls): Rename to... (_dl_allocate_static_tls): ... this function. No longer static. (CHECK_STATIC_TLS): Adjust. * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): Add SYM_MAP argument. (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit TLS relocs here. #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Add SYM_MAP argument. Handle 16-bit TLS relocs here.
2003-04-23Update.Ulrich Drepper2-26/+14
* nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we != NULL. Remove code made redundant by this assumption. (__yp_unbind): Add call to free. Adjust all callers.
2003-04-23Update.Ulrich Drepper2-4/+14
* nis/ypclnt.c (yp_all): Free the dom_binding object after unwinding it.
2003-04-23Update.Ulrich Drepper3-10/+18
2003-04-23 Ulrich Drepper <drepper@redhat.com> * grp/initgroups.c (getgrouplist): Don't copy too much into the user buffer if more groups are found than fit into it. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use extend_alloca.
2003-04-23Update.Ulrich Drepper1-0/+3
* sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.
2003-04-23(gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.Ulrich Drepper1-5/+3
2003-04-23* Makeconfig (shared-thread-library): Reverse link order to workRoland McGrath4-4/+14
around linker bug.
2003-04-23* elf/tst-tls12.c (main): Fix declaration.Roland McGrath7-5/+29
* elf/tst-tls10.c (dummy): Make hidden instead of static. * elf/tst-tlsmod7.c (dummy): Likewise. * elf/tst-tlsmod8.c (dummy): Likewise. * elf/tst-tlsmod9.c (dummy): Likewise. 2003-04-22 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise. * include/tls.h: Protect against multiple inclusion.
2003-04-232003-04-22 Roland McGrath <roland@redhat.com>Roland McGrath4-11/+10
* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2003-04-22Update.Ulrich Drepper7-62/+25
2003-04-22 Ulrich Drepper <drepper@redhat.com> * nscd/nscd-client.h: Add declaration for __nscd_open_socket. * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from open_socket. Not static anymore. (nscd_gethst_r): Use __nscd_open_socket. * nscd/nscd_getgr_r.c (open_socket): Removed. (nscd_getgr_r): Use __nscd_open_socket. * nscd/nscd_getpw_r.c (open_socket): Removed. (nscd_getpw_r): Use __nscd_open_socket. * nscd/nscd.c (main): Change type of fdn to long int and use strtol. * nscd/connections.c (handle_request): Add cast to avoid warning.
2003-04-22Update.Ulrich Drepper2-1/+5
2003-04-22 Ulrich Drepper <drepper@redhat.com> * semaphore.h: Fix typo in comment.
2003-04-22Update.Ulrich Drepper2-3/+8
2003-04-21 Ulrich Drepper <drepper@redhat.com> * locales/ar_BH: Fix spelling of Bahrain. * locales/uk_UA: Fix sorting. Patch by Leonid Kanter <leon@geon.donetsk.ua>.
2003-04-21Update.Ulrich Drepper4-1/+33
* signal/sigfillset.c: Moved to... * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined do not set the corresponding bit.
2003-04-21Update.Ulrich Drepper15-57/+102
2003-04-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for SIGCANCEL. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. first syscall parameter to const char*.
2003-04-20Update.Ulrich Drepper3-4/+4
* sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast first syscall parameter to cnst char*.
2003-04-20Update.Ulrich Drepper2-1/+6
2003-04-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/check_fds.c (check_one_fd): Cast first parameter of open_not_cancel explicitly to const char*.
2003-04-20Update.Ulrich Drepper2-2/+10
* sysdeps/i386/useldt.h (DO_SET_THREAD_AREA): Make sure the compiler knows we use the ldt_entry variable and that the syscall modifies the memory.
2003-04-20Update.Ulrich Drepper4-60/+97
2003-04-20 Ulrich Drepper <drepper@redhat.com> * internals.h: Split pthread_functions definition into... * sysdeps/pthread/pthread-functions.h: ...new file. * sysdeps/i386/useldt.h: Include <sysdep.h>.
2003-04-20Update.Ulrich Drepper2-2/+4
* intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
2003-04-19Update.Ulrich Drepper5-0/+38
* configure.in: Add AC_PROG_CXX. * config.make.in (CXX): Define.
2003-04-19Update.Ulrich Drepper3-2/+15
2003-04-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of __len to size_t to avoid warnings.
2003-04-19Update.Ulrich Drepper3-4/+10
2003-04-18 Jes Sorensen <jes@wildopensource.com> * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux 2.5.67. * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
2003-04-19Update.Ulrich Drepper5-20/+57
* stdlib/cxa_finalize.c (__cxa_finalize): Don't call UNREGISTER_ATFORK if d == NULL.
2003-04-19Update.Ulrich Drepper45-615/+1560
2003-04-19 Ulrich Drepper <drepper@redhat.com> * catgets/nl_types.h: Remove __THROW marker from cancellation points. * dirent/dirent.h: Likewise. * dlfcn/dlfcn.h: Likewise. * grp/grp.h: Likewise. * iconv/iconv.h: Likewise. * io/fcntl.h: Likewise. * io/ftw.h: Likewise. * libio/stdio.h: Likewise. * misc/sys/mman.h: Likewise. * misc/sys/select.h: Likewise. * misc/sys/syslog.h: Likewise. * misc/sys/uio.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * posix/sys/wait.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * rt/aio.h: Likewise. * shadow/shadow.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/stdlib.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * sysvipc/sys/msg.h: Likewise. * termios/termios.h: Likewise. * time/time.h: Likewise. * wcsmbs/wchar.h: Likewise. * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable functions. * misc/daemon.c: Likewise. * sysdeps/generic/backtracesymsfd.c: Likewise. * sysdeps/generic/check_fds.c: Likewise. * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/unix/sysv/linux/not-cancel.h: New file. * sysdeps/generic/not-cancel.h: New file. * csu/Makefile (distribute): Add not-cancel.h. * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE for assert.c and assert-perr.c to include <fatal-prepare.h>. * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. * sysdeps/posix/remove.c (remove): Rewrite. No need to restore errno and unlink first. * io/ftw.c (ftw_dir): In all places assume fchdir is available. 2003-04-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use INTERNAL_SYSCALL instead of INLINE_SYSCALL.