aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
AgeCommit message (Collapse)Author
2004-05-07Update.Ulrich Drepper
2004-05-06 Ulrich Drepper <drepper@redhat.com> * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL. (carg): Likewise. Patch by Lev S Bishop <lev.bishop@yale.edu>. * math/bug-tgmath1.c (main): Test fabs and carg as well. 2004-05-06 Richard Henderson <rth@redhat.com> * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. * sysdeps/unix/sysv/linux/alpha/Versions: Export __libc_alpha_cache_shape as a private symbol. * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file. * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file. * sysdeps/alpha/divl.S: Use them. * sysdeps/alpha/divq.S: Likewise. * sysdeps/alpha/divqu.S: Likewise. * sysdeps/alpha/reml.S: Likewise. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/remqu.S: Likewise.
2004-05-04Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention rt-sysdep. * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
2004-05-04Update.Ulrich Drepper
2004-05-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove defined.
2004-05-03Update.Ulrich Drepper
2004-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add libc_hidden_proto. Define to __GI___libm_error_support for assembly going into libc.so. * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add libc_hidden_def. * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno if USE___THREAD.
2004-05-03Update.Ulrich Drepper
2004-05-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98. * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. *sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise. 2004-05-01 Jakub Jelinek <jakub@redhat.com> * posix/Versions (libc): Remove __libc_wait, __libc_waitpid, __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64, __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE. * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/Versions (libc): Remove __libc_sigaction@@GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove __modify_ldt@@GLIBC_PRIVATE. * socket/Versions (libc): Remove __libc_accept, __libc_send, __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto and __libc_connect @@GLIBC_PRIVATE. * stdio-common/Versions (libc): Remove _itoa_upper_digits@@GLIBC_PRIVATE. * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE. * misc/Versions (libc): Remove __libc_fsync, __libc_msync, __libc_readv and __libc_writev @@GLIBC_PRIVATE. * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE. * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read, __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and __libc_lseek64 @@GLIBC_PRIVATE. 2004-04-30 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (open_verify): Move e_phentsize check after e_type check. 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file. * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX mantissa for AIX long double format. * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX long double format. * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise. * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] (_fpioconst_pow10): AIX long double format has same exponent range as double. * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range as double. 2004-04-23 Art Haas <ahaas@airmail.net> * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
2004-05-03Add 'defined'.Ulrich Drepper
2004-04-29[BZ #130, BZ #131]Roland McGrath
2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>. * 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. * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix prototypes and description [BZ #131]. * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130]. Patch by Ed Catmur <ed@catmur.co.uk>. * string/tst-inlcall.c (main): Add test for strpbrk.
2004-04-29[BZ #140]Roland McGrath
2004-04-29 Philip Blundell <pb@nexus.co.uk> * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT entries. [BZ #140] * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h include. (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not yet defined, #undef back after including linux/sysctl.h if defined here. (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef back after including linux/sysctl.h if defined here.
2004-04-23Use __attribute_used__.Andreas Schwab
2004-04-21Update.Ulrich Drepper
2004-04-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp and use it internally instead of __sigsetjmp. * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f. * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l. * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4. * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f. * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l. * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4. * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4, _GI___libm_frexp_4f, _GI___libm_frexp_4l. * sysdeps/ia64/fpu/bits/mathinline.h: New file. * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use HIDDEN_JUMPTARGET for exit call. * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for _exit call. * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call. * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and strcpy calls.
2004-04-20Update.Ulrich Drepper
2004-04-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into EACCES. 2004-04-20 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace handling change. * stdio-common/tst-sscanf.c (int_tests): Adjust. * nis/nss-nis.c: Include stdlib.h. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a warning. * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from libc_hidden_builtin_def. 2004-04-20 Jim Meyering <jim@meyering.net> * misc/error.c (error_tail): Don't leak upon realloc failure. 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Use RETURN_ADDRESS instead of __builtin_return_address.
2004-04-20Update.Ulrich Drepper
2004-04-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more compact code.
2004-04-19Update.Ulrich Drepper
2004-04-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into EACCES. * rt/Makefile (tests): Add tst-mqueue9. * rt/tst-mqueue9.c: New test. * rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long name component. 2004-04-19 Ulrich Drepper <drepper@redhat.com> * rt/tst-mqueue7.c (do_test): Make newargv const.
2004-04-19Update.Ulrich Drepper
2004-04-18 Randolph Chung <tausq@debian.org> * sysdeps/hppa/elf/entry.h: New file. * sysdeps/hppa/machine-gmon.h: New file. * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version.
2004-04-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add rt-sysdep. * rt/tst-mqueue5.c (mqsend): Don't inline. (mqrecv): Likewise.
2004-04-18Update.Ulrich Drepper
2004-04-17 Jakub Jelinek <jakub@redhat.com> * rt/Makefile (tests): Add tst-mqueue8. * rt/tst-mqueue8.c: New test. * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add rt-sysdep. * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
2004-04-17Update.Ulrich Drepper
2004-03-26 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't use "struct kernel_stat". 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/memcmp.S: Fix symbol.
2004-04-16(SUBSTITUTE_ARGS_1, SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4, ↵Ulrich Drepper
SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load argument values into temporary variables.
2004-04-13Update.Ulrich Drepper
2004-04-08 Ulrich Drepper <drepper@redhat.com> * rt/tst-mqueue3.c: New file. * rt/Makefile (tests): Add tst-mqueue3. 2004-04-08 Jakub Jelinek <jakub@redhat.com> * rt/tst-mqueue1.c: New file. * rt/tst-mqueue2.c: New file. * rt/tst-mqueue4.c: New file. * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4. * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4. * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h. (mq-routines): Set. (librt-routines): Use it. * rt/mqueue.h: New file. * include/mqueue.h: New file. * sysdeps/generic/bits/mqueue.h: New file. * sysdeps/generic/mq_setattr.c: New file. * sysdeps/generic/mq_getattr.c: New file. * sysdeps/generic/mq_notify.c: New file. * sysdeps/generic/mq_close.c: New file. * sysdeps/generic/mq_send.c: New file. * sysdeps/generic/mq_unlink.c: New file. * sysdeps/generic/mq_receive.c: New file. * sysdeps/generic/mq_timedreceive.c: New file. * sysdeps/generic/mq_timedsend.c: New file. * sysdeps/generic/mq_open.c: New file. * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define. * sysdeps/unix/sysv/linux/bits/mqueue.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend, mq_timedreceive and mq_setattr. * sysdeps/unix/sysv/linux/mq_getattr.c: New file. * sysdeps/unix/sysv/linux/mq_notify.c: New file. * sysdeps/unix/sysv/linux/mq_close.c: New file. * sysdeps/unix/sysv/linux/mq_send.c: New file. * sysdeps/unix/sysv/linux/mq_unlink.c: New file. * sysdeps/unix/sysv/linux/mq_receive.c: New file. * sysdeps/unix/sysv/linux/mq_open.c: New file. 2004-04-09 Thorsten Kukuk <kukuk@suse.de> * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x. 2004-04-09 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
2004-04-13Update.Ulrich Drepper
2004-04-09 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.
2004-04-13(DO_INLINE_SYSCALL): Move LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. ↵Ulrich Drepper
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.
2004-04-09umount support for ppc64/linux.Ulrich Drepper
2004-04-08(INTERNAL_SYSCALL): Add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, ↵Andreas Schwab
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.
2004-04-03Update.Ulrich Drepper
2004-04-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid duplication in 64-bit version. * sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.
2004-04-03Restructure to avoid duplication in 64-bit version.Ulrich Drepper
2004-04-03Update.Ulrich Drepper
2004-04-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add internal_statvfs64. * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to compile 64bit version. * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip compatibility code if __ASSUME_STATFS64 is defined. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if __ASSUME_STATFS64 != 0. 2004-04-02 Thorsten Kukuk <kukuk@firun.suse.de> * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case. * nis/nss_nis/nis-initgroups.c (saveit): Likewise. * nis/nss_nis/nis-proto.c (saveit): Likewise. * nis/nss_nis/nis-rpc.c (saveit): Likewise. * nis/nss_nis/nis-service.c (saveit): Likewise.
2004-04-02Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use __sigprocmask not sigprocmask. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. * time/mktime.c: Likewise. * misc/getpass.c: Likewise.
2004-04-01Update.Ulrich Drepper
* include/string.h: Add libc_hidden_builtin_proto for memcmp. * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/ia64/memcmp.S: Likewise. * sysdeps/sparc/sparc64/memcmp.S: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
2004-04-01Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use __tcgetattr() instead of tcgetattr().
2004-04-01Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]: Use __GI_exit.
2004-04-01Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use __GI__exit.
2004-04-01Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use __sigprocmask not sigprocmask. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2004-03-31Add IUTF8.Ulrich Drepper
2004-03-30Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid comparison with limit if we can rely on the syscall being available.
2004-03-29Update.Ulrich Drepper
2004-03-29 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to version names is SHLIB_COMPAT check. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2004-03-28Update.Ulrich Drepper
2004-03-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle _SC_SIGQUEUE_MAX.
2004-03-27Update.Ulrich Drepper
2004-03-26 Ulrich Drepper <drepper@redhat.com> * elf/dl-caller.c: New file. * include/caller.h: New file. * Makefile (distribute): Add include/caller.h. * elf/Makefile (dl-routines): Add dl-caller. * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end. * elf/dl-open.c (check_libc_caller): Removed. (dl_open_worker): Use __check_caller instead. * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller. (_dl_start_final): Record l_text_end for ld.so map. (dl_main): Record l_text_end for main object and vdso. * include/link.h (struct link_map): Add l_text_end field. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_check_caller field. Define enum allowmask. Add declaration of _dl_check_caller. * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.
2004-03-24Update.Ulrich Drepper
2004-03-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead of defining it the other way around. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed. * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed. * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed. * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed. * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed. * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed. * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed. * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed. * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/alpha/Implies: New file. * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file. * sysdeps/unix/sysv/linux/ia64/Implies: New file. * sysdeps/unix/sysv/linux/x86_64/Implies: New file.
2004-03-22Update.Ulrich Drepper
2004-03-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): Avoid warning about writing into read-only memory. * string/Makefile (routines): Add xpg-strerror. * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU, redirect strerror_r to __xpg_strerror_r. * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4. * sysdeps/generic/xpg-strerror.c: New file. * sysdeps/mach/xpg-strerror.c: New file.
2004-03-20Update.Andreas Jaeger
2004-03-20 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sched_getaffinity.c (__sched_getaffinity_old): Fix interface. * sysdeps/unix/sysv/linux/sched_setaffinity.c (__sched_setaffinity_old): Likewise. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Include <alloca.h>.
2004-03-20(__sched_getaffinity_old): Fix interface.Andreas Jaeger
2004-03-20Update.Ulrich Drepper
2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel. (__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise. * sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.
2004-03-19Update.Ulrich Drepper
2004-03-18 Ulrich Drepper <drepper@redhat.com> * posix/sched.h: Change sched_getaffinity and sched_setaffinity interfaces: add new second parameter. * sysdeps/generic/sched_getaffinity.c: Implement interface change. * sysdeps/generic/sched_setaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. Add compatibility interface. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. * sysdeps/unix/sysv/linux/Versions: Add versions for changed interfaces.
2004-03-17Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error the x86 code produces in case of mission permissions. Patch by Bernd Schmidt <bernds@redhat.com>.
2004-03-15Update.Ulrich Drepper
2004-03-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const. (handle_amd): New function. (__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in linux_sysconf. Call handle_amd on AuthenticAMD. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise.
2004-03-13 * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate ↵Richard Henderson
oldvalue from CENABLE to CDISABLE. 2004-03-12 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate oldvalue from CENABLE to CDISABLE.
2004-03-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file.
2004-03-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX.
2004-03-12Update.Ulrich Drepper
2004-03-12 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c (vars): Add _SC_ values for cache information. * sysdeps/generic/bits/confname.h: Add _SC_* values for cache information. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to allow yet another sysconf function to include the one in this file. * sysdeps/unix/sysv/linux/i386/sysconf.c: New file. * sysdeps/generic/sysconf.c: Add default handling for cache line info.
2004-03-11 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New. ↵Richard Henderson
(glibc21_stat): New. * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add code for _STAT_VER_GLIBC2_3_4. (__libc_missing_axp_stat64): New. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New. (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New. (struct stat, struct stat64): Update to new format. (_STATBUF_ST_NSEC): New. 2004-03-11 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New. (glibc21_stat): New. * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add code for _STAT_VER_GLIBC2_3_4. (__libc_missing_axp_stat64): New. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New. (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New. (struct stat, struct stat64): Update to new format. (_STATBUF_ST_NSEC): New.