about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* [BZ #1978]Ulrich Drepper2005-12-2023-47/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-16 Thorsten Kukuk <kukuk@suse.de> [BZ #1978] * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): Map more filesystem types to a string. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. 2005-12-19 Jakub Jelinek <jakub@redhat.com> * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the programs subdirectory. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use PTR_DEMANGLE for PC if defined. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use PTR_MANGLE for PC if defined. * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. Avoid call to __sigjmp_save if IS_IN_rtld. * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Add missing semicolons. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add SYSCALL_ERROR_HANDLER. 2005-12-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. Patch by Clint Adams. 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and dependent definitions from the kernel header to sys/user.h and remove the #include of asm/user.h.
* * sysdeps/gnu/Makefile: Make sure the correct errlist.c file isUlrich Drepper2005-12-201-4/+6
| | | | used when generating errlist-compat.c.
* * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.Richard Henderson2005-12-181-1/+1
| | | | | | 2005-12-18 Richard Henderson <rth@redhat.com> * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define CUlrich Drepper2005-12-181-1/+3
| | | | | | version for inside ld.so. * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
* * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: AvoidUlrich Drepper2005-12-182-2/+13
| | | | | call to __sigjmp_save. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
* * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE andUlrich Drepper2005-12-182-6/+28
| | | | | PTR_DEMANGLE for C code in libc. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.Ulrich Drepper2005-12-1811-160/+68
| | | | | | | | | | | | | | | | | | | | | | | * elf/rtld.c: Define __pointer_chk_guard_local and if necessary __pointer_chk_guard. (_rtld_global_ro): Initialize _dl_pointer_guard. (dl_main): Initialize __pointer_chk_guard_local and either __pointer_chk_guard or TLS value if necessary. (process_envvars): Recognize and handle LD_POINTER_GUARD. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. * sysdeps/x86_64/__longjmp.S: Likewise. * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. * sysdeps/i386/bsd-_setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. [IS_IN_rtld]: Avoid call to __sigjmp_save. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and PTR_DEMANGLE. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/i386/elf/setjmp.S: Removed. * sysdeps/i386/elf/bsd-setjmp.S: Removed.
* * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.Ulrich Drepper2005-12-171-0/+1
|
* * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code inUlrich Drepper2005-12-163-0/+223
| | | | | | | | | | | | | | separate function __atfct_seterrno_2. * include/fcntl.h: Declare __atfct_seterrno_2. * posix/unistd.h: Declare linkat, symlinkat, readlinkat. * io/Makefile (routines): Add linkat, symlinkat, readlinkat. * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. * io/linkat.c: New file. * io/readlinkat.c: New file. * io/symlinkat.c: New file. * sysdeps/unix/sysv/linux/linkat.c: New file. * sysdeps/unix/sysv/linux/readlinkat.c: New file. * sysdeps/unix/sysv/linux/symlinkat.c: New file.
* Move errno setting code in separate function __atfct_seterrno_2.Ulrich Drepper2005-12-161-39/+48
|
* * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.Roland McGrath2005-12-1579-159/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/alpha/fpu/s_cacoshf.c: Likewise. * sysdeps/alpha/fpu/s_casinf.c: Likewise. * sysdeps/alpha/fpu/s_casinhf.c: Likewise. * sysdeps/alpha/fpu/s_catanf.c: Likewise. * sysdeps/alpha/fpu/s_catanhf.c: Likewise. * sysdeps/alpha/fpu/s_ccosf.c: Likewise. * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. * sysdeps/alpha/fpu/s_cexpf.c: Likewise. * sysdeps/alpha/fpu/s_clog10f.c: Likewise. * sysdeps/alpha/fpu/s_clogf.c: Likewise. * sysdeps/alpha/fpu/s_cpowf.c: Likewise. * sysdeps/alpha/fpu/s_cprojf.c: Likewise. * sysdeps/alpha/fpu/s_csinf.c: Likewise. * sysdeps/alpha/fpu/s_csinhf.c: Likewise. * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. * sysdeps/alpha/fpu/s_ctanf.c: Likewise. * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. * sysdeps/alpha/libc-tls.c: Likewise. * sysdeps/gnu/glob64.c: Likewise. * sysdeps/gnu/updwtmp.c: Likewise. * sysdeps/gnu/utmp_file.c: Likewise. * sysdeps/i386/bzero.c: Likewise. * sysdeps/i386/ffs.c: Likewise. * sysdeps/i386/i686/ffs.c: Likewise. * sysdeps/i386/memset.c: Likewise. * sysdeps/ia64/fpu/printf_fphex.c: Likewise. * sysdeps/ia64/libc-tls.c: Likewise. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/m68k/ffs.c: Likewise. * sysdeps/mach/hurd/getdents.c: Likewise. * sysdeps/mach/hurd/init-posix.c: Likewise. * sysdeps/mach/msync.c: Likewise. * sysdeps/mips/libc-tls.c: Likewise. * sysdeps/posix/profil.c: Likewise. * sysdeps/posix/shm_open.c: Likewise. * sysdeps/posix/shm_unlink.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/powerpc/ffs.c: Likewise. * sysdeps/rs6000/ffs.c: Likewise. * sysdeps/s390/libc-tls.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/mq_close.c: Likewise. * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. * sysdeps/unix/sysv/linux/mq_open.c: Likewise. * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. * sysdeps/unix/sysv/linux/mq_send.c: Likewise. * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/sigstack.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/vfork.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
* 2005-12-15 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-151-5/+0
| | | | * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
* Moved to csu/errno-loc.c.Ulrich Drepper2005-12-14771-45370/+0
|
* 2005-12-13 Ulrich Drepper <drepper@redhat.com>Ulrich Drepper2005-12-1430-115/+43
|
* 2005-12-13 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-131-9/+2
| | | | * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
* * sysdeps/generic/signame.c: Removed.Ulrich Drepper2005-12-135-495/+0
| | | | | | * sysdeps/generic/signame.h: Removed. * sysdeps/generic/configure.in: Removed. * sysdeps/generic/Dist: Remove these files.
* Remove det_endian.c.Ulrich Drepper2005-12-133-44/+1
|
* * sysdeps/powerpc/dl-procinfo.c: New file.Roland McGrath2005-12-132-0/+141
| | | | * sysdeps/powerpc/dl-procinfo.h: New file.
* * catgets/gencat.c: Use GPL, not LGPL.Ulrich Drepper2005-12-072-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/cache.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/locfile-token.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/memusagestat.c: Likewise. * nscd/aicache.c: Likewise. * nscd/cache.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/gai.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/mem.c: Likewise. * nscd/nscd.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/pwdcache.c: Likewise. * posix/getconf.c: Likewise. * sysdeps/generic/nscd_setup_thread.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
* * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessorRoland McGrath2005-12-066-5/+17
| | | | | | | | | | | | | | | | | protection and allow pthread.h to include bits/setjmp.h as well as setjmp.h. * sysdeps/m68k/bits/setjmp.h: Likewise. * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h are allow to include bits/setjmp.h. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs cast of address. * sysdeps/sh/bits/setjmp.h: Likewise. 2005-11-12 Jim Meyering <jim@meyering.net> * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter to be pointer to const. * include/dirent.h: Update decl.
* * hurd/hurdmalloc.c: Remove $ tag $ magic.Roland McGrath2005-12-061-133/+3
| | | | | | | | | | | | | | | * mach/err_kern.sub: Likewise. * mach/err_server.sub: Likewise. * mach/err_us.sub: Likewise. * mach/error_compat.c: Likewise. * mach/errorlib.h: Likewise. * mach/errstring.c: Likewise. * mach/mach/error.h: Likewise. * mach/mach_error.c: Likewise. * mach/mach_error.h: Likewise. * mach/msg-destroy.c: Likewise. * mach/msgserver.c: Likewise. * sysdeps/mach/sys/reboot.h: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.hRoland McGrath2005-12-061-0/+5
| | | | (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
* 2005-12-05 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-061-16/+16
| | | | * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
* * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.Ulrich Drepper2005-12-027-0/+414
| | | | | | | | | | | | | | | | | (static-only-routines): Add mknodat. * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat. * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat. Define mknodat inline function. * include/sys/stat.h: Add hidden proto for __xmknodat. * sysdeps/generic/mkdirat.c: New file. * sysdeps/generic/mkfifoat.c: New file. * sysdeps/generic/mknodat.c: New file. * sysdeps/generic/xmknodat.c: New file. * sysdeps/unix/mkfifoat.c: New file. * sysdeps/unix/sysv/linux/mkdirat.c: New file. * sysdeps/unix/sysv/linux/xmknodat.c: New file. * sysdeps/generic/xmknod.c: Add one more parameter check.
* Add one more parameter check.Ulrich Drepper2005-12-021-1/+7
|
* (MREMAP_FIXED): Added. Patch by René Rebe <rene@exactcode.de>.Andreas Jaeger2005-11-281-1/+2
| | | | | | | 2005-11-28 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added, Patch by René Rebe <rene@exactcode.de>.
* * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there areUlrich Drepper2005-11-271-4/+9
| | | | multiple return records but only one address.
* (gaih_inet): Avoid some code duplication.Ulrich Drepper2005-11-271-50/+29
|
* 2005-11-27 Roland McGrath <roland@redhat.com>Roland McGrath2005-11-271-0/+2
| | | | | * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h. Reported by René Rebe <rene@exactcode.de>.
* * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cacheUlrich Drepper2005-11-271-44/+44
| | | | euid and egid.
* * sysdeps/alpha/strncmp.S: Don't read too much data when pointers ↵Richard Henderson2005-11-271-5/+28
| | | | | | | | | are co-aligned, and count is aligned with the end of the word. 2005-11-26 Richard Henderson <rth@redhat.com> * sysdeps/alpha/strncmp.S: Don't read too much data when pointers are co-aligned, and count is aligned with the end of the word.
* * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. ↵Richard Henderson2005-11-263-5/+5
| | | | | | | | | | | | (__fxstatat64): Alias from __fxstatat; remove other cnp errors. * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h and stddef.h. * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define. 2005-11-25 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. (__fxstatat64): Alias from __fxstatat; remove other cnp errors. * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h and stddef.h. * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
* * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.Ulrich Drepper2005-11-251-0/+1
|
* * nscd/connections.c (sendfileall): Define.Ulrich Drepper2005-11-221-1/+0
| | | | | | | | | | (handle_request): Use it instead of sendfile call. * nscd/nscd-client.h: Declare sendfileall. * nscd/aicache.c: Use sendfileall instead of sendfile. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/pwdcache.c: Likewise.
* ..Ulrich Drepper2005-11-211-2/+0
| | | | | | 2005-11-21 Ulrich Drepper <drepper@redhat.com> * locales/se_NO: Remove RCS ID line.
* * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type. cvs/fedora-glibc-20051119T1959Ulrich Drepper2005-11-195-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.
* * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.Roland McGrath2005-11-183-7/+14
| | | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
* * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.Roland McGrath2005-11-181-1/+2
|
* 2005-11-18 Paul Brook <paul@codesourcery.com>Roland McGrath2005-11-181-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>.
* * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.Ulrich Drepper2005-11-188-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.
* [BZ #1877]Ulrich Drepper2005-11-181-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.
* Remove dl-procinfo.h include.Ulrich Drepper2005-11-173-3/+0
|
* [BZ #1877]Ulrich Drepper2005-11-172-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.
* * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set toUlrich Drepper2005-11-162-1/+2
| | | | | -Din_divdi3_c. * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
* * sysdeps/unix/sysv/linux/fchownat.c: Include string.h. cvs/fedora-glibc-20051116T0829Ulrich Drepper2005-11-168-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.
* * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &.Ulrich Drepper2005-11-161-2/+2
|
* [BZ 1865]Ulrich Drepper2005-11-161-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>.
* * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):Ulrich Drepper2005-11-164-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.
* * io/sys/poll.h: Add comment explaining poll is a cancellationUlrich Drepper2005-11-151-3/+6
| | | | | | | point. * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining epoll_wait is a cancellation point.
* * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align withUlrich Drepper2005-11-151-2/+2
| | | | poll, make cancelable.