summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* * nscd/grpcache.c (cache_addgr): Correctly compute size of cvs/fedora-glibc-20080612T1619Ulrich Drepper2008-06-122-2/+6
| | | | | | | fixed-size portion of the record. * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise.
* (tests): Add tst-rwlock2a.Ulrich Drepper2008-05-313-4/+32
|
* * sysdeps/pthread/pthread.h: Fix typo in comment.Ulrich Drepper2008-05-292-4/+8
|
* * sysdeps/pthread/createthread.c (do_clone): Pass accurate lengthUlrich Drepper2008-05-291-0/+5
| | | | of CPU set to the kernel.
* (do_clone): Pass accurate length of CPU set to the kernel.Ulrich Drepper2008-05-291-2/+2
|
* Remove useless more "if" tests before "free".Ulrich Drepper2008-05-2712-2/+247
| | | | | | | | | * include/inline-hashtab.h (htab_delete): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * locale/programs/ld-collate.c (collate_read): Likewise. * misc/fstab.c (libc_freeres_fn): Likewise. * posix/glob.c (globfree): Likewise.
* * tst-typesizes.c: Explicitly check __SIZEOF_PTHREAD_* constants.Ulrich Drepper2008-05-262-2/+34
| | | | David S. Miller <davem@davemloft.net>
* 2008-05-20 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2008-05-211-2/+3
| | | | | David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
* * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.Jakub Jelinek2008-05-202-0/+8
| | | | | | 2008-05-19 Jakub Jelinek <jakub@redhat.com> * elf/soinit.c (__EH_FRAME_BEGIN__): Remove.
* * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: AccessUlrich Drepper2008-05-116-19/+33
| | | | | | | | | | | | | __pshared correctly. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. Reported by Clemens Kolbitsch <clemens.kol@gmx.at>.
* * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c Jakub Jelinek2008-04-152-1/+6
| | | | | | | | (__old_sem_wait): Fix argument to lll_futex_wait(). 2008-04-14 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c (__old_sem_wait): Fix argument to lll_futex_wait().
* [BZ #5209]Ulrich Drepper2008-04-091-0/+5
| | | | | * sysdeps/unix/sysv/syscalls.list: times syscalls doesn't return an error value.
* [BZ #5436]Ulrich Drepper2008-04-091-1/+3
| | | | | | | | | | | | | | 2008-04-09 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-makecontext.c: Change parameter to cf to negative value to check for correct sign extension. [BZ #5436] * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Copy 64-bit parameter values even though this is not required in the standard. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return PC save.
* [BZ #6020] cvs/fedora-glibc-20080408T0706Jakub Jelinek2008-04-082-2/+9
| | | | | | | | | | | | * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_futex_wake_unlock): Add private argument to the pre-v9 macro. Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>. 2008-04-08 Jakub Jelinek <jakub@redhat.com> [BZ #6020] * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_futex_wake_unlock): Add private argument to the pre-v9 macro. Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.
* * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX ifUlrich Drepper2008-03-276-5/+55
| | | | | | | | | <linux/limits.h> has defined it. * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy ARG_MAX value and prevent ARG_MAX from being defined by the kernel headers. * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use it instead of ARG_MAX.
* * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead Jakub Jelinek2008-03-174-3/+10
| | | | | | | | | | | | of ASSEMBLER. nptl/ * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Likewise. 2008-03-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER.
* Fix typo. cvs/fedora-glibc-20080314T2159Ulrich Drepper2008-03-142-2/+2
|
* * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: DefineUlrich Drepper2008-03-144-3/+37
| | | | | | HAVE_DL_DISCOVER_OSVERSION. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Likewise.
* [BZ #5778]Ulrich Drepper2008-03-082-3/+9
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pathconf.h: Declare __statfs_chown_restricted. * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted for _PC_CHOWN_RESTRICTED. * sysdeps/unix/sysv/linux/pathconf.c: Likewise. Implement __statfs_chown_restricted. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change _POSIX_CHOWN_RESTRICTED value to zero. 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com>
* [BZ #5442] cvs/fedora-glibc-20080201T1017Roland McGrath2008-02-011-0/+4
| | | | | | * configure.in: Use -print-file-name if it yields a directory, for each of include and include-fixed. * configure: Regenerated.
* * Makeconfig (sysd-rules-targets): New variable.Roland McGrath2008-02-011-4/+2
| | | | | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target.
* * sysdeps/unix/sysv/linux/x86_64/sem_post.S (sem_post): AvoidUlrich Drepper2008-01-301-0/+5
| | | | unnecessary addr32 prefix.
* (sem_post): Avoid unnecessary addr32 prefix.Ulrich Drepper2008-01-301-1/+1
|
* * Makeconfig (sysd-rules-patterns): New variable.Roland McGrath2008-01-302-2/+10
| | | | | | | | | * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. (check-inhibit-asm): New canned sequence, replaces ... (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. (CFLAGS-rtld): Variable removed.
* * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.Ulrich Drepper2008-01-226-17/+62
|
* (XADD): Use a scratch register.Ulrich Drepper2008-01-221-5/+7
|
* * tst-eintr2.c (do_test): make sure that if mutex_lock in mainUlrich Drepper2008-01-152-2/+7
| | | | thread returns the program exits with an error code.
* * pthread-errnos.sym: Add EOVERFLOW.Ulrich Drepper2008-01-106-11/+92
| | | | | | | * sysdeps/unix/sysv/linux/structsem.sym: Add SEM_VALUE_MAX. * sysdeps/unix/sysv/linux/sem_post.c: Don't overflow value field. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* * sysdeps/x86_64/pthreaddef.h (ARCH_RETRY_MMAP): Take additionalUlrich Drepper2007-12-143-5/+11
| | | | | | parameter. Passed it as permission to mmap. * allocatestack.c (allocate_stack): Pass prot as second parameter to ARCH_RETRY_MMAP.
* .. cvs/fedora-glibc-20071212T1953Ulrich Drepper2007-12-122-0/+20
| | | | * tst-basic7.c: Allocate memory for the stack.
* [BZ #5463, BZ #5464] cvs/fedora-glibc-20071212T1051Ulrich Drepper2007-12-122-2/+3
| | | | | | | | | | | | | | | | | | | * iconvdata/hp-thai8.c: New file. * iconvdata/Makefile: Add rules for hp-thai8.c. * iconvdata/tst-tables.sh: Add entry for HP-THAI8. * iconvdata/gconv-modules: Likewise. [BZ #5464] * iconvdata/hp-greek8.c: New file. * iconvdata/Makefile: Add rules for hp-greek8.c. * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. * iconvdata/gconv-modules: Likewise. [BZ #5463] * iconvdata/hp-turkish8.c: New file. * iconvdata/Makefile: Add rules for hp-turkish8.c. * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. * iconvdata/gconv-modules: Likewise.
* [BZ #5465]Ulrich Drepper2007-12-122-0/+8
| | | | | | | 2007-12-12 Ulrich Drepper <drepper@redhat.com> [BZ #5465] * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S [!SHARED] (__pthread_cond_timedwait): Don't use VDSO.
* [BZ #5441, BZ #5452, BZ #5454]Ulrich Drepper2007-12-072-0/+9
| | | | | | | | | | | | | | | | | | | | | | 2007-12-07 Ulrich Drepper <drepper@redhat.com> [BZ #5441] * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free structure, it's allocated with alloca. * stdio-common/Makefile (tests): Add bug21. * stdio-common/bug21.c: New file. 2007-12-06 Aurelien Jarno <aurelien@aurel32.net> [BZ #5452] * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ keyword for gcc's braced-groups. 2007-12-07 Ulrich Drepper <drepper@redhat.com> [BZ #5454] * inet/ether_line.c: Strip hostname of whitespaces. * inet/Makefile (tests): Add tst-ether_line. * inet/tst-ether_line.c: New file.
* * sysdeps/unix/sysv/linux/sh/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper2007-12-052-28/+23
| | | | Store 2 before returning ETIMEDOUT.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper2007-11-244-105/+65
| | | | | | | | Store 2 before returning ETIMEDOUT. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise * sysdeps/unix/sysv/linux/lowlevellock.c: Likewise. (__lll_lock_wait_private): Optimize. (__lll_lock_wait): Likewise.
* * sysdeps/pthread/pthread.h (pthread_cleanup_push,Ulrich Drepper2007-11-202-2/+8
| | | | | pthread_cleanup_push_defer_np): Add extra (void *) cast to shut up g++ 4.1 and 4.2 -Wstrict-aliasing warnings.
* [BZ #5240]Ulrich Drepper2007-11-094-13/+29
| | | | | | | | * sysdeps/unix/sysv/linux/lowlevellock.c (__lll_timedlock_wait): If we time out, try one last time to lock the futex to avoid losing a wakeup signal. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* [BZ #5245]Ulrich Drepper2007-11-082-3/+10
| | | | | | | 2007-11-08 Ulrich Drepper <drepper@redhat.com> [BZ #5245] * sysdeps/pthread/createthread.c (do_clone): Translate clone error if necessary.
* * sysdeps/x86_64/memset.S: Add sfence after movnti.Ulrich Drepper2007-11-084-1/+71
|
* * elf/rtld.c (dl_main): Use the page size to find the map start.Ulrich Drepper2007-11-062-2/+6
|
* * time/tzfile.c (__tzfile_read): Fix check for version 0 data files.Ulrich Drepper2007-11-063-6/+13
| | | | Patch by Szymon Siwek <sls@poczta.wp.pl>.
* [BZ #5204]Ulrich Drepper2007-10-285-13/+88
| | | | | * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. * crypt/sha512c-test.c: Likewise.
* [BZ #5040]Ulrich Drepper2007-10-281-0/+10
| | | | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value.
* [BZ #5208]Ulrich Drepper2007-10-284-5/+42
| | | | | | | | 2007-10-23 Andreas Jaeger <aj@suse.de> [BZ #5208] * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use __LONG_LONG_PAIR to handle little endian byte order. Suggested by abhishekrai@google.com
* * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New Jakub Jelinek2007-10-172-1/+25
| | | | | | | | routine instead of an alias to __new_sem_post. 2007-10-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New routine instead of an alias to __new_sem_post.
* (__tzfile_read): Take extra memory requested by caller into account when ↵Ulrich Drepper2007-10-161-44/+38
| | | | | | | | | copying TZ string. 2007-10-16 Ulrich Drepper <drepper@redhat.com> * time/tzfile.c (__tzfile_read): Take extra memory requested by caller into account when copying TZ string.
* * init.c (__pthread_initialize_minimal): Initialize word to appease Jakub Jelinek2007-10-152-1/+6
| | | | | | | | valgrind. 2007-10-15 Jakub Jelinek <jakub@redhat.com> * init.c (__pthread_initialize_minimal): Initialize word to appease valgrind.
* * sysdeps/pthread/bits/libc-lock.h (__libc_rwlock_init): Inside ofUlrich Drepper2007-10-103-2/+28
| | | | | | | libc.so just clear NAME. (__libc_rwlock_fini): Nop inside of libc.so. * tst-initializers1.c (main): Test if PTHREAD_RWLOCK_INITIALIZER is all zeros.
* * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.SUlrich Drepper2007-09-022-1/+8
| | | | | | (__pthread_cond_wait): Fix unlocking of internal lock after mutex unlocking failed. Patch by Luca Barbieri <luca.barbieri@gmail.com>.
* [BZ #4938]Ulrich Drepper2007-08-214-1/+118
| | | | | | | | | 2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4938] * allocatestack.c (__reclaim_stacks): Clear the TSD in the reclaimed stack if necessary. * Makefile (tests): Add tst-tsd6. * tst-tsd6.c: New file.