about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #6545]Ulrich Drepper2008-12-091-2/+2
| | | | | * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make available only for __USE_GNU.
* * sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TMUlrich Drepper2008-12-082-1/+16
| | | | | | implementation. Add necessary padding and. * descr.h (struct pthread): Increase padding for tcbhead_t to 24 words.
* (struct pthread): Increase padding for tcbhead_t to 24 words.Ulrich Drepper2008-12-081-2/+2
|
* Move 2 ChangeLog entries to correct ChangeLog.Jakub Jelinek2008-12-081-10/+0
| | | | | | | | | | | | 2008-11-24 Arkadiusz Miƛkiewicz <arekm@maven.pl> * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> * posix/regex_internal.h (build_wcs_upper_buffer): Return type is reg_error_t.
* * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REGUlrich Drepper2008-12-061-0/+5
| | | | instead of doing things manually.
* * posix/regex_internal.h (build_wcs_upper_buffer):Ulrich Drepper2008-12-062-1/+8
| | | | Return type is reg_error_t.
* * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Define FUTEX_WAIT_BITSETUlrich Drepper2008-12-051-0/+5
| | | | and FUTEX_WAKE_BITSET.
* * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): RecognizeUlrich Drepper2008-12-036-12/+31
| | | | | | | | | ESRCH return value. (_nss_dns_gethostbyname4_r): Likewise. * resolv/res_init.c (__res_vinit): Initialize nscount to zero. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use gethostbyname4_r, we don't have a separate IPv6 status, so copy the no_data variable.
* Moved alpha to ports repository.Roland McGrath2008-11-2628-1466/+6
| | | | | | | | | | | 2008-11-25 Roland McGrath <roland@redhat.com> * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: Subdirectories moved to ports repository. * configure.in (base_machine): Remove alpha case.
* [BZ #7009] cvs/fedora-glibc-20081112T2008Ulrich Drepper2008-11-125-6/+202
|
* * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2008-11-072-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
* [BZ #6955]Ulrich Drepper2008-11-015-11/+44
| | | | | | | | | | 2008-11-01 Ulrich Drepper <drepper@redhat.com> [BZ #6955] * pthread_mutex_lock.c: Add support for private PI mutexes. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_unlock.c: Likewise. Patch mostly by Ben Jackson <ben@ben.com>.
* [BZ #6843]Ulrich Drepper2008-11-012-2/+8
| | | | | | | 2008-10-31 Ulrich Drepper <drepper@redhat.com> [BZ #6843] * sysdeps/pthread/gai_misc.h (__gai_create_helper_thread): Increase stack size for helper thread.
* * misc/syslog.c (openlog_internal): Fix __have_sock_cloexecUlrich Drepper2008-10-222-1/+11
| | | | initialization.
* .Ulrich Drepper2008-10-061-0/+5
|
* * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Add memory barrierUlrich Drepper2008-10-061-1/+4
| | | | to force runp->refcntr to be read from memory.
* * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock, Andreas Jaeger2008-09-232-9/+17
| | | | | | | | | | | | lll_robust_lock, lll_cond_lock, lll_robust_cond_lock, lll_timedlock, lll_robust_timedlock, lll_unlock, lll_robust_unlock): Promote private to int. 2008-09-08 Richard Guenther <rguenther@suse.de> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock, lll_robust_lock, lll_cond_lock, lll_robust_cond_lock, lll_timedlock, lll_robust_timedlock, lll_unlock, lll_robust_unlock): Promote private to int.
* * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.Ulrich Drepper2008-08-153-24/+17
| | | | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* * nscd/connections.c (nscd_init): Type if preprocessor directive.Ulrich Drepper2008-07-302-0/+6
| | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define.
* * Makeconfig: Define pie-ccflag and PIE-ccflag variables.Ulrich Drepper2008-07-261-1/+1
| | | | | | * elf/Makefile: Use pie-ccflag variable. * nscd/Makefile: Likewise. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE.
* * scripts/gen-as-const.awk: Generate more widely usable code byUlrich Drepper2008-07-261-0/+6
| | | | using 64-bit arithmetic.
* * stdio-common/printf_fp.c (___printf_fp): Give wide outout codeUlrich Drepper2008-07-261-0/+2
| | | | the same treatment as narow output code in last patch.
* * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate andUlrich Drepper2008-07-252-4/+38
| | | | | | | | | | | | | | | | __libc_clntudp_bufcreate_internal. * include/sys/socket.h: Declare __have_sock_cloexec. * socket/Makefile (aux): Add have_sock_cloexec. * socket/have_sock_cloexec.c: New file. * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around __libc_clntudp_bufcreate. (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate which takes an additional parameter. Create socket with non-blocking mode and close-on-exec flag set, if wanted. * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate instead of clntudp_create. The socket has already the close-on-exec flag set if SOCK_CLOEXEC is defined.
* * 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.