Ulrich Drepper [Sat, 2 Oct 2004 19:31:11 +0000 (19:31 +0000)]
Update.
2004-10-02 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_helper.c (get_mapping): No need to check timestamp if
nscd_certainly_running is nonzero.
Ulrich Drepper [Fri, 1 Oct 2004 23:55:51 +0000 (23:55 +0000)]
Update.
* malloc/malloc.c (public_vALLOc): Add missing use of hooks.
(public_pVALLOc): Likewise.
Ulrich Drepper [Fri, 1 Oct 2004 23:51:18 +0000 (23:51 +0000)]
(public_vALLOc): Add missing use of hooks. (public_pVALLOc): Likewise.
Roland McGrath [Fri, 1 Oct 2004 22:49:43 +0000 (22:49 +0000)]
[BZ #420]
2004-10-02 Simon Josefsson <jas@extundo.com>
[BZ #420]
* sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to
make the file usable inside gnulib.
Roland McGrath [Fri, 1 Oct 2004 22:49:36 +0000 (22:49 +0000)]
[BZ #420]
2004-10-02 Simon Josefsson <jas@extundo.com>
[BZ #420]
* sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to
make the file usable inside gnulib.
Ulrich Drepper [Fri, 1 Oct 2004 21:35:08 +0000 (21:35 +0000)]
(__nscd_getgrouplist): Add assert.
Ulrich Drepper [Fri, 1 Oct 2004 21:24:29 +0000 (21:24 +0000)]
Update.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Always add the
group the caller provided unless there is a real problem.
Ulrich Drepper [Fri, 1 Oct 2004 15:44:06 +0000 (15:44 +0000)]
Update.
2004-10-01 Ulrich Drepper <drepper@redhat.com>
* posix/bug-glob1.c (prepare): Fix creation of symlink.
Ulrich Drepper [Fri, 1 Oct 2004 10:35:03 +0000 (10:35 +0000)]
[BZ #417]
Ulrich Drepper [Fri, 1 Oct 2004 10:33:03 +0000 (10:33 +0000)]
Update.
2004-10-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_mutex_timedlock_wait): I woken but cannot get the lock,
make sure 2 is stored in the futex and we looked at the old value.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_timedlock_wait): Likewise. Fix a few other problems
which might very well made the code not working at all before.
Ulrich Drepper [Thu, 30 Sep 2004 23:13:17 +0000 (23:13 +0000)]
Update.
* posix/Makefile: Add rules to build and run bug-glob1.
* posix/bug-glob1.c: New file.
Ulrich Drepper [Thu, 30 Sep 2004 08:56:32 +0000 (08:56 +0000)]
Update.
* iconv/iconv_prog.c (main): Print progress information to stderr.
Ulrich Drepper [Thu, 30 Sep 2004 08:35:09 +0000 (08:35 +0000)]
(CFLAGS-initgrcache.c): Set to -fexceptions.
Ulrich Drepper [Thu, 30 Sep 2004 08:28:54 +0000 (08:28 +0000)]
clients immediately stop using the database.
Ulrich Drepper [Thu, 30 Sep 2004 08:27:48 +0000 (08:27 +0000)]
Update.
* nscd/nscd.c (termination_handler): Reset timestamp so that
client immediately stop using the database.
(__nscd_drop_map_ref): Change second parameter to be a reference to
* nscd/nscd.h: Add declaration of addinitgroups and
Ulrich Drepper [Thu, 30 Sep 2004 08:08:40 +0000 (08:08 +0000)]
Update.
2004-09-30 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last
parameter.
(__nscd_drop_map_ref): Change second parameter to be a referenc to
a variable. Update variable when cycle count changed.
* nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too.
* nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref. Reinitialize
all variables and avoid memory leak in case of retries.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_initgroups.c: Likewise.
* nscd/nscd.h: Add declaretion of addinitgroups and
readdinitgroups.
Ulrich Drepper [Thu, 30 Sep 2004 08:03:44 +0000 (08:03 +0000)]
(__nscd_get_map_ref): Drop volatile from last parameter. (__nscd_drop_map_ref): Change second parameter to be a referenc to a variable. Update variable when cycle count changed.
Andreas Jaeger [Thu, 30 Sep 2004 07:51:44 +0000 (07:51 +0000)]
* nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie.
(CFLAGS-initgrcache.c): Likewise.
Andreas Jaeger [Thu, 30 Sep 2004 07:51:30 +0000 (07:51 +0000)]
(CFLAGS-nscd_initgroups.c): Set to -fpie. (CFLAGS-initgrcache.c): Likewise.
Ulrich Drepper [Thu, 30 Sep 2004 07:15:40 +0000 (07:15 +0000)]
Add declaretion of addinitgroups and readdinitgroups.
Ulrich Drepper [Thu, 30 Sep 2004 06:42:39 +0000 (06:42 +0000)]
Update.
2004-09-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/glob.c (glob_in_dir): Don't blindly trust
readdir results; for symlinks or files of unknown type check using
stat whether the file exists.
* posix/tst-gnuglob.c (find_file): Handle leading "./". Fix
recognition of files.
Ulrich Drepper [Thu, 30 Sep 2004 06:16:50 +0000 (06:16 +0000)]
Update.
2004-09-29 Jakub Jelinek <jakub@redhat.com>
* time/tzfile.c (tzfile_mtime): New variable.
(__tzfile_read): Reread the file if mtime is different.
2004-09-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim):
Handle +inf/+inf.
* sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
Ulrich Drepper [Thu, 30 Sep 2004 05:16:40 +0000 (05:16 +0000)]
Update.
2004-09-29 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for
testing result of __nscd_get_map_ref.
Ulrich Drepper [Thu, 30 Sep 2004 02:56:42 +0000 (02:56 +0000)]
Update.
2004-09-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf.
* sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise.
* sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise.
004-09-29 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Thu, 30 Sep 2004 02:24:51 +0000 (02:24 +0000)]
Update.
* 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.
Ulrich Drepper [Wed, 29 Sep 2004 22:47:22 +0000 (22:47 +0000)]
Update.
* nscd/nscd.c: Define getaddrinfo hidden so that it is never found
outside.
Ulrich Drepper [Wed, 29 Sep 2004 18:00:18 +0000 (18:00 +0000)]
Update.
Renamed from si_flags due to conflict with si_flags from <elf.h>.
Ulrich Drepper [Wed, 29 Sep 2004 17:59:24 +0000 (17:59 +0000)]
Update.
Renamed from si_flags due to comflict with si_flags from <elf.h>.
Ulrich Drepper [Wed, 29 Sep 2004 17:52:21 +0000 (17:52 +0000)]
Update.
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>.
Ulrich Drepper [Wed, 29 Sep 2004 05:59:26 +0000 (05:59 +0000)]
Update.
* nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test
of failing __nscd_get_map_ref. Fix a few typos.
Ulrich Drepper [Tue, 28 Sep 2004 23:08:14 +0000 (23:08 +0000)]
Update.
* sunrpc/Makefile (xtests): Add tst-getmyaddr.
* sunrpc/tst-getmyaddr.c: New file.
Ulrich Drepper [Tue, 28 Sep 2004 22:44:12 +0000 (22:44 +0000)]
Update.
* 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.
Ulrich Drepper [Tue, 28 Sep 2004 22:16:26 +0000 (22:16 +0000)]
Update.
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
Ulrich Drepper [Tue, 28 Sep 2004 22:13:11 +0000 (22:13 +0000)]
Update.
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
getifaddrs call.
* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
Ulrich Drepper [Tue, 28 Sep 2004 18:25:52 +0000 (18:25 +0000)]
Update.
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
disable all checking.
Ulrich Drepper [Tue, 28 Sep 2004 10:36:33 +0000 (10:36 +0000)]
Update.
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.
Ulrich Drepper [Tue, 28 Sep 2004 08:59:29 +0000 (08:59 +0000)]
Update.
2004-09-28 Ulrich Drepper <drepper@redhat.com>
* locales/nb_NO: Make language field consistent in form with nn_NO.
Ulrich Drepper [Tue, 28 Sep 2004 07:57:56 +0000 (07:57 +0000)]
Update.
2004-09-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add
support to get this value.
Ulrich Drepper [Tue, 28 Sep 2004 07:46:43 +0000 (07:46 +0000)]
Update.
2004-09-28 Jakub Jelinek <jakub@redhat.com>
* io/utime.h (utime): Allow second argument to be NULL.
Ulrich Drepper [Tue, 28 Sep 2004 07:13:35 +0000 (07:13 +0000)]
Update.
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.
Ulrich Drepper [Tue, 28 Sep 2004 07:11:00 +0000 (07:11 +0000)]
(gaih_inet): If NAME is a numerical IP address and AI_CANONNAME is set, return copy of NAME as ai_canonname.
Andreas Jaeger [Tue, 28 Sep 2004 04:54:41 +0000 (04:54 +0000)]
(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-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.
Ulrich Drepper [Tue, 28 Sep 2004 04:38:21 +0000 (04:38 +0000)]
Update.
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>.
Ulrich Drepper [Tue, 28 Sep 2004 03:02:24 +0000 (03:02 +0000)]
Update.
* 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.
Ulrich Drepper [Tue, 28 Sep 2004 02:05:12 +0000 (02:05 +0000)]
Update.
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.
Ulrich Drepper [Tue, 28 Sep 2004 02:03:49 +0000 (02:03 +0000)]
Actually, quad_t and u_quad_t are better choices.
Roland McGrath [Tue, 28 Sep 2004 01:59:52 +0000 (01:59 +0000)]
[BZ #409]
add bz tag
[BZ #409]
Roland McGrath [Tue, 28 Sep 2004 01:58:10 +0000 (01:58 +0000)]
* sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit
twiddling in last change.
Roland McGrath [Tue, 28 Sep 2004 01:58:03 +0000 (01:58 +0000)]
2004-09-27 Roland McGrath <roland@redhat.com>
* sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit
twiddling in last change.
Ulrich Drepper [Tue, 28 Sep 2004 01:57:41 +0000 (01:57 +0000)]
(get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop infinitely if typedef hyper int64_6 is seen. (unsigned_dec): Use "unsigned long long" for similar reasons.
Roland McGrath [Tue, 28 Sep 2004 01:42:49 +0000 (01:42 +0000)]
* posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED.
* 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.
Roland McGrath [Tue, 28 Sep 2004 00:43:00 +0000 (00:43 +0000)]
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
all three syscall uses, not just one!
Roland McGrath [Tue, 28 Sep 2004 00:42:52 +0000 (00:42 +0000)]
2004-09-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
all three syscall uses, not just one!
Richard Henderson [Sun, 26 Sep 2004 17:40:31 +0000 (17:40 +0000)]
* sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. * 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.
Ulrich Drepper [Sun, 26 Sep 2004 13:39:25 +0000 (13:39 +0000)]
[BZ #151]
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].
Ulrich Drepper [Sun, 26 Sep 2004 12:50:39 +0000 (12:50 +0000)]
[BZ #407]
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].
Ulrich Drepper [Sun, 26 Sep 2004 12:12:28 +0000 (12:12 +0000)]
[BZ #384]
Update.
* elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of
environment. [BZ #384]
Ulrich Drepper [Sun, 26 Sep 2004 11:11:28 +0000 (11:11 +0000)]
[BZ #381]
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].
Ulrich Drepper [Sun, 26 Sep 2004 10:11:59 +0000 (10:11 +0000)]
[BZ #376]
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].
Ulrich Drepper [Sun, 26 Sep 2004 08:50:14 +0000 (08:50 +0000)]
_nl_make_l10nflist. [BZ #322]
duplicate address recognition does not copy junk.
Ulrich Drepper [Sun, 26 Sep 2004 08:48:19 +0000 (08:48 +0000)]
[BZ #362]
Update.
* sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE
for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362]
Ulrich Drepper [Sun, 26 Sep 2004 08:43:34 +0000 (08:43 +0000)]
[BZ #358]
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]
Ulrich Drepper [Sun, 26 Sep 2004 05:49:15 +0000 (05:49 +0000)]
[BZ #356]
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].
Ulrich Drepper [Sun, 26 Sep 2004 05:11:53 +0000 (05:11 +0000)]
[BZ #346]
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].
Ulrich Drepper [Sun, 26 Sep 2004 05:07:13 +0000 (05:07 +0000)]
Update.
Ulrich Drepper [Sun, 26 Sep 2004 04:45:24 +0000 (04:45 +0000)]
[BZ #322]
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]
Ulrich Drepper [Sun, 26 Sep 2004 03:40:38 +0000 (03:40 +0000)]
Update.
* intl/finddomain.c (_nl_find_domain): Protect calls to
_nl_make_l10nflist.
Ulrich Drepper [Sat, 25 Sep 2004 15:07:23 +0000 (15:07 +0000)]
Update.
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.
Ulrich Drepper [Sat, 25 Sep 2004 15:06:34 +0000 (15:06 +0000)]
(getaddrinfo): If determinination of source address fails, initialized source_addr_len field so that duplicate address recognition does not copy junk.
Roland McGrath [Sat, 25 Sep 2004 10:04:29 +0000 (10:04 +0000)]
[BZ #406]
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.
Roland McGrath [Sat, 25 Sep 2004 10:04:15 +0000 (10:04 +0000)]
[BZ #406]
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.
Ulrich Drepper [Sat, 25 Sep 2004 07:44:41 +0000 (07:44 +0000)]
Update.
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.
Ulrich Drepper [Sat, 25 Sep 2004 06:49:33 +0000 (06:49 +0000)]
Update.
* misc/daemon.c (daemon): Don't succeed if /dev/null cannot be
opened.
Ulrich Drepper [Sat, 25 Sep 2004 05:55:20 +0000 (05:55 +0000)]
Update.
* nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the
code a bit.
Ulrich Drepper [Sat, 25 Sep 2004 05:31:24 +0000 (05:31 +0000)]
Update.
* misc/daemon.c (daemon): Define errno in case /dev/null is not
the correct device.
Ulrich Drepper [Sat, 25 Sep 2004 05:30:41 +0000 (05:30 +0000)]
(daemon): Define errno in case /dev/null is not the correct device.
Roland McGrath [Sat, 25 Sep 2004 03:32:21 +0000 (03:32 +0000)]
[BZ #406]
2004-09-24 Roland McGrath <roland@redhat.com>
[BZ #406]
* sysdeps/i386/tls.h: Move #include "useldt.h" outside
of [__ASSUME_LDT_WORKS > 0] test.
Reported by Carlos Velasco <carlos.velasco@newipnet.com>.
Roland McGrath [Sat, 25 Sep 2004 03:32:13 +0000 (03:32 +0000)]
[BZ #406]
2004-09-24 Roland McGrath <roland@redhat.com>
[BZ #406]
* sysdeps/i386/tls.h: Move #include "useldt.h" outside
of [__ASSUME_LDT_WORKS > 0] test.
Reported by Carlos Velasco <carlos.velasco@newipnet.com>.
Ulrich Drepper [Sat, 25 Sep 2004 01:14:47 +0000 (01:14 +0000)]
Update.
2004-09-24 Ulrich Drepper <drepper@redhat.com>
* nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups.
Ulrich Drepper [Fri, 24 Sep 2004 18:22:04 +0000 (18:22 +0000)]
[BZ #405]
Update.
* pthread_create.c (__pthread_create_2_1): Remember whether thread
is created detached and if yes, do not try to free the stack in case
the thread creation failed.
* sysdeps/pthread/createthread.c (do_clone): Free stack here if clone
call fails. Don't depend on INTERNAL_SYSCALL_ERRNO return zero in
case there has been no error. [BZ #405]
Ulrich Drepper [Fri, 24 Sep 2004 18:20:01 +0000 (18:20 +0000)]
(__pthread_create_2_1): Remember whether thread is created detached and if yes, do not try to free the stack in case the thread creation failed.
Andreas Jaeger [Fri, 24 Sep 2004 17:09:40 +0000 (17:09 +0000)]
Update.
2004-09-23 Andreas Jaeger <aj@suse.de>
* locale/weight.h (findidx): Remove static, it's not supported
anymore with GCC 4.0 in a block scope.
* locale/weightwc.h (findidx): Likewise.
* posix/regcomp.c (seek_collating_symbol_entry): Likewise.
(lookup_collation_sequence_value): Likewise.
(build_range_exp): Likewise.
(build_collating_symbol): Likewise.
* iconv/iconvconfig.c (write_output): Likewise.
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove
static, add always_inline attribute.
(elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Make static dependend
on !RESOLVE so that it's not defined in local scope.
Andreas Jaeger [Fri, 24 Sep 2004 17:09:04 +0000 (17:09 +0000)]
* sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove
static, add always_inline attribute.
(elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Make static
dependend on !RESOLVE so that it's not defined in local
scope.
* locale/weight.h (findidx): Remove static, it's not supported
anymore with GCC 4.0 in a block scope.
* locale/weightwc.h (findidx): Likewise.
* posix/regcomp.c (seek_collating_symbol_entry): Likewise.
(lookup_collation_sequence_value): Likewise.
(build_range_exp): Likewise.
(build_collating_symbol): Likewise.
* iconv/iconvconfig.c (write_output): Likewise.
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
Ulrich Drepper [Fri, 24 Sep 2004 07:18:48 +0000 (07:18 +0000)]
Update.
2004-09-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define.
Ulrich Drepper [Thu, 23 Sep 2004 14:07:48 +0000 (14:07 +0000)]
Update.
2004-09-23 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag
and BLK* ioctls with linux kernel headers.
Ulrich Drepper [Thu, 23 Sep 2004 07:45:38 +0000 (07:45 +0000)]
Update.
2004-09-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/dlfcn.h: Add RTLD_DEEPBIND.
* elf/dl-object.c (_dl_new_object): Add new parameter mode. If mode
has RTLD_DEEPBIND set add local searchlist before global scope.
* sysdeps/generic/ldsodefs.h (_dl_new_object): Adjust prototype.
* elf/rtld.c: Adjust callers of _dl_new_object.
* elf/dl-load.c: Likewise.
(_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything
for DF_SYMBOLIC.
* elf/dl-open.c (dl_open_writer): Pass RTLD_DEEPBIND flag on to
_dl_map_object_deps.
* elf/tst-deep1.c: New file.
* elf/tst-deep1mod1.c: New file.
* elf/tst-deep1mod2.c: New file.
* elf/tst-deep1mod3.c: New file.
* elf/Makefile: Add rules to build and run new tests.
* elf/dl-deps.c: Pretty printing.
Ulrich Drepper [Thu, 23 Sep 2004 05:17:06 +0000 (05:17 +0000)]
Update.
2004-09-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.h (inline_syscall[0-6]): Change name
argument to numbers from syscall names.
(INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr.
(INTERNAL_SYSCALL_NCS): Renamed from...
(INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
(INTERNAL_SYSCALL_NCS): Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
(INTERNAL_SYSCALL_NCS): Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall[0-6]):
Change name argument to numbers from syscall names.
(INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust.
(INTERNAL_SYSCALL_NCS): Define.
Ulrich Drepper [Thu, 23 Sep 2004 04:45:09 +0000 (04:45 +0000)]
Update.
* malloc/malloc.c (malloc_printerr): Use syslog if writev failed.
Ulrich Drepper [Wed, 22 Sep 2004 08:20:57 +0000 (08:20 +0000)]
Update.
2004-09-22 Ulrich Drepper <drepper@redhat.com>
* string/string.h: Add __nonnull annotations.
* stdlib/stdlib.h: Likewise.
Ulrich Drepper [Wed, 22 Sep 2004 05:11:15 +0000 (05:11 +0000)]
Update.
2004-09-20 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL):
Renamed to ...
(DO_INLINE_SYSCALL_NCS): This.
(DO_INLINE_SYSCALL): New.
(INLINE_SYSCALL): Updated.
(INTERNAL_SYSCALL_NCS): Updated.
Ulrich Drepper [Wed, 22 Sep 2004 02:19:00 +0000 (02:19 +0000)]
Update.
* elf/sprof.c (load_shobj): Add support for reading symbol table
from debuginfo file.
Ulrich Drepper [Wed, 22 Sep 2004 02:18:30 +0000 (02:18 +0000)]
(load_shobj): Add support for reading symbol table from debuginfo file.
Roland McGrath [Wed, 22 Sep 2004 00:21:26 +0000 (00:21 +0000)]
* Versions: Add comment about linuxthreads' frozen ABI.
Roland McGrath [Wed, 22 Sep 2004 00:21:20 +0000 (00:21 +0000)]
2004-09-21 Roland McGrath <roland@redhat.com>
* Versions: Add comment about linuxthreads' frozen ABI.
Ulrich Drepper [Tue, 21 Sep 2004 15:40:52 +0000 (15:40 +0000)]
Update.
2004-09-21 Ulrich Drepper <drepper@redhat.com>
* elf/ldd.bash.in: Fix syntax errors.
Ulrich Drepper [Tue, 21 Sep 2004 02:30:50 +0000 (02:30 +0000)]
Update.
* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Remove some duplication.
Ulrich Drepper [Mon, 20 Sep 2004 23:16:22 +0000 (23:16 +0000)]
Update.
2004-09-20 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (options): Mark S option as hidden.
(parse_opt): When S option is used, print warning message.
* nscd/grpcache.c (adgrptbyX): Don't handle secure mode.
* nscd/hstcache.c (addhstbyX): Don't handle secure mode.
* nscd/aicache.c (addhstaiX): Don't handle secure mode.
* nscd/pwdcache.c (addpwbyX): Don't handle secure mode.
Ulrich Drepper [Mon, 20 Sep 2004 22:14:33 +0000 (22:14 +0000)]
Update.
* configure.in: If selinux has not explictly been requested, don't
comment on it missing.
Ulrich Drepper [Mon, 20 Sep 2004 21:53:15 +0000 (21:53 +0000)]
If selinux has not explictly been requested, don't comment on it missing.
Roland McGrath [Mon, 20 Sep 2004 20:56:19 +0000 (20:56 +0000)]
[BZ #391]
2004-09-20 Roland McGrath <roland@frob.com>
* elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN
in initializer #if defined.
2004-09-18 Paul Eggert <eggert@cs.ucla.edu>
[BZ #391]
* stdlib/getsubopt.c: Merge fixes from gnulib.
(__strchrnul) [!_LIBC]: Define and include "strchrnul.c".
(getsubopt): Use prototypes, not K&R style.
Fix bug: memcmp(A,B,N) was being invoked on a memory block B
whose size might be smaller than N. Use strncmp to avoid the bug.