about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2004-09-3017-108/+738
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2004-09-292-0/+5
| | | | | * nscd/nscd.c: Define getaddrinfo hidden so that it is never found outside.
* Update.Ulrich Drepper2004-09-291-1/+1
| | | | Renamed from si_flags due to conflict with si_flags from <elf.h>.
* Update.Ulrich Drepper2004-09-291-1/+1
| | | | Renamed from si_flags due to comflict with si_flags from <elf.h>.
* Update.Ulrich Drepper2004-09-292-3/+8
| | | | | | | 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>.
* Update. cvs/fedora-glibc-20040929T0821Ulrich Drepper2004-09-292-3/+6
| | | | | * nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test of failing __nscd_get_map_ref. Fix a few typos.
* Update.Ulrich Drepper2004-09-284-1/+36
| | | | | * sunrpc/Makefile (xtests): Add tst-getmyaddr. * sunrpc/tst-getmyaddr.c: New file.
* Update.Ulrich Drepper2004-09-289-19/+65
| | | | | | | | | * 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.
* Update.Ulrich Drepper2004-09-282-1/+2
| | | | * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
* Update.Ulrich Drepper2004-09-283-2/+6
| | | | | | * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing getifaddrs call. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
* Update.Ulrich Drepper2004-09-282-1/+5
| | | | | * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to disable all checking.
* Update.Ulrich Drepper2004-09-289-31/+43
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-282-1/+5
| | | | | | 2004-09-28 Ulrich Drepper <drepper@redhat.com> * locales/nb_NO: Make language field consistent in form with nn_NO.
* Update.Ulrich Drepper2004-09-282-1/+7
| | | | | | | 2004-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add support to get this value.
* Update.Ulrich Drepper2004-09-282-1/+5
| | | | | | 2004-09-28 Jakub Jelinek <jakub@redhat.com> * io/utime.h (utime): Allow second argument to be NULL.
* Update.Ulrich Drepper2004-09-281-0/+5
| | | | | | | 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.
* (gaih_inet): If NAME is a numerical IP address and AI_CANONNAME is set, ↵Ulrich Drepper2004-09-281-0/+10
| | | | return copy of NAME as ai_canonname.
* (elf_machine_rela_relative): Replace static inline by auto inline, add ↵Andreas Jaeger2004-09-282-6/+20
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-282-3/+8
| | | | | | | 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>.
* Update.Ulrich Drepper2004-09-284-1/+18
| | | | | | * 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.
* Update.Ulrich Drepper2004-09-281-0/+7
| | | | | | | | | 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.
* Actually, quad_t and u_quad_t are better choices.Ulrich Drepper2004-09-281-2/+2
|
* [BZ #409]Roland McGrath2004-09-281-0/+1
| | | | | add bz tag [BZ #409]
* * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bitRoland McGrath2004-09-281-0/+3
| | | | twiddling in last change.
* 2004-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-282-2/+2
| | | | | * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit twiddling in last change.
* (get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop ↵Ulrich Drepper2004-09-281-6/+6
| | | | infinitely if typedef hyper int64_6 is seen. (unsigned_dec): Use "unsigned long long" for similar reasons.
* * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED.Roland McGrath2004-09-286-18/+108
| | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument toRoland McGrath2004-09-281-0/+5
| | | | all three syscall uses, not just one!
* 2004-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-281-2/+3
| | | | | * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to all three syscall uses, not just one!
* * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. * ↵ cvs/fedora-glibc-20040927T0611Richard Henderson2004-09-263-2/+9
| | | | | | | | | | 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.
* [BZ #151]Ulrich Drepper2004-09-262-1/+13
| | | | | | | 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].
* [BZ #407]Ulrich Drepper2004-09-262-4/+7
| | | | | | | 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].
* [BZ #384]Ulrich Drepper2004-09-262-10/+13
| | | | | | Update. * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of environment. [BZ #384]
* [BZ #381]Ulrich Drepper2004-09-265-126/+90
| | | | | | | | | | 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].
* [BZ #376]Ulrich Drepper2004-09-2611-26/+47
| | | | | | | | | | | | | | 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].
* _nl_make_l10nflist. [BZ #322]Ulrich Drepper2004-09-261-2/+3
| | | | duplicate address recognition does not copy junk.
* [BZ #362]Ulrich Drepper2004-09-263-6/+9
| | | | | | Update. * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362]
* [BZ #358]Ulrich Drepper2004-09-264-12/+116
| | | | | | | | | | | | 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]
* [BZ #356] cvs/fedora-glibc-20040926T0823Ulrich Drepper2004-09-262-4/+39
| | | | | | | | 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].
* [BZ #346]Ulrich Drepper2004-09-262-4/+8
| | | | | | | 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].
* Update.Ulrich Drepper2004-09-264-9/+5
|
* [BZ #322]Ulrich Drepper2004-09-266-39/+86
| | | | | | | | | | | | | | 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]
* Update.Ulrich Drepper2004-09-262-0/+16
| | | | | * intl/finddomain.c (_nl_find_domain): Protect calls to _nl_make_l10nflist.
* Update.Ulrich Drepper2004-09-251-0/+6
| | | | | | | | 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.
* (getaddrinfo): If determinination of source address fails, initialized ↵Ulrich Drepper2004-09-251-16/+20
| | | | source_addr_len field so that duplicate address recognition does not copy junk.
* [BZ #406]Roland McGrath2004-09-251-0/+6
| | | | | | | 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.
* [BZ #406]Roland McGrath2004-09-251-2/+4
| | | | | | | 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.
* Update.Ulrich Drepper2004-09-257-19/+45
| | | | | | | | | | | 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.
* Update. cvs/fedora-glibc-20040925T0738Ulrich Drepper2004-09-252-4/+7
| | | | | * misc/daemon.c (daemon): Don't succeed if /dev/null cannot be opened.
* Update.Ulrich Drepper2004-09-252-9/+10
| | | | | * nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the code a bit.