aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-30Update.Ulrich Drepper
* grp/initgroups.c: Move compat_call implementation... * grp/compat-initgroups.c: ...to here. New file. * grp/Makefile (distribute): Add compat-initgroups.c. (CFLAGS-initgroups.c): Add -DUSE_NSCD=1. * mscd/initgrcache.c: New file. * nscd/nscd_initgroups.c: New file. * nscd/Makefile (routines): Add nscd_initgroups. (nscd-modules): Add initgrcache. * nscd/cache.c (prune_cache): Add support for INITGROUPS entries. * nscd/connections.c: Handle INITGROUPS requests. * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header. Add initgrdata element to struct datahead. Fix typo in comment. * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter type in __nscd_getgrgrid_r. * nscd/selinux.c (perms): Add INITGROUPS entry. * nscd/nscd_getai.c: No need to include <sys/mman.h>. * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without assigned addresses. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. * sunrpc/clnt_udp.c (is_network_up): Likewise.
2004-09-29Update.Ulrich Drepper
* nscd/nscd.c: Define getaddrinfo hidden so that it is never found outside.
2004-09-29Update.Ulrich Drepper
Renamed from si_flags due to conflict with si_flags from <elf.h>.
2004-09-29Update.Ulrich Drepper
Renamed from si_flags due to comflict with si_flags from <elf.h>.
2004-09-29Update.Ulrich Drepper
2004-09-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags): Renamed from si+flags due to comflict with si_flags from <elf.h>.
2004-09-29Update.cvs/fedora-glibc-20040929T0821Ulrich Drepper
* nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test of failing __nscd_get_map_ref. Fix a few typos.
2004-09-28Update.Ulrich Drepper
* sunrpc/Makefile (xtests): Add tst-getmyaddr. * sunrpc/tst-getmyaddr.c: New file.
2004-09-28Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure SIGSETXID is not blocked. * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. * sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID.
2004-09-28Update.Ulrich Drepper
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2004-09-28Update.Ulrich Drepper
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing getifaddrs call. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
2004-09-28Update.Ulrich Drepper
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to disable all checking.
2004-09-28Update.Ulrich Drepper
2004-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t): Add __extension__ to long long types. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2004-09-28Update.Ulrich Drepper
2004-09-28 Ulrich Drepper <drepper@redhat.com> * locales/nb_NO: Make language field consistent in form with nn_NO.
2004-09-28Update.Ulrich Drepper
2004-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add support to get this value.
2004-09-28Update.Ulrich Drepper
2004-09-28 Jakub Jelinek <jakub@redhat.com> * io/utime.h (utime): Allow second argument to be NULL.
2004-09-28Update.Ulrich Drepper
2004-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP address and AI_CANONNAME is set, return copy of NAME as ai_canonname.
2004-09-28(gaih_inet): If NAME is a numerical IP address and AI_CANONNAME is set, ↵Ulrich Drepper
return copy of NAME as ai_canonname.
2004-09-28(elf_machine_rela_relative): Replace static inline by auto inline, add ↵Andreas Jaeger
always_inline attribute. (elf_machine_rel): Likewise. (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. (elf_machine_lazy_rela): Likewise. (elf_machine_rel_relative): Likewise. 2004-09-27 Andreas Jaeger <aj@suse.de> * sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace static inline by auto inline, add always_inline attribute. (elf_machine_rel): Likewise. (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. (elf_machine_lazy_rela): Likewise. (elf_machine_rel_relative): Likewise.
2004-09-28Update.Ulrich Drepper
2004-09-27 Ulrich Drepper <drepper@redhat.com> * locales/cy_GB: Fix d_t_fmt ("a viz" -> "mis"). Reported by Alan Cox <alan@redhat.com>.
2004-09-28Update.Ulrich Drepper
* sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases. * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t. * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t.
2004-09-28Update.Ulrich Drepper
2004-09-27 Ulrich Drepper <drepper@redhat.com> * sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER. Otherwise isvectordef will loop infinitely if typedef hyper int64_t is seen. (unsigned_dec): Use "u_quad_t" for similar reasons.
2004-09-28Actually, quad_t and u_quad_t are better choices.Ulrich Drepper
2004-09-28[BZ #409]Roland McGrath
add bz tag [BZ #409]
2004-09-28* sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bitRoland McGrath
twiddling in last change.
2004-09-282004-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit twiddling in last change.
2004-09-28(get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop ↵Ulrich Drepper
infinitely if typedef hyper int64_6 is seen. (unsigned_dec): Use "unsigned long long" for similar reasons.
2004-09-28* posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED.Roland McGrath
* posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro. * stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro. * sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro. [WCONTINUED] (__WIFCONTINUED): New macro. (__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no branches.
2004-09-28* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument toRoland McGrath
all three syscall uses, not just one!
2004-09-282004-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to all three syscall uses, not just one!
2004-09-26 * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. * ↵cvs/fedora-glibc-20040927T0611Richard Henderson
sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points to 16 byte boundaries. 2004-09-26 Richard Henderson <rth@redhat.com> * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points to 16 byte boundaries.
2004-09-26[BZ #151]Ulrich Drepper
Update. * elf/readlib.c (process_file): Before complaining about too-short file, check that it potentially be an ELF file. Also complain about empty files. [BZ #151].
2004-09-26[BZ #407]Ulrich Drepper
Update. * scripts/test-installation.pl: Fix ld.so recognition for new LD_TRACE_LOADED_OBJECTS output format. Patch by <jsberg04+computing.glibc@ftml.net> [BZ #407].
2004-09-26[BZ #384]Ulrich Drepper
Update. * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of environment. [BZ #384]
2004-09-26[BZ #381]Ulrich Drepper
Update. * sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl. * sunrpc/get_myaddr.c (get_myaddress): Likewise. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. Change interface to avoid buffer overrun and remove now useless parameters. (clnt_broadcast): Adjust caller. [BZ #381].
2004-09-26[BZ #376]Ulrich Drepper
Update. * sysdeps/generic/s_fdim.c: Handle +inf/+inf * sysdeps/generic/s_fdimf.c: Likewise. * sysdeps/generic/s_fdiml.c: Likewise. * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. * sysdeps/powerpc/fpu/s_fdim.c: Likewise. * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. * math/libm-test.inc (fdim_test): Add test case. [BZ #376].
2004-09-26_nl_make_l10nflist. [BZ #322]Ulrich Drepper
duplicate address recognition does not copy junk.
2004-09-26[BZ #362]Ulrich Drepper
Update. * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362]
2004-09-26[BZ #358]Ulrich Drepper
Update. 2004-09-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect requirement on socktype and protocol. (gaih_inet): If numeric port number is given, return records for all possible socket types. * posix/tst-getaddrinfo2.c: New file. * posix/Makefile (tests): Add tst-getaddrinfo2. [BZ #358]
2004-09-26[BZ #356]cvs/fedora-glibc-20040926T0823Ulrich Drepper
Update. * locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE data where _nl_value_type_LC_CTYPE does not contain the type information. Add range checks. Reported by John Lumby <johnlumby@hotmail.com> [BZ #356].
2004-09-26[BZ #346]Ulrich Drepper
Update. * libio/vasprintf.c (_IO_vasprintf): Fix condition to decide whether to realloc or not. Reported by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> [BZ #346].
2004-09-26Update.Ulrich Drepper
2004-09-26[BZ #322]Ulrich Drepper
Update. * intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls. * intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if decided < 0. * intl/finddomain.c (_nl_find_domain): Likewise. * intl/l10nflist.c (_nl_make_l10nflist): Initialize lock. * intl/loadinfo.h (struct loaded_l10nfile): Add lock element. * intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we are done. First set to -1 to signal initialization is ongoing. Protect against concurrent callers with recursive lock. duplicate address recognition does not copy junk. [BZ #322]
2004-09-26Update.Ulrich Drepper
* intl/finddomain.c (_nl_find_domain): Protect calls to _nl_make_l10nflist.
2004-09-25Update.Ulrich Drepper
2004-09-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of source address fails, initialized source_addr_len field so that duplicate address recognition does not copy junk.
2004-09-25(getaddrinfo): If determinination of source address fails, initialized ↵Ulrich Drepper
source_addr_len field so that duplicate address recognition does not copy junk.
2004-09-25[BZ #406]Roland McGrath
2004-09-25 Roland McGrath <roland@redhat.com> [BZ #406] * sysdeps/i386/i686/pt-machine.h: Don't #include "../useldt.h" if [_TLS_H], since sysdeps/i386/tls.h includes it after including us.
2004-09-25[BZ #406]Roland McGrath
2004-09-25 Roland McGrath <roland@redhat.com> [BZ #406] * sysdeps/i386/i686/pt-machine.h: Don't #include "../useldt.h" if [_TLS_H], since sysdeps/i386/tls.h includes it after including us.
2004-09-25Update.Ulrich Drepper
2004-09-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second result declaration. 2004-09-22 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace.
2004-09-25Update.cvs/fedora-glibc-20040925T0738Ulrich Drepper
* misc/daemon.c (daemon): Don't succeed if /dev/null cannot be opened.
2004-09-25Update.Ulrich Drepper
* nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the code a bit.