about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* Update.Ulrich Drepper2004-09-251-0/+3
| | | | | * misc/daemon.c (daemon): Define errno in case /dev/null is not the correct device.
* (daemon): Define errno in case /dev/null is not the correct device.Ulrich Drepper2004-09-251-9/+18
|
* [BZ #406]Roland McGrath2004-09-251-0/+7
| | | | | | | | 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>.
* [BZ #406]Roland McGrath2004-09-251-1/+1
| | | | | | | | 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>.
* Update.Ulrich Drepper2004-09-252-16/+15
| | | | | | 2004-09-24 Ulrich Drepper <drepper@redhat.com> * nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups.
* [BZ #405]Ulrich Drepper2004-09-242-3/+20
| | | | | | | | | | 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]
* (__pthread_create_2_1): Remember whether thread is created detached and if ↵Ulrich Drepper2004-09-241-1/+7
| | | | yes, do not try to free the stack in case the thread creation failed.
* Update.Andreas Jaeger2004-09-241-0/+20
| | | | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove Andreas Jaeger2004-09-247-16/+24
| | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-244-5/+34
| | | | | | 2004-09-23 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define.
* Update.Ulrich Drepper2004-09-233-10/+19
| | | | | | | 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.
* Update.Ulrich Drepper2004-09-2314-20/+142
| | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-235-21/+70
| | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-232-1/+10
| | | | * malloc/malloc.c (malloc_printerr): Use syslog if writev failed.
* Update. cvs/fedora-glibc-20040923T0148Ulrich Drepper2004-09-223-138/+200
| | | | | | | 2004-09-22 Ulrich Drepper <drepper@redhat.com> * string/string.h: Add __nonnull annotations. * stdlib/stdlib.h: Likewise.
* Update. cvs/fedora-baseUlrich Drepper2004-09-222-4/+16
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-221-0/+3
| | | | | * elf/sprof.c (load_shobj): Add support for reading symbol table from debuginfo file.
* (load_shobj): Add support for reading symbol table from debuginfo file.Ulrich Drepper2004-09-221-44/+132
|
* * Versions: Add comment about linuxthreads' frozen ABI.Roland McGrath2004-09-221-0/+4
|
* 2004-09-21 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-221-0/+8
| | | | * Versions: Add comment about linuxthreads' frozen ABI.
* Update.Ulrich Drepper2004-09-212-1/+6
| | | | | | 2004-09-21 Ulrich Drepper <drepper@redhat.com> * elf/ldd.bash.in: Fix syntax errors.
* Update.Ulrich Drepper2004-09-212-46/+20
| | | | | * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Remove some duplication.
* Update.Ulrich Drepper2004-09-209-16/+36
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-09-207-70/+27
| | | | | * configure.in: If selinux has not explictly been requested, don't comment on it missing.
* If selinux has not explictly been requested, don't comment on it missing.Ulrich Drepper2004-09-201-6/+2
|
* [BZ #391]Roland McGrath2004-09-202-6/+25
| | | | | | | | | | | | | | | 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.
* 2004-09-20 Roland McGrath <roland@frob.com>Roland McGrath2004-09-201-4/+6
| | | | | * elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN in initializer #if defined.
* (_dl_map_object_from_fd): Add caller check.Ulrich Drepper2004-09-201-1/+5
|
* Update.Ulrich Drepper2004-09-203-7/+15
| | | | | | | | 2004-09-20 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c: Define __stack_prot. * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define __stack_prot here, just declare it.
* Update.Ulrich Drepper2004-09-203-7/+21
| | | | | | | 2004-09-20 Jakub Jelinek <jakub@redhat.com> * configure.in (libc_cv_z_relro): Only set to yes if linker script contains DATA_SEGMENT_RELRO_END.
* Update.Ulrich Drepper2004-09-203-71/+80
| | | | | | | | | 2004-09-20 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking. Reorder code slightly. * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH] is non-null, _dl_setup_hash will do that.
* Update.Ulrich Drepper2004-09-2062-233/+1252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call callback to set IDs in all other threads as well. * sysdeps/unix/sysv/linux/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/setuid.c: New file. * sysdeps/unix/sysv/linux/setgid.c: New file. * sysdeps/unix/sysv/linux/setreuid.c: New file. * sysdeps/unix/sysv/linux/setregid.c: New file. * sysdeps/unix/sysv/linux/setresuid.c: New file. * sysdeps/unix/sysv/linux/setresgid.c: New file. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid and setresuid. * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise.
* Update.Ulrich Drepper2004-09-192-1/+5
| | | | | | 2004-09-19 Ulrich Drepper <drepper@redhat.com> * resolv/res_mkquery.c (res_nmkquery): Fix typo.
* Update.Ulrich Drepper2004-09-193-16/+47
| | | | | | | * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag from memory. * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to __stack_flags.
* Update.Ulrich Drepper2004-09-182-2/+10
| | | | | * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use gethostbyname3_r if we are not looking for the canonical name.
* Update.Ulrich Drepper2004-09-182-4/+12
| | | | | | | 2004-09-18 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): Return EAGAIN instead of ENOMEM when out of memory.
* Update.Ulrich Drepper2004-09-181-0/+5
| | | | | | | 2004-09-18 Ulrich Drepper <drepper@redhat.com> * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every time.