aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2004-09-09* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.Andreas Jaeger1-0/+4
2004-09-09Update.Ulrich Drepper1-0/+2
* sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.
2004-09-09Update.Ulrich Drepper1-0/+4
2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (_int_free): Add inexpensive double free test.
2004-09-08Update.Ulrich Drepper1-0/+4
* sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
2004-09-08* malloc/mcheck.c: Don't use __P.Roland McGrath1-0/+5
Use prototypes definitions for static functions.
2004-09-08Update.Ulrich Drepper1-0/+2
* nscd/nscd-client.h: Add a few #includes.
2004-09-08* sysdeps/generic/nscd_setup_thread.c: New file.Ulrich Drepper1-0/+2
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
2004-09-08Update.Ulrich Drepper1-0/+12
Jakub Jelinek <jakub@redhat.com> * nscd/Makefile (nscd-modules): Add nscd_setup_thread. * nscd/connections.c (nscd_run): Call setup_thread for maintenance threads. * nscd/nscd-client.h (struct database_pers_head): Add nscd_certainly_running field. * nscd/nscd.h: Declare setup_thread. * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if nscd_certainly_running is nonzero. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
2004-09-08Update.Ulrich Drepper1-0/+24
* nscd/connections.c: Implement r/o sharing of nscd's cache with client processes via shared memory. * nscd/nscd-client.h: Likewise. * nscd/nscd.h: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_getgr_r.c: Likewise. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_gethst_r.c: Likewise. * nscd/nscd.conf: Add new config parameters. * nscd/Makefile (aux): Add nscd_helper. * nscd/nscd_helper.c: New file. * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. * nscd/hstcache.c: Simplify a lot. We cache only the request itself, no derived information. * connections.c (nscd_init): Fix bug in testing size of the persistent. * nis/Makefile (aux): Add nis_hash. * nis/nis_hash.c: New file. Split out from nis_util.c. * nis/nis_util.c: Move __nis_hash code in separate file. * csu/tst-atomic.c: Improve atomic_increment_val test which would not have found a ppc bug.
2004-09-08Update.Ulrich Drepper1-0/+2
* sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.
2004-09-08Update.Ulrich Drepper1-0/+8
2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/arena.c: Remove __MALLOC_P uses. * malloc/malloc.c: Likewise. * malloc/mtrace.c: Remove __P uses. * malloc/mcheck-init.c: Likewise.
2004-09-08Update.Ulrich Drepper1-0/+14
2004-09-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/configure.in: New file. * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, BODY_PREFIX): Define. (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
2004-09-08Update.Ulrich Drepper1-0/+2
* malloc/malloc.h: Don't define __THROW if it is already defined.
2004-09-08Update.Ulrich Drepper1-0/+11
* sysdeps/powerpc/bits/atomic.h (atomic_increment): Define. (atomic_decrement): Define. * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and atomic_decrement_val. * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val and atomic_decrement_val.
2004-09-07and atomic_delay is not already defined.Ulrich Drepper1-1/+1
2004-09-07Update.Ulrich Drepper1-0/+42
* include/atomic.h: Define atomic_increment_val, atomic_decrement_val, and atomic_dealy is not already defined. * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay. * sysdeps/x86_64/bits/atomic.h: Likewise. * miscd/sys/cdefs.h (__NTH): New macro. (__THROW): Define using nothrow attribute for C code and gcc >= 3.2. (__REDIRECT_NTH): New macro. * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary. * ctype/ctype.h: Likewise. * dirent/dirent.h: Likewise. * io/fcntl.h: Likewise. * io/sys/sendfile.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statfs.h: Likewise. * io/sys/statvfs.h: Likewise. * libio/bits/stdio.h: Likewise. * misc/sys/mman.h: Likewise. * posix/unistd.h: Likewise. * resource/sys/resource.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/string.h: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/s390/fpu/bits/mathinline.h: Likewise. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise. * wcsmbs/wchar.h: Likewise. * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate. * resolv/gethnamaddr.c (getanswer): Remove __P use in variable definition. * io/sys/poll.h: Remove __THROW from poll prototype, it's a cancellation point.
2004-09-07Update.Ulrich Drepper1-0/+2
* io/fts.c (fts_open): Remove uses of __P.
2004-09-07Update.Ulrich Drepper1-0/+4
2004-09-07 Ulrich Drepper <drepper@redhat.com> * include/stdlib.h: No need to use __THROW in this header.
2004-09-06* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FDRoland McGrath1-0/+5
validity, since __assert_fail gets to here anyway. Just fail.
2004-09-06Update.Ulrich Drepper1-0/+6
2004-09-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 addresses.
2004-09-06 * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. * ↵Richard Henderson1-0/+10
sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IEEE_RAISE_EXCEPTION): New. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IEEE_RAISE_EXCEPTION): New. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. 2004-09-05 Richard Henderson <rth@redhat.com>
2004-09-06 * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. ↵Richard Henderson1-0/+8
* sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise. * sysdeps/alpha/div_libc.h (FRAME): Increase to 64. 2004-09-05 Richard Henderson <rth@redhat.com> * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise. * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.
2004-09-05Update.Ulrich Drepper1-0/+5
2004-09-05 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and GETHOSTBYADDRv6 requests.
2004-09-05Update.Ulrich Drepper1-0/+6
2004-09-04 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c (cache_addpw): Use correct key length in cache_add calls. * nscd/grpcache.c (cache_addgr): Likewise.
2004-09-03* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTVRoland McGrath1-0/+5
to `dtv_t *'.
2004-09-03Update.Ulrich Drepper1-0/+5
2004-09-03 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (parse_opt): Use writev instead of two write for invalidate command.
2004-09-03Update.Ulrich Drepper1-0/+4
2004-09-02 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c (nscd_run): Check early for invalid request types.
2004-09-02* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.Roland McGrath1-0/+6
(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word. (THREAD_SELF): New macro.
2004-09-02[BZ #357]Ulrich Drepper1-0/+11
Update. 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com> [BZ #357] * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. (main): Call test_stack. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext): Push stack frame then save parms in local frame. Improve instruction scheduling. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext): Likewise.
2004-09-02Update.Ulrich Drepper1-0/+5
2004-09-01 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use __builtin_offsetof.
2004-09-02[BZ #361]Ulrich Drepper1-0/+8
Update. 2004-09-01 Jakub Jelinek <jakub@redhat.com> [BZ #361] * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch to normal_bracket after fetching the next character. * posix/tst-fnmatch.input: Add 25 new tests. Reported by Markus Oberhumer <markus@oberhumer.com>.
2004-09-02Update.Ulrich Drepper1-0/+5
2004-09-01 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): First check existence of ld.so.preload with access.
2004-09-01* sysdeps/unix/sysv/linux/bits/waitflags.hRoland McGrath1-0/+9
(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): New macro. * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when available, or fall back to the waitpid-based generic code.
2004-09-01* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gccRoland McGrath1-0/+10
clobber the `ebp' register. * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed. Reverts change from 2004-05-07 by Jeroen Dekkers. * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of NEWSP from `void *' to `int *'. Changed all casts accordingly.
2004-09-01* wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hiddenRoland McGrath1-0/+6
before return type. * locale/localename.c (__current_locale_name): Likewise.
2004-08-31* scripts/extract-abilist.awk: If `lastversion' variable defined, omitRoland McGrath1-0/+9
later sets from output. * Makerules (check-abi): Pass option to set that with value of LIB-abi-frozen variable if one is set. * abilist/libcidn.abilist: New file (empty).
2004-08-30Update.Ulrich Drepper1-0/+5
2004-08-30 Jakub Jelinek <jakub@redhat.com> * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If not __USE_XOPEN2K, use the Unix98 mandated values.
2004-08-27* configure.in (usetls): Default to yes.Roland McGrath1-0/+5
* configure: Regenerated.
2004-08-26* configure.in (add_ons_automatic): New variable, set to yes or noRoland McGrath1-0/+8
indicating --enable-add-ons with no explicit list. (running add-on fragments): Allow a fragment to modify $libc_add_on and have that affect its place in the list of add-ons to use. * configure: Regenerated.
2004-08-26Update.Ulrich Drepper1-0/+19
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 Drepper1-0/+15
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 Drepper1-0/+5
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 Drepper1-1/+1
2004-08-25Update.Ulrich Drepper1-0/+5
* 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 * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind ↵Richard Henderson1-0/+6
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 Drepper1-0/+9
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* sysdeps/mips/dl-machine.h (_dl_start_user): Don't setAndreas Jaeger1-0/+5
__libc_stack_end.
2004-08-23Update.Ulrich Drepper1-0/+5
2004-08-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS.
2004-08-23[BZ #341]Andreas Jaeger1-0/+17
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-21Update.Ulrich Drepper1-0/+12
* 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.