summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits
AgeCommit message (Collapse)Author
2003-09-092003-09-08 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED]. (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED]. * sysdeps/unix/sysv/linux/bits/termios.h (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2003-07-25Update.Ulrich Drepper
2003-07-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version. Include bits/a.out.h. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add bits/a.out.h. * sysdeps/unix/sysv/linux/bits/a.out.h: New file. * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file. * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file. * sysdeps/unix/sysv/linux/alpha/a.out.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file. * sysdeps/unix/sysv/linux/sparc/a.out.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file.
2003-07-22Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define.
2003-07-20Update.Ulrich Drepper
2003-07-20 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add pthread_attr_getaffinity and pthread_attr_setaffinity. * Versions [libpthread] (GLIBC_2.3.3): Likewise. * sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: New file. * sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: New file. * pthread_attr_destroy.c: Free cpuset element if allocated. * pthread_create.c: Pass iattr as additional parameter to create_thread. * sysdeps/pthread/createthread.c: If attribute is provided and a new thread is created with affinity set or scheduling parameters, start thread with CLONE_STOPPED. * sysdeps/pthread/pthread.h: Declare pthread_attr_getaffinity and pthread_attr_setaffinity. * sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add cpuset element.
2003-07-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): Likewise. * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): Likewise.
2003-06-26Define _STATBUF_ST_NSEC.Ulrich Drepper
2003-06-24(struct statfs): Add f_frsize field. (struct statfs64): Likewise.Ulrich Drepper
2003-06-10(IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, ↵Ulrich Drepper
IPV6_XFRM_POLICY): Define.
2003-06-02* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.Roland McGrath
2003-05-10Update.Ulrich Drepper
2003-05-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not already defined and when really needed. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2003-05-10Update.Ulrich Drepper
* posix/sched.h: Change prototypes of sched_getaffinity and sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. * sysdeps/generic/sched_getaffinity.c: Adjust definition. * sysdeps/generic/sched_setaffinity.c: Likewise. * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, __CPU_CLR, and __CPU_ISSET. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. (atomic_exchange_rel): New #define. * sysdeps/ia64/bits/atomic.h: Likewise. * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. * sysdeps/m68k/m68020/bits/atomic.h: Likewise. * sysdeps/powerpc/bits/atomic.h: Likewise. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. * sysdeps/x86_64/bits/atomic.h: Likewise. * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
2003-04-21Update.Ulrich Drepper
2003-04-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for SIGCANCEL. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. first syscall parameter to const char*.
2003-04-01Update.Ulrich Drepper
2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. (__SIGRTMAX): Adjust accordingly. * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define second compatibility symbol set. * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. * intl/po2test.sed: Unify the transformations for msgid and msgstr and remove a useless s/// command.
2003-03-26(struct siginfo): Avoid no-op padding element.Ulrich Drepper
2003-03-26Remove struct __pthread_attr_s forward declaration.Ulrich Drepper
2003-03-25Update.Ulrich Drepper
2003-03-25 Ulrich Drepper <drepper@redhat.com> * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and atomic_add_zero were supposed to do. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero to x86 behavior. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. This matches the new timer implementation. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust timer info for what the kernel provides these days. (struct sigevent): Add _tid field. Define SIGEV_THREAD_ID. * Versions.def (librt): Add GLIBC_2.3.3. * abilist/libpthread.abilist: Update for nptl.
2003-03-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-02-22Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
2003-02-17Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX and LOGIN_NAME_MAX.
2003-01-28Update.Ulrich Drepper
2003-01-21 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
2002-12-31Update.Ulrich Drepper
2002-12-30 Jakub Jelinek <jakub@redhat.com> * forward.c: Make all functions available by default again. It caused too much trouble. * internals.h (struct pthread_functions): Rename ptr_pthread_exit and ptr_pthread_attr_init_2_* to ptr___pthread_exit and ptr___pthread_attr_init_2_*. * pthread.c (pthread_functions): Adjust.
2002-12-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. Patch by William Lee Irwin <wli@holomorphy.com>. 2002-12-20 Andreas Schwab <schwab@suse.de> * locale/programs/ld-measurement.c (measurement_output): Fix index calculation. 2002-12-20 Ulrich Drepper <drepper@redhat.com>
2002-12-05Update.Ulrich Drepper
2002-12-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/tls.h: Include stdlib.h. * sysdeps/x86_64/tls.h: Likewise.
2002-11-29Define macros which require it to 200112L. Remove _POSIX_POLL and ↵Ulrich Drepper
_POSIX_SELECT.
2002-11-22Update.Ulrich Drepper
2002-11-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags. * sysdeps/unix/sysv/linux/i386/clone.S: Add support for CLONE_CHILD_*TID flags.
2002-11-102002-11-10 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... * sysdeps/generic/bits/pthreadtypes.h: ... here.
2002-10-23* libio/ftello.c (ftello): Use _IO_off64_t for type of POS.Roland McGrath
Check for the result overflowing off_t and fail with EOVERFLOW. * libio/ioftell.c (_IO_ftell): Likewise. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval, use a temporary timeval on the stack for gettimeofday and copy it. * login/logout.c (logout): Likewise. Reported by Steven Munroe <sjmunroe@us.ibm.com>. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Use __SWORD_TYPE instead of int for member types. (struct statfs64): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ... * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here. (ST_NODIRATIME): Restore fixed value of 2048. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed. Rearranged <bits/types.h> definitions to reduce duplication. * sysdeps/generic/bits/types.h: Rewritten, using macros from <bits/wordsize.h> and new header <bits/typesizes.h>. * posix/Makefile (headers): Add bits/typesizes.h here. * sysdeps/generic/bits/typesizes.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file. * sysdeps/mach/hurd/bits/typesizes.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed. * sysdeps/unix/sysv/linux/bits/types.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed. * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed. * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed. * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include <bits/pthreadtypes.h> here, not in <bits/types.h>. * signal/signal.h: Likewise. * streams/stropts.h: Include <bits/xtitypes.h>. * streams/Makefile (headers): Add bits/xtitypes.h here. * sysdeps/generic/bits/xtitypes.h: New file. * sysdeps/s390/bits/xtitypes.h: New file. * sysdeps/ia64/bits/xtitypes.h: New file. * sysdeps/x86_64/bits/xtitypes.h: New file. * sysvipc/Makefile (headers): Add bits/ipctypes.h here. * sysdeps/generic/bits/ipctypes.h: New file. * sysdeps/mips/bits/ipctypes.h: New file. * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>. * sysdeps/gnu/bits/msq.h: Likewise. * sysvipc/sys/ipc.h: Likewise. 2002-10-22 Roland McGrath <roland@redhat.com> * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable. * sysdeps/generic/ldsodefs.h (struct rtld_global): New member `_dl_tls_static_used'. (TLS_STATIC_MIN): New macro. * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function. (CHECK_STATIC_TLS): Use it.
2002-10-18* sysdeps/generic/bits/time.h: Replaced with contents of theRoland McGrath
sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these macros is ok even for architectures that don't now implement them. * sysdeps/mach/hurd/bits/time.h: File removed. * sysdeps/unix/sysv/linux/bits/time.h: File removed. * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
2002-10-16* sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.Roland McGrath
(struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Use int32_t for ll_time. (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Use int32_t instead of long int for ut_session. Use an anonymous struct with 32-bit fields for ut_tv. * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>. (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same here as in utmp.h for `struct utmp'. * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed. * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed. * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents of the sysdeps/unix/sysv/linux/i386/bits/resource.h file. All the following files were identical or equivalent to it. * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t instead of int for msg_iovlen, instead of socklen_t for msg_controllen. Other than the previously incorrect sign of msg_iovlen, this is a no-op on 32-bit platforms. On 64-bit platforms it makes this header match their layouts as well, so the following are now identical to it. * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
2002-10-162002-10-15 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents of the sysdeps/unix/sysv/linux/i386/bits/resource.h file. All the following files were identical or equivalent to it. * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
2002-08-29Update.Ulrich Drepper
* sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define. (_rtld_global): Use it. * sysdeps/gnu/Dist: Remove errlist-compat.c. * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the object directory. Pass all Versions files to the awk script. * sysdeps/gnu/errlist-compat.c: Removed. * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the first Versions file in the search path which has them. Allow multiple errlist symbol versions to have the same count of errors. * sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead of "errlist-compat.c". * sysdeps/gnu/errlist.c: Regenerated. * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3. * sysdeps/unix/sysv/linux/hppa/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/Versions: New file. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to ECANCELLED if not defined by kernel headers. * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if already defined by kernel headers. * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file. * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its aio_cancel64 renaming hack nor provide weak_alias if aio_cancel is a macro. * Versions.def (GLIBC_2.3) [librt]: Add. * sysdeps/unix/sysv/linux/alpha/pipe.S: New file. 2002-08-28 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
2002-08-23Update.Ulrich Drepper
* sysvipc/sys/shm.h: Remove SHMLBA definition. * sysdeps/generic/bits/shm.h: Define SHMLBA here. * sysdeps/gnu/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/mips/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 since this is what the kernel says.
2002-07-312002-07-31 Jeff Bailey <jbailey@gnu.org>Roland McGrath
* libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): Declarations moved to <bits/sys_errlist.h>. Include that file. * libio/Makefile (headers): Add bits/sys_errlist.h to the list. * sysdeps/generic/bits/sys_errlist.h: New file. This does *not* declare sys_errlist and sys_nerr. * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file. Does provide declarations.
2002-07-20Update.Ulrich Drepper
2002-07-19 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for __thread support in compiler. * config.h.in: Add HAVE___THREAD. * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h. * include/sys/errno.h: Moved to... * stdlib/sys/errno.h: ...here. New file. * stdlib/errno.h: New file. Moved from... * include/errno.h: ...here. Changed into an internal header defining libc-local things like __set_errno. * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and bits/errno.h. * elf/dl-minimal.c: Include <tls.h>. Define errno as thread-local variable if USE_TLS && HAVE___THREAD. Don't define __errno_location either. * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so from... (_dl_start_final): ...here. Add code to initialize tls elements from bootstrap_map. * sysdeps/generic/errno-loc.c: Define errno as thread-local variable if USE_TLS && HAVE___THREAD. * sysdeps/generic/bits/errno.h: Remove __set_errno definition. * sysdeps/mach/hurd/bits/errno.h: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/bits/errno.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. * sysdeps/unix/sysv/aix/bits/errno.h: Likewise. * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise. * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't use GL(dl_rtld_map), use map parameter. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if USE_TLS && HAVE___THREAD. * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG definitions. If USE_TLS && HAVE___THREAD store errooor value using TLS code sequence. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno. * sysdeps/unix/sysv/linux/grantpt.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise.
2002-07-08Update.Andreas Jaeger
2002-07-06 Bruno Haible <bruno@clisp.org> * sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7. * rt/Makefile (tests): Don't add tst-aio* in a single-threaded build. * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H, not _UTSNAME_H. * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise. * sysdeps/generic/bits/stropts.h: Protect against direct inclusion. * sysdeps/generic/bits/ustat.h: Likewise. * sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to 2048.
2002-06-15* sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ...Roland McGrath
* sysdeps/generic/bits/ustat.h: ... here (was almost identical).
2002-02-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch.
2002-02-08Update.Ulrich Drepper
2002-02-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed attribute, change __pad{1,2} type to unsigned int. (struct stat64): Remove packed attribute.
2002-02-06(struct stat): Add attribute((packed)) to counter stupid people misuing gcc ↵Ulrich Drepper
options. (struct stat64): Likewise.
2002-01-18Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at end of enum for !_GNU_SOURCE. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* values unless _GNU_SOURCE.
2001-11-19* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for Andreas Jaeger
compilers that support it. * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * stdlib/stdlib.h: Likewise.
2001-09-26Update.Ulrich Drepper
2001-09-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger than 0. (CMSG_DATA): Adjust accordingly. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
2001-07-31Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct test for cmsg struct size. * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary initializations. * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
2001-07-31Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed. * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-06Update to LGPL v2.1.Andreas Jaeger
2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
2001-07-05Synch with Linux 2.4.5: Andreas Jaeger
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-06-14Update.Ulrich Drepper
* libio/iolibio.h (_IO_freopen): Correct last parameter to _IO_file_open. (_IO_freopen64): Likewise. Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326]. * elf/elf.h: Add a few more EM_* constants. 2001-06-12 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. 2001-06-09 Ben Collins <bcollins@debian.org> * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of hardcoded B400000. 2001-06-13 Ulrich Drepper <drepper@redhat.com>
2001-04-29* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): Andreas Jaeger
Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from Linux 2.4.4. (AF_WANPIPE): Likewise. (MSG_MORE): New. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as for Linux generic version. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-03-05(__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct use ↵Ulrich Drepper
the macros. They still always return zero.
2001-03-03Update.Ulrich Drepper
* Versions.def: Add libanl definition. * shlig-versions: Add entry for libanl. * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c. (routines): Add gai_sigqueue. (extra-libs): Add libanl. (libanl-routines): New variable. Add rules to build libanl and ga_test. * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue. [libanl]: New library. * resolv/netdb.h: Add definitions for libanl. * resolv/getaddrinfo_a.c: New file. * resolv/gai_cancel.c: New file. * resolv/gai_error.c: New file. * resolv/gai_misc.c: New file. * resolv/gai_misc.h: New file. * resolv/gai_notify.c: New file. * resolv/gai_suspend.c: New file. * resolv/ga_test.c: New file. * sysdeps/generic/gai_sigqueue.c: New file. * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file. * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined and provide only that definition. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. * rt/aio_misc.c: Fix typos in comments. * rt/lio_listio.c: Pretty printing. Little optimization in request list handling. * elf/rtld.c: Remove commented out code.