aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2005-11-21..Ulrich Drepper1-2/+0
2005-11-21 Ulrich Drepper <drepper@redhat.com> * locales/se_NO: Remove RCS ID line.
2005-11-19* sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.cvs/fedora-glibc-20051119T1959Ulrich Drepper5-11/+34
(struct shmid_ds): Use it for shm_nattch field. 2005-11-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL, set access and modification times of the file referenced by FD. * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if FILE is NULL. Don't check FD if FILE is absolute path. 2005-11-19 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call if there are no aliases. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c, CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c, CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE): Define. * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and <kernel-features.h>. [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive result. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/aicache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/connectionc.c: Likewise.
2005-11-18* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.Roland McGrath3-7/+14
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2005-11-18* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.Roland McGrath1-1/+2
2005-11-182005-11-18 Paul Brook <paul@codesourcery.com>Roland McGrath1-2/+5
* nscd/grpcache.c: Include <sys/socket.h>. * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
2005-11-18* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.Ulrich Drepper8-2/+10
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2005-11-18[BZ #1877]Ulrich Drepper1-0/+9
2005-11-17 Steven Munroe <sjmunroe@us.ibm.com> [BZ #1877] * string/test-strncmp.c (do_test_limit): Handle zero length and non-zero align values. (test_main): Correct do_test_limit tests for 64-bit. 2005-11-15 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE, PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE, PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970): Define to match 2.6.15 kernel. * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2005-11-17Remove dl-procinfo.h include.Ulrich Drepper3-3/+0
2005-11-17[BZ #1877]Ulrich Drepper2-12/+22
2005-11-17 Steven Munroe <sjmunroe@us.ibm.com> [BZ #1877] * string/test-strncmp.c (do_test_limit): New function. (do_test) Add cast to eliminate compiler warnings. (do_random_tests) Add cast to eliminate compiler warnings. (test_main) Add do_test_limit tests. * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned load. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2005-11-16* sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set toUlrich Drepper2-1/+2
-Din_divdi3_c. * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
2005-11-16* sysdeps/unix/sysv/linux/fchownat.c: Include string.h.cvs/fedora-glibc-20051116T0829Ulrich Drepper8-0/+8
* sysdeps/unix/sysv/linux/futimesat.c: Likewise. * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/renameat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
2005-11-16* sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &.Ulrich Drepper1-2/+2
2005-11-16[BZ 1865]Ulrich Drepper1-6/+21
* inet/netinet/icmp6.h: More updates for RFC3542. * inet/netinet/ip6.h: Likewise. * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources. Patch by David L Stevens <dlstevens@us.ibm.com>.
2005-11-16* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):Ulrich Drepper4-5/+14
Return -1 on failure. * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.. * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL] (__fxstatat64): Handle errors.
2005-11-15* io/sys/poll.h: Add comment explaining poll is a cancellationUlrich Drepper1-3/+6
point. * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining epoll_wait is a cancellation point.
2005-11-15* sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align withUlrich Drepper1-2/+2
poll, make cancelable.
2005-11-15* sysdeps/unix/sysv/linux/syscalls.list (epoll_create, epoll_ctl,Ulrich Drepper1-3/+3
epoll_wait): Align with poll, make cancelable. 2005-11-15 Jakub Jelinek <jakub@redhat.com> * io/sys/stat.h (fstatat): Don't use __THROW together with __REDIRECT_NTH.
2005-11-15* elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.cvs/fedora-glibc-20051115T0809Ulrich Drepper1-2/+3
* sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
2005-11-11* io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,Ulrich Drepper32-89/+1987
fchownat, and unlinkat. (static-only-routines): Add fstatat and fstatat64. (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat, and tst-fchownat. * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64, and unlinkat. * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR. * io/fstatat.c: New file. * io/fstatat64.c: New file. * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64 and define fstatat and fstatat64 inline functions. * libio/stdio.h: Declare renameat. * misc/Makefile (routines): Add futimesat. * misc/Versions [GLIBC_2.4]: Add futimesat. * posix/unistd.h: Declare fchownat and unlinkat. * stdio-common/Makefile (routines): Add renameat. * stdio-common/Versions [GLIBC_2.4]: Add renameat. * sysdeps/generic/fchownat.c: New file. * sysdeps/generic/futimesat.c: New file. * sysdeps/generic/fxstatat.c: New file. * sysdeps/generic/fxstatat64.c: New file. * sysdeps/generic/renameat.c: New file. * sysdeps/generic/unlinkat.c: New file. * sysdeps/unix/sysv/linux/fchownat.c: New file. * sysdeps/unix/sysv/linux/futimesat.c: New file. * sysdeps/unix/sysv/linux/fxstatat.c: New file. * sysdeps/unix/sysv/linux/fxstatat64.c: New file. * sysdeps/unix/sysv/linux/renameat.c: New file. * sysdeps/unix/sysv/linux/unlinkat.c: New file. * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file. * sysdeps/unix/sysv/linux/i386/fchownat.c: New file. * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file. * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file. * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file. * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sh/fchownat.c: New file. * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file. * time/sys/time.h: Declare futimesat. * include/fcntl.h: Declare __atfct_seterrno. * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function. Split out from openat code and called. (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD. * sysdeps/generic/openat.c: Handle AT_FDCWD. * sysdeps/generic/openat64.c: Likewise. * io/tst-unlinkat.c: New file. * io/tst-fstatat.c: New file. * io/tst-futimesat.c: New file. * io/tst-renameat.c: New file. * io/tst-fchownat.c: New file. * io/tst-openat.c: Don't fail if openat is not implemented. * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward compatibility code if new kernel is guaranteed. * time/sys/time.h: Add a few nonnull attributes.
2005-11-10* io/fcntl.h: Declare openat and openat64.Ulrich Drepper5-1/+257
* io/Makefile (routines): Add openat and openat64. (tests): Add tst-openat. * io/Versions: Add openat and openat64 for GLIBC_2.4. * sysdeps/generic/openat.c: New file. * sysdeps/generic/openat64.c: New file. * sysdeps/unix/sysv/linux/openat.c: New file. * sysdeps/unix/sysv/linux/openat64.c: New file. * io/tst-openat.c: New file. * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
2005-11-09(check_one_fd): For writable descriptors, use /dev/full. ↵Ulrich Drepper1-10/+22
(__libc_check_standard_fds): Revert modes so that common operations on the descriptors fail.
2005-11-08* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.Roland McGrath1-2/+5
(S_ISPARE): Unset the S_IMMAP0 flag.
2005-11-07* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.Roland McGrath2-2/+62
* sysdeps/unix/sysv/linux/tcflush.c: Rewritten. * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
2005-11-07sysdeps/unix/bsd/sun moved to portsRoland McGrath42-1974/+0
2005-11-07 Roland McGrath <roland@redhat.com> * sysdeps/unix/bsd/sun: Directory and all subdirectories removed, saved in ports repository.
2005-11-06* malloc/malloc.c (munmap_chunk): Add sanity checks.Ulrich Drepper1-1/+1
* sysdeps/pthread/configure: Fix comment.
2005-11-06* configure.in: Remove gnu_ld definition and everything using it.Ulrich Drepper13-81/+14
* config.h.in: Remove HAVE_GNU_LD. * csu/Makefile: Remove use of gnu-ld. * csu/munch.awk: Removed. * csu/munch-tmpl.c: Removed. * include/libc-symbols.h: Remove use of HAVE_GNU_LD. * posix/execl.c: Likewise. * posix/execv.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/exit.c: Likewise. * string/strsignal.c: Likewise. * string/tester.c: Likewise. * sysdeps/generic/errlist.c: Likewise. * sysdeps/generic/getenv.c: Likewise. * sysdeps/generic/getgroups.c: Likewise. * sysdeps/generic/init-posix.c: Likewise. * sysdeps/posix/gettimeofday.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/unix/bsd/init-posix.c: Likewise. * sysdeps/unix/bsd/ulimit.c: Likewise. * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. * sysdeps/unix/i386/brk.S: Likewise. * sysdeps/unix/sparc/brk.S: Likewise.
2005-11-05* configure.in: If init_array/fini_array support is not available,Ulrich Drepper1-23/+1
bail out. * config.h.in: Remove trace of optional init_array/fini_array support. * config.make.in: Likewise. * csu/elf-init.c: Likewise. * dlfcn/dlfcn.c: Likewise. * elf/soinit.c: Likewise. * sysdeps/ia64/elf/initfinit.c: Likewise.
2005-11-05* sysdeps/i386/configure.in (libc_mtune_example): Variable removed.Roland McGrath2-6/+0
* sysdeps/i386/configure: Regenerated.
2005-11-03[BZ #1774]Ulrich Drepper1-14/+16
2005-11-03 Ulrich Drepper <drepper@redhat.com> [BZ #1774] * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set. * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible while looking for scope delimiter. Some pretty printing.
2005-11-01* sysdeps/powerpc/powerpc64/MakefileUlrich Drepper4-0/+268
(sysdep_routines, elide-routines.os): Add hp-timing. * sysdeps/powerpc/powerpc64/hp-timing.c: New file. * sysdeps/powerpc/powerpc64/hp-timing.h: New file. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.
2005-10-31* sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"Roland McGrath1-2/+2
prefix to LOCAL_LIBM_ENTRY. (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
2005-10-30* misc/hsearch_r.c (hsearch_r): Remove duplicate test.Ulrich Drepper2-4/+8
Patch by Chris Caputo <ccaputo@alt.net>. 2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
2005-10-23copyright updateRoland McGrath1-1/+2
2005-10-23[BZ #1254]cvs/fedora-glibc-2_3-20051023T0123Roland McGrath1-5/+8
2005-10-22 Roland McGrath <roland@redhat.com> [BZ #1254] * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change. From Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-10-23[BZ #1252]Roland McGrath1-2/+4
2005-10-17 Thomas Schwinge <tschwinge@gnu.org> [BZ #1252] * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2005-10-20* sysdeps/alpha/remqu.S: Return the correct result when the samecvs/fedora-glibc-20051020T0651Ulrich Drepper2-2/+2
dividend and divisor are provided, and they're negative numbers. * sysdeps/alpha/divqu.S: Likewise.
2005-10-20* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):Ulrich Drepper2-0/+34
Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS): Likewise.
2005-10-17* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):Ulrich Drepper2-0/+27
Define. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS): Likewise.
2005-10-17* libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.Ulrich Drepper1-4/+9
Return EOF not 0. * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also allow EACCES errors when opening /rpco for now. * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw* functions if character is in ASCII range. * wctype/wcfuncs_l.c: Likewise.
2005-10-172005-10-16 Alfred M. Szmidt <ams@gnu.org>Roland McGrath1-1/+7
* sysdeps/generic/bits/mman.h [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.
2005-10-16* sysdeps/unix/sysv/linux/sh/makecontext.S: New file.Ulrich Drepper11-3/+1299
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed. * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file. * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.
2005-10-16* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.Roland McGrath1-0/+1
2005-10-16[BZ #1249, BZ #1252]cvs/fedora-glibc-2_3-20051017T0259Roland McGrath2-7/+9
2005-08-05 Alfred M. Szmidt <ams@gnu.org> [BZ #1252] * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn forward decl out of function body. * sysdeps/mach/hurd/profil.c: Likewise. [BZ #1249]
2005-10-16[BZ #1254]Roland McGrath1-3/+8
* sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN byte limit when setting ADDR->sa_family. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-10-16[BZ #1253]Roland McGrath1-1/+7
* sysdeps/mach/hurd/dl-sysdep.h [SHARED] (DL_ARGV_NOT_RELRO): New macro. [BZ #1253]
2005-10-16[BZ #1253]Roland McGrath1-11/+14
2005-10-16 Roland McGrath <roland@frob.com> [BZ #1253] * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. (_hurd_stack_setup): Don't declare with arguments and ellipsis. Use __builtin_frame_address and __builtin_return_address. (_dl_init_first): Likewise. * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare as weak extern. (init): Check for it being undefined.
2005-10-162005-10-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2-3/+2
* include/dirent.h: Include <stdbool.h>. * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>. (fdopendir): Correct argument to _hurd_fd_get(). * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
2005-10-15* sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptorUlrich Drepper1-0/+10
allows reading.
2005-10-15* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, brokenRoland McGrath2-24/+96
out of ... (__opendir): ... here. Call it. * sysdeps/mach/hurd/fdopendir.c: New file.
2005-10-15Comment fix.Roland McGrath1-1/+2