aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-08-26Update.Ulrich Drepper
2004-08-26 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c: Major rewrite. The data is now optionally kept in a mmaped memory region which is automatically mirrored on disk. This implements persistent data storage. The Memory handled needed to be completely revamped, it now uses a garbage collection mechanism instead of malloc. * nscd/connections.c: Likewise. * nscd/nscd.c: Likewise. * nscd/nscd.h: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_stat.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c:: Likewise. * nscd/pwdcache.c:: Likewise. * nscd/Makefile: Add rules to build mem.c. * nscd/mem.c: New file. * nscd/nscd.conf: Describe new configuration options.
2004-08-26Update.Ulrich Drepper
2004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and _MIPS_SIM. * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. * nscd/connections.c (nscd_run): atomic_increment was not missing.
2004-08-26Update.Ulrich Drepper
2004-08-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval. Patch by Greg Schafer.
2004-08-25* nscd/grpcache.c (cache_addgr): Use copy of original key in hashUlrich Drepper
2004-08-25Update.Ulrich Drepper
* sysdeps/powerpc/powerpc64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch_compare_and_exchange_bool_32_rel): Likewise.
2004-08-25(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is ↵Ulrich Drepper
negative. (__arch_compare_and_exchange_bool_32_rel): Likewise.
2004-08-25 * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind ↵Richard Henderson
instead of $31. Zero $15. * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise. 2004-08-25 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind instead of $31. Zero $15. * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25Update.Ulrich Drepper
2004-08-25 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c: Make socket nonblocking so that threads don't get stuck on accept. Fix locking. * nscd/grpcache.c (cache_addgr): Use cope of original key in hash entry with alternative key. * nscd/pwdcache.c (cache_addpw): Likewise.
2004-08-25(cache_addpw): Use cope of original key in hash entry with alternative key.Ulrich Drepper
2004-08-25* sysdeps/mips/dl-machine.h (_dl_start_user): Don't setAndreas Jaeger
__libc_stack_end.
2004-08-25(CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt.Andreas Jaeger
2004-08-25 Richard Sandiford <rsandifo@redhat.com> * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2004-08-23Update.Ulrich Drepper
2004-08-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS.
2004-08-23Cosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS.Ulrich Drepper
2004-08-23[BZ #341]Andreas Jaeger
Fix for [BZ #341]. 2004-08-23 Andreas Jaeger <aj@suse.de> [BZ #341] * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.
2004-08-23[BZ #341] (O_NOATIME): Define.Andreas Jaeger
2004-08-23Update.Ulrich Drepper
2004-08-22 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO) [IS_IN_librt]: Save gp around CENABLE/CDISABLE calls.
2004-08-21Update.Ulrich Drepper
* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c. (check_action): Likewise. When printing error messages, use malloc_printf_nc now instead of fiddling with the streams cancellation flag in every place. * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change default to 3. (check_action): New variable. (unlink): Print error message and eventually terminate in case list is corrupted. (malloc_printf_nc): New function. Use it in _int_free. Change proposed by Arjan van de Ven.
2004-08-21Update.Ulrich Drepper
2004-08-21 Ulrich Drepper <drepper@redhat.com> * dlfcn/Makefile: Don't build eval.c anymore. pointer in new variable ORIG_NAME and use this pointer when
2004-08-21Don't build eval.c anymore.Ulrich Drepper
2004-08-20* csu/Makefile ($(objpfx)version-info.h): Use printf in placeRoland McGrath
of echo -e for POSIX.2 portability. Reported by Paul Jarc <prj@po.cwru.edu>. * setjmp/Makefile (tests): Add bug269-setjmp.
2004-08-202004-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* csu/Makefile ($(objpfx)version-info.h): Use printf in place of echo -e for POSIX.2 portability. Reported by Paul Jarc <prj@po.cwru.edu>.
2004-08-19Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in list generation.
2004-08-19Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use getcanonname_r function if AI_CANONNAME flag is not set in request.
2004-08-19Update.Ulrich Drepper
2004-08-19 Ulrich Drepper <drepper@redhat.com> * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Initialize mysize with limits only if latter is >= 0. Use mysize in malloc call.
2004-08-19Update.Ulrich Drepper
2004-08-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *) to avoid warning. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize status to NSS_STATUS_UNAVAIL. 2004-08-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the cannoname lookup since it has the FQDN even if the original NAME value has not.
2004-08-18Update.Ulrich Drepper
2004-08-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter pointer in new variable ORIG_NAME and se this pointer when determination of canonical name failed, not the possibly IDN translated value of NAME.
2004-08-18Update.Ulrich Drepper
* resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT. * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option. Reset RES_NOIP6DOTINT flag in this case..
2004-08-18UpdateUlrich Drepper
2004-08-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Fix memory handling of ai_canonname.
2004-08-16Update.Ulrich Drepper
2004-08-16 Ulrich Drepper <drepper@redhat.com> * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the chain of CNAME records which can be accomplished with A/AAAA lookups.
2004-08-16(_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the ↵Ulrich Drepper
chain of CNAME records which can be accomplished with A/AAAA lookups.
2004-08-16* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):Roland McGrath
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2004-08-16* sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing toRoland McGrath
this, not ... (static-only-routines): ... this. * sysdeps/ia64/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc64/Makefile: Likewise. * sysdeps/x86_64/Makefile: Likewise. * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change. * sysdeps/ia64/hp-timing.c: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
2004-08-16* csu/elf-init.c: Update copyright terms including special exceptionRoland McGrath
for these trivial files, which are statically linked into executables that use dynamic linking for the significant library code. * io/fstat.c: Likewise. * io/fstat64.c: Likewise. * io/lstat.c: Likewise. * io/lstat64.c: Likewise. * io/stat.c: Likewise. * io/stat64.c: Likewise. * stdlib/atexit.c: Likewise. * sysdeps/alpha/elf/initfini.c: Likewise. * sysdeps/alpha/elf/start.S: Likewise. * sysdeps/arm/elf/start.S: Likewise. * sysdeps/cris/elf/start.S: Likewise. * sysdeps/generic/initfini.c: Likewise. * sysdeps/generic/mknod.c: Likewise. * sysdeps/hppa/elf/initfini.c: Likewise. * sysdeps/hppa/elf/start.S: Likewise. * sysdeps/i386/elf/start.S: Likewise. * sysdeps/i386/i686/hp-timing.c: Likewise. * sysdeps/ia64/elf/initfini.c: Likewise. * sysdeps/ia64/elf/start.S: Likewise. * sysdeps/ia64/hp-timing.c: Likewise. * sysdeps/m68k/elf/start.S: Likewise. * sysdeps/mach/start.c: Likewise. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/s390/s390-32/elf/start.S: Likewise. * sysdeps/s390/s390-32/initfini.c: Likewise. * sysdeps/s390/s390-64/elf/start.S: Likewise. * sysdeps/s390/s390-64/initfini.c: Likewise. * sysdeps/sh/elf/initfini.c: Likewise. * sysdeps/sh/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/hp-timing.c: Likewise. * sysdeps/standalone/i386/start.S: Likewise. * sysdeps/standalone/i960/start.S: Likewise. * sysdeps/standalone/m68k/m68020/start.S: Likewise. * sysdeps/unix/arm/start.c: Likewise. * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. * sysdeps/unix/sparc/start.c: Likewise. * sysdeps/unix/start.c: Likewise. * sysdeps/unix/sysv/aix/start.s: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/x86_64/elf/initfini.c: Likewise. * sysdeps/x86_64/elf/start.S: Likewise.
2004-08-15[BZ #227]Roland McGrath
2004-08-15 Roland McGrath <roland@redhat.com> [BZ #227] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_BRK_PAGE_ROUNDED): New macro. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within the partial page after the dynamic linker's own data segment.
2004-08-15[BZ #227]Roland McGrath
2004-08-15 Roland McGrath <roland@redhat.com> [BZ #227] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_BRK_PAGE_ROUNDED): New macro. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within the partial page after the dynamic linker's own data segment.
2004-08-15Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of v4-mapped addresses a bit. (gethosts): Move alloca out of macro, so that it is done only once.
2004-08-15Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of addr to avoid casts. (gethosts): Removed. (gethosts2): Renamed to gethosts. Make it usable for family != AF_UNSPEC. Fix AI_V4MAPPED. (gaih_inet): Remove use of old gethosts. Always use what used to be gethosts2. If entry is found, try to use the same NSS module's getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only if getcanonname_r was not available. Fix filtering of AI_V4MAPPED addresses. Numerous cleanups. * resolv/nss_dns/dns-canon.c: New file. * resolv/Makefile (libnss_dns-routines): Add dns-canon. * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r. * elf/Makefile: Add rules to build and run tst-dlopenrpath. * elf/tst-dlopenrpath.c: New file. * elf/tst-dlopenrpathmod.c: New file. * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
2004-08-15Update.Ulrich Drepper
* intl/tst-gettext.sh: Adjust for change for de.po file to UTF-8. * intl/tst-gettext.c: Likewise.
2004-08-15Update.Ulrich Drepper
* nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
2004-08-15Update.Ulrich Drepper
2004-08-15 Ulrich Drepper <drepper@redhat.com> * nss/getent.c: Allow queries for getaddrinfo with AF_INET and AF_INET6.
2004-08-15Update.Ulrich Drepper
2004-08-14 Ulrich Drepper <drepper@redhat.com> * po/de.po: Update from translation team.
2004-08-15Update from translation team.Ulrich Drepper
2004-08-14* sysdeps/mach/configure: Regenerated.Roland McGrath
* sysdeps/mach/hurd/configure: Regenerated. * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is performed, make sure it is still the first entry after sorting that has the ai_canonname information.
2004-08-142004-08-14 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/configure: Regenerated. * sysdeps/mach/hurd/configure: Regenerated.
2004-08-14Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (getaddrinfo): I rfc3484 sorting is performed, make sure it is still the first entry after sotring which has the ai_canonname information.
2004-08-14Update.Ulrich Drepper
2004-08-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname only in one entry.
2004-08-14(gaih_inet): Really set ai_canonname only in one entry.Ulrich Drepper
2004-08-14* scripts/output-format.sed: Handle default case of three-argumentRoland McGrath
OUTPUT_FORMAT. * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as __attribute_used__.
2004-08-142004-08-13 Daniel Jacobowitz <dan@debian.org>Roland McGrath
* scripts/output-format.sed: Handle default case of three-argument OUTPUT_FORMAT.
2004-08-14Update.Ulrich Drepper
* nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the first returned entry. Print name only if not NULL.