about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-09-0918-161/+130
| | | | | | | | | | | | | | | | | | 2003-09-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit. (__u_quad_t): Make unsigned long int if 64-bit. (__SQUAD_TYPE): Make long int if 64-bit. (__UQUAD_TYPE): Make unsigned long int if 64-bit. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove. 2003-09-08 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Run check-c++-types.sh if possible. * scripts/check-c++-types.h: New file. * scripts/data/c++-ctypes-i386-linux-gnu.data: New file. contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
* Script to check non-changing C++ type name mangling.Ulrich Drepper2003-09-081-0/+107
|
* * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): Andreas Jaeger2003-09-083-82/+93
| | | | | | | | | | | | | | | | | | | Use struct sigcontext. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Use struct sigcontext. (GET_PC): Adopt. (GET_FRAME): Likewise. (GET_STACK): Likewise. 2003-09-08 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): Use struct sigcontext. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Use struct sigcontext. (GET_PC): Adopt. (GET_FRAME): Likewise. (GET_STACK): Likewise.
* Update.Ulrich Drepper2003-09-083-6/+14
| | | | | | | | | 2003-09-08 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>. (mALLOPt): Avoid requirement of C99.
* Update.Ulrich Drepper2003-09-082-1/+7
| | | | | | | 2003-09-08 Ulrich Drepper <drepper@redhat.com> * libio/bug-ftell.c: Include <sys/types.h>. (main): Mark cp as const.
* Update.Ulrich Drepper2003-09-073-2/+5
| | | | | | | 2003-09-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove. * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.
* Update.Ulrich Drepper2003-09-061-1/+0
|
* Update.Ulrich Drepper2003-09-0611-30/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed and c_ospeed fields. * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field. (cfsetispeed): Set c_ispeed field. * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally to match corresponding speed.c code. 2003-09-06 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the narrow character buffer. * libio/Makefile: Add rules to build and run bug-ftell. * libio/bug-ftell.c: New file. * stdio-common/vfprintf.c: Don't use the first grouping number twice. * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters matching the decimal point and possibly leading the thousands separator. This caused the recognition of thousands separators to always fail. 2003-09-05 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_new_file_overflow): Handle switching to write mode from read in backup buffer. * libio/Makefile (tests): Add bug-ungetc2. * libio/bug-ungetc2.c: New file. 2003-09-05 Roland McGrath <roland@redhat.com> >>>>>>> 1.7905 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.
* (_IO_new_file_overflow): Handle switching to write mode from read of backup ↵Ulrich Drepper2003-09-061-6/+17
| | | | buffer.
* * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.Roland McGrath2003-09-052-2/+16
| | | | | | | 2003-09-04 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID, EOPNOTSUPP, or ENOSYS, change it to ENODEV.
* 2003-09-05 Roland McGrath <roland@redhat.com>Roland McGrath2003-09-051-1/+0
| | | | * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
* Update.Ulrich Drepper2003-09-051-0/+5
| | | | | | | 2003-09-04 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Fix a typo.
* (MINSIGSTKSZ): Fix a typo.Ulrich Drepper2003-09-051-2/+2
|
* Update.Andreas Jaeger2003-09-053-6/+13
| | | | | | * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler to make it conforming C. * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.
* Update.Andreas Jaeger2003-09-052-0/+2
| | | | * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.
* Update.Andreas Jaeger2003-09-052-1/+9
| | | | * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
* Update.Andreas Jaeger2003-09-051-0/+6
| | | | | | | | 2003-09-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change prototype to use variable argument lists and get the possible one argument via va_arg.
* (__fcntl_nocancel): Change Andreas Jaeger2003-09-051-1/+8
| | | | | prototype to use variable argument lists and get the possible one argument via va_arg.
* Update.Ulrich Drepper2003-09-042-4/+6
| | | | | | * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. over the place. It would be allowed to have these functions as
* Update.Ulrich Drepper2003-09-044-0/+12
| | | | | | * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max): Report correct value for vxfs. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.
* Update.Ulrich Drepper2003-09-042-11/+16
| | | | | * gmon/gmon.c: Use only not-cancelable syscalls to write profiling data.
* Update.Ulrich Drepper2003-09-0412-67/+169
| | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all over the place. It would be allowed to have these fucntions as cancellation points but the cleanup would be ugly and a lot of work. * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define. * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define. * include/fcntl.h (__fcntl_nocancel): Declare. * sysdeps/unix/sysv/linux/fcntl.c: New file. * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable cancellation if absolutely needed. (__fcntl_nocancel): Define. * posix/unistd.h (gethostid): Remove __THROW. Clarify comment. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add -fexceptions. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use extend_alloca. * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status instead of __close.
* Update.Ulrich Drepper2003-09-043-17/+22
| | | | | | | | | | | 2003-09-04 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove unnecessary errno handling. * nss/getXXbyYY_r.c (INTERNAL): Use better variable name. Initialize it in all cases. Change it to be a bit more like the code we had before.
* Update.Ulrich Drepper2003-09-042-5/+12
| | | | | | | | 2003-09-04 Jakub Jelinek <jakub@redhat.com> * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add __builtin_expect. (_IO_file_open): Likewise. Use close_not_cancel.
* Update.Ulrich Drepper2003-09-0421-44/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-04 Ulrich Drepper <drepper@redhat.com> * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL. * libio/fileops.c [_LIBC]: Remove close macro. (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel. (_IO_new_file_open): Recognize 'c' flag in mode string. (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel. (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use write_not_cancel. * iconv/gconv_conf.c: Use fopen with 'c' mode flag. * inet/rcmd.c: Likewise. * inet/ruserpass.c: Likewise. * intl/localealias.c: Likewise. * malloc/mtrace.c: Likewise. * misc/getpass.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/getusershell.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/res_hconf.c: Likewise. * resolv/res_init.c: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. * time/getdate.c: Likewise. * time/tzfile.c: Likewise. * misc/fstab.h: Undo last change. * misc/mntent.h: Likewise. * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and CFLAGS-fstab.c definition. 2003-09-04 Jakub Jelinek <jakub@redhat.com> 2003-09-03 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2003-09-048-5/+117
| | | | | | | | 22003-09-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype. 003-09-03 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2003-09-042-5/+21
| | | | | | | 2003-09-03 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid returning ERANGE if this wasn't intended.
* Update.Ulrich Drepper2003-09-032-5/+11
| | | | | | | 2003-09-03 Jakub Jelinek <jakub@redhat.com> * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as function-like macros.
* Update.Ulrich Drepper2003-09-038-91/+56
| | | | | | | | | | | | | | | | | 2003-09-03 Ulrich Drepper <drepper@redhat.com> * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions. (CFLAGS-getgrent.c): Likewise. * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions. (CFLAGS-getpwent.c): Likewise. * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions. (CFLAGS-getspent.c): Likewise. * inet/Makefile: Add -fexceptions to CFLAGS for the various getXXent and getXXbyYY functions. * locale/loadlocale.c: Use not-cancelable variants of open, close, and read.
* Update.Ulrich Drepper2003-09-03147-826/+1126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and rt_sigpending. * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction): New prototype. * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove unused __syscall_ stubs. * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove rt_*. * sysdeps/unix/sysv/linux/cris/Makefile: Removed. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (__syscall_recvfrom, __syscall_sendto): Remove unused aliases. * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove unused __syscall_ stubs. * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (__syscall_*): Remove unused __syscall_ stubs. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (__syscall_*): Likewise. * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove rt_*. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*): Remove unused __syscall_ stubs. * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*. * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed. * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed. * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed. * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed. * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed. * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed. * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed. * sysdeps/unix/sysv/linux/s_pread64.c: Removed. * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed. * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused __syscall_* prototypes. * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/execve.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/reboot.c: Likewise. * sysdeps/unix/sysv/linux/_exit.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/readahead.c: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: Likewise. * sysdeps/unix/sysv/linux/sigwait.c: Likewise. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/getpriority.c: Likewise. * sysdeps/unix/sysv/linux/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise. * sysdeps/unix/sysv/linux/llseek.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/mmap64.c: Likewise. * sysdeps/unix/sysv/linux/ustat.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/xmknod.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise. 2003-09-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file. * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file. * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions. * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of open, close, and read.
* Update.Ulrich Drepper2003-09-038-8/+30
| | | | | | | | | 2003-09-02 Jakub Jelinek <jakub@redhat.com> * barrier.c (__pthread_barrierattr_getpshared): Always return PTHREAD_PROCESS_PRIVATE. (pthread_barrierattr_setpshared): Return EINVAL if pshared is neither PTHREAD_PROCESS_PRIVATE nor PTHREAD_PROCESS_SHARED.
* Update.Ulrich Drepper2003-09-031-0/+1
|
* Update.Ulrich Drepper2003-09-0312-6/+65
| | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Also defined symbol for entry point to avoid cancellation. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/i386/not-cancel.h (__open_nocancel, __close_nocancel, __read_nocancel, __write_nocancel, __waitpid_nocancel): Add attribute_hidden. If not in libc.so, libpthread.so or librt.so, define to corresponding function without _nocancel suffix. * sysdeps/unix/sysv/linux/s390/not-cancel.h: New file. * sysdeps/unix/sysv/linux/powerpc/not-cancel.h: New file. * sysdeps/unix/sysv/linux/sparc/not-cancel.h: New file.
* For _LIBC, call not cancelable versions of open, close, and read.Ulrich Drepper2003-09-031-3/+4
|
* New test.Jakub Jelinek2003-09-021-0/+53
|
* Update.Ulrich Drepper2003-09-021-0/+4
| | | | | | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h (DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.
* (DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.Ulrich Drepper2003-09-021-3/+7
|
* * sysdeps/unix/sysv/linux/x86_64/not-cancel.h: Fix a typo.Jakub Jelinek2003-09-021-0/+4
|
* Fix a typo.Jakub Jelinek2003-09-021-1/+1
|
* (parse_tilde): Fix use of extend_alloca.Ulrich Drepper2003-09-021-2/+2
|
* Update.Ulrich Drepper2003-09-024-0/+45
| | | | | | | | | | * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define *_nocancel name. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid. (CFLAGS-pathconf.c): Likewise. (CFLAGS-fpathconf.c): Likewise.
* Fix typo.Ulrich Drepper2003-09-021-1/+1
| | | | * sysdeps/unix/sysv/linux/x86_64/not-cancel.h: New file.
* Update.Ulrich Drepper2003-09-027-36/+143
| | | | | | | | | | | | | | 2003-09-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/not-cancel.h: New file. * sysdeps/unix/sysv/linux/x86-64/not-cancel.h: New file. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Make sure the code in subsections has a symbol associated with it. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Also defined symbol for entry point to avoid cancellation. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Likewise.
* Update.Ulrich Drepper2003-09-022-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-02 Ulrich Drepper <drepper@redhat.com> * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions. * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove. * libio/oldtmpfile.c (__old_tmpfile): Likewise. * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions. * io/Makefile (CFLAGS-statfs.c): Add -fexceptions. (CFLAGS-fstatfs.c): Likewise. (CFLAGS-statvfs.c): Likewise. (CFLAGS-fstatvfs.c): Likewise. 2003-09-01 Ulrich Drepper <drepper@redhat.com> * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions. * posix/unistd.h: Remove __THROW from pathconf, fpathconf, sysconf. * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions. * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions. * misc/fstab.h: Remove all __THROW. * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions. (CFLAGS-mntent_r.c): Likewise. * misc/mntent.h: Remove most __THROW. * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. (CFLAGS-mkstemp64.c): Likewise. * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation around call to exec_comm. * posix/wordexp.h: Remove __THROW from wordexp. * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions. * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use not-cancelable functions. * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions. (CFLAGS-iofopen.c): Likewise. (CFLAGS-iofopen64.c): Likewise. * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output functions. * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions. * stdlib/fmtmsg.h: Remove __THROW from fmtmsg. * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt. * login/Makefile (CFLAGS-getpt.c): Add -fexceptions.
* (pthread_barrierattr_setpshared): We don't handle inter-process barriers.Ulrich Drepper2003-09-021-3/+3
|
* Fix formatting.Andreas Jaeger2003-09-021-3/+6
|
* (CFLAGS-oldtmpfile.c): Add -fexceptions.Ulrich Drepper2003-09-0217-45/+91
|
* Update.Ulrich Drepper2003-09-0219-95/+288
| | | | | | | | | | | | | | | | | | 2003-09-01 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return NSS_STATUS_SUCCESS if entry was found. (getspent_next_file): Store user in blacklist after entry was found, use innetgr. 2003-09-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for DTV_AT_TP, optimize.
* Update.Ulrich Drepper2003-09-0224-3/+494
| | | | | | | | | | | | | | | | | | | | | 2003-09-01 Jakub Jelinek <jakub@redhat.com> * Makefile (tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out. * tst-tls1.c: New test. * tst-tls1.h: New. * tst-tls1mod.c: New. * tst-tls1moda.c: New. * tst-tls1modb.c: New. * tst-tls1modc.c: New. * tst-tls1modd.c: New. * tst-tls1mode.c: New. * tst-tls1modf.c: New. * tst-tls2.sh: New test.
* (tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ↵Ulrich Drepper2003-09-021-2/+22
| | | | ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out.