summaryrefslogtreecommitdiff
path: root/nptl
AgeCommit message (Collapse)Author
2006-07-10* elf/dl-lookup.c (dl_new_hash): New functions.cvs/fedora-glibc-20060710T2206Ulrich Drepper
(_dl_lookup_symbol_x): Rename hash to old_hash and don't compute value here. Compute new-style hash value. Pass new hash value and reference to variable with the old value to do_lookup_x. (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not old-style hash table. (_dl_debug_bindings): Pass new hash value and reference to variable with the old value to do_lookup_x. * elf/do-lookup.h (do_lookup_x): Accept additional parameter with new-style hash value and change old-style hash value parameter to be a reference. Reoganize functions to determine whether new-style hash table is available. Only fall back on old-style table. If old-style hash value is needed, compute it here. * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH entry. * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT. Adjust DT_ADDRNUM. * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. * Makeconfig: If linker supports --hash-style option add it to all linker command lines to build DSOs. * config.make.in: Define have-hash-style. * configure.in: Test whether linker supports --hash-style option. * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. * sysdeps/generic/ldsodefs.h: Adjust prototype.
2006-07-01* pthread_mutex_init.c (__pthread_mutex_init): Move someUlrich Drepper
computations to compile time.
2006-06-04Add pthread_equal inline function.Ulrich Drepper
2006-06-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h: Add pthread_equal inline version. * sysdeps/unix/sysv/linux/fork.h: Mark __fork_handlers as hidden.
2006-05-15* include/rpc/pmap_prot.h: Mark all functions as hidden.Ulrich Drepper
* nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. * nscd/nscd_getgr_r.c: Likewise. * include/rpc/pmap_rmt.h: Mark all functions as hidden. * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. * stdlib/longlong.h (__clz_tab): Mark as hidden. * iconv/gconv_int.h: Mark __gconv_lock as hidden.
2006-05-11* pthread_key_create.c (__pthread_key_create): Do away withUlrich Drepper
__pthread_keys_lock. * sysdeps/unix/sysv/linux/pthread_setaffinity.c (__kernel_cpumask_size): Mark as hidden. * sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Likewise.
2006-05-11* locale/programs/ld-time.c (time_finish): If wide era name orUlrich Drepper
format aren't provided, set both wname and wformat to L"".
2006-05-10* pthread_atfork.c: Mark __dso_handle as hidden.cvs/fedora-glibc-20060511T1325Ulrich Drepper
2006-05-10* posix/wordexp.c (w_addword): Free word if realloc fails and itUlrich Drepper
was allocated here. [Coverity CID 219] * posix/getconf.c (print_all): Free confstr data after printing. [Coverity CID 218] * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if list allocation fails. [Coverity CID 215] * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. [Coverity CID 213] * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if string is NULL. [Coverity CID 212] * argp/Makefile: Add rules to build and run bug-argp1. * argp/bug-argp1.c: New file. * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find end of string. * stdlib/canonicalize.c (__realpath): Likewise. * locale/programs/ld-time.c (time_finish): Don't dereference NULL pointer. [Coverity CID 206] * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map in statically linked code. * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in statically built code, be prepared to have no link map. [Coverity CID 205] * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in dgettext calls. [Coverity CID 204] * argp/argp-help.c (struct uparams): Remove valid member. Change the one user. (uparam_names): Reduce size. Avoid relative relocations. Moved to read-only segment. (fill_in_uparams): Update for new layout. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be assumed to always be != NULL. [Coverity CID 202] * argp/argp-help.c (hol_entry_help): Remove some dead code [Coverity CID 200]. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize away a few more unconditional yperr2nss calls. (_nss_nis_getservbyname_r): Likewise.
2006-05-09[BZ #2644]Ulrich Drepper
2006-05-09 Ulrich Drepper <drepper@redhat.com> [BZ #2644] * sysdeps/pthread/unwind-forcedunwind.c: Different solution for the reload problem. Change the one path in pthread_cancel_init which causes the problem. Force gcc to reload. Simplify callers. * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c (_Unwind_GetBSP): Undo last patch.
2006-05-08* sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: Make sure theUlrich Drepper
function pointer is reloaded after pthread_cancel_init calls.
2006-05-08[BZ #2644]Ulrich Drepper
2006-05-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: Make sure functions pointer is reloaded after pthread_cancel_init calls. [BZ #2644] * sysdeps/pthread/unwind-forcedunwind.c: Make sure functions pointers are reloaded after pthread_cancel_init calls.
2006-05-02[BZ #2502]Ulrich Drepper
* iconvdata/utf-7.c: Don't require more than two characters after the '+' sign starting Unicode shifted sequences.
2006-04-27* sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):Ulrich Drepper
Allocate new object which is passed to timer_sigev_thread so that the timer can be deleted before the new thread is scheduled.
2006-04-27* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.Roland McGrath
The predefined __ASSEMBLER__ is sufficient.
2006-04-09* nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid callingUlrich Drepper
it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-initgroups.c: Likewise. * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise.
2006-04-08* nis/nis_ping.c: Remove unnecessary conditionals beforeUlrich Drepper
nis_freeresult calls. * nis/nis_ismember.c: Likewise.
2006-04-07* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo inUlrich Drepper
the last change. DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102].
2006-04-07* libio/fmemopen.c (fmemopen): Free stream memory in case ofUlrich Drepper
invalid length [Coverity CID 106]. * nss/nss_files/files-key.c (search): Close stream before successful return [Coverity CID 107]. * io/fts.c (fts_open): Don't allocate parent if *argv==NULL [Coverity CID 108]. * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use [Coverity CID 110, 109]. * sunrpc/rpc_scan.c (docppline): Free file string if it is not going to be used [Coverity CID 111]. * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free memory if socket level value cannot be retrieved [Coverity CID 112]. * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in error case [Coverity CID 114]. * nis/nis_clone_res.c (nis_clone_result): Free all memory in the error cases [Coverity CID 115]. * sunrpc/rpc_parse.c (get_definition): Free defp if tok == TOK_EOF [Coverity CID 116]. * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free memory if socket level value cannot be retrieved [Coverity CID 117]. * elf/cache.c (save_cache): Initialize pad to avoid writing uninitialized data to disk. * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118]. * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand locale name, use strdupa. Remove free call [Coverity CID 119]. * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and the resulting leak [Coverity CID 121]. * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory [Coverity CID 122]. * sunrpc/rpc_main.c (h_output): Free guard after we are done [Coverity CID 123]. * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation fails [Coverity CID 126]. * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error cases [Coverity CID 127]. * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup fails [Coverity CID 128]. * nis/nis_getservlist.c (nis_getservlist): Free all memory in case of an error [Coverity CID 130, 129]. * nis/nis_print_group_entry.c (nis_print_group_entry): If nis_lookup call failed, return. Free lookup result in error cases [Coverity CID 131]. * nis/nis_removemember.c (nis_removemember): Free all memory in error cases [Coverity CID 132]. * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): Always free lookup result [Coverity CID 134]. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): Always free lookup result [Coverity CID 135]. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): Always free lookup result [Coverity CID 136]. * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): Before retrying, free old result [Coverity CID 137]. * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): Free res in case UID is zero [Coverity CID 138]. * nis/ypclnt.c (yp_update): Always free master string [Coverity CID 140]. * nis/nis_creategroup.c (nis_creategroup): Free all memory in error cases [Coverity CID 143, 142, 141]. * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result if yp_match call succeeded [Coverity CID 155]. * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string allocated in yp_match at all times [Coverity CID 157, 156]. * nscd/nscd.c (write_pid): Close stream also if writing failed [Coverity CID 165]. * nis/nis_table.c (nis_add_entry): Move test for NULL parameter ahead of first use [Coverity CID 167]. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test for NULL parameter ahead of first use [Coverity CID 168]. * intl/finddomain.c (_nl_find_domain): We never return NULL if we found the locale [Coverity CID 169]. * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set herrno [Coverity CID 178]. * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned freed object [Coverity CID 182].
2006-04-052006-04-05 Alan Modra <amodra@bigpond.net.au>Ulrich Drepper
Jakub Jelinek <jakub@redhat.com> * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): Change return value to ssize_t. Reported by S.Çağlar Onur <caglar@uludag.org.tr>. Patch by René Rebe <rene@exactcode.de>. Reported by René Rebe <rene@exactcode.de>.
2006-04-05Add nonnull attributes.Ulrich Drepper
2006-04-04[BZ #2508]Roland McGrath
2006-04-04 Roland McGrath <roland@redhat.com> * string/Makefile (CFLAGS-inl-tester.c): New variable. (CFLAGS-tst-inlcall.c): Likewise. [BZ #2508] * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting inside [$(have-selinux) = yes]. ($(objpfx)selinux.o: sysincludes): Likewise. * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C. (generate-8bit-gap-table): Likewise. ($(objpfx)iso8859-7jp.stmp): Likewise. Reported by S.Çağlar Onur <caglar@uludag.org.tr>.
2006-04-04[BZ #2505]Roland McGrath
2006-04-03 Steven Munroe <sjmunroe@us.ibm.com> [BZ #2505] * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]: Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync.
2006-03-28* sysdeps/unix/sysv/linux/kernel-features.h: Remove support forcvs/fedora-glibc-20060328T0900Ulrich Drepper
architectures which moved to ports.
2006-03-28* sysdeps/unix/sysv/linux/kernel-features.h: AddUlrich Drepper
__ASSUME_SET_ROBUST_LIST.
2006-03-08* sysdeps/unix/sysv/linux/ia64/dl-sysdep.hUlrich Drepper
(DL_SYSINFO_IMPLEMENTATION): Add missing newline.
2006-03-08(DL_SYSINFO_IMPLEMENTATION): Add missing newline.Ulrich Drepper
2006-03-06* sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings.Roland McGrath
* sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside within ENTRY/END. * sysdeps/sparc/sparc32/memcpy.S: Likewise. * sysdeps/sparc/sparc32/stpcpy.S: Likewise. * sysdeps/sparc/sparc32/strcat.S: Likewise. * sysdeps/sparc/sparc32/strchr.S: Likewise. * sysdeps/sparc/sparc32/strcmp.S: Likewise. * sysdeps/sparc/sparc32/strcpy.S: Likewise. * sysdeps/sparc/sparc32/strlen.S: Likewise. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings and use __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use CFI markings and __syscall_error. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange code to reside within ENTRY/END. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file. * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed. * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it.
2006-03-06* shlib-versions: Use sparc64.*- for CPU patterns.Roland McGrath
2006-03-02* sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups.Ulrich Drepper
2006-03-02* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.SUlrich Drepper
(__lll_robust_lock_wait): Also set FUTEX_WAITERS bit if we got the mutex. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise. * sysdeps/unix/sysv/linux/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise. (__lll_robust_timedlock_wait): Likewise.
2006-03-02(__lll_robust_lock_wait): Also set FUTEX_WAITERS buit if we got the mutex. ↵Ulrich Drepper
(__lll_robust_timedlock_wait): Likewise.
2006-03-01* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.Roland McGrath
* sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use inline asm to make sure the compiler doesn't optimize insns out.
2006-03-01* Makeconfig (+includes): Add back $(includes)Roland McGrath
after $(+sysdep-includes). * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
2006-02-28* sysdeps/hppa: Directory removed, saved in ports repository.Roland McGrath
* sysdeps/mach/hppa: Likewise. * sysdeps/mach/hurd/hppa: Likewise. * sysdeps/unix/sysv/linux/hppa: Likewise. * configure.in (machine): Remove hppa* cases. * configure: Regenerated. * shlib-versions: Remove hppa cases. * sysdeps/m68k: Directory removed, saved in ports repository. * sysdeps/unix/bsd/m68k: Likewise. * sysdeps/unix/sysv/linux/m68k: Likewise. * configure.in (machine): Remove m68* cases. * configure: Regenerated.
2006-02-28* elf/rtld-Rules (subdir-args): New variable.Roland McGrath
(rtld-subdir-make): Use it.
2006-02-28* scripts/config.guess: Update from master, timestamp='2006-02-27'.Roland McGrath
* scripts/config.sub: Update from master, timestamp='2006-02-27'.
2006-02-28* Makefile (subdir-target-args): New variable.Roland McGrath
($(all-subdirs-targets)): Use it in place of -C option. * Rules: Use $(..) instead of ../ if it's already defined. * Makeconfig (subdir-srcdirs): New variable. * csu/Makefile (all-Banner-files): Use it. * configure.in (--enable-add-ons): Set to "yes" by default. Handle absolute add-on directory names when looking for configure fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. Require add-on configure to set $libc_add_on_canonical, use that in $add_ons_sfx. Substitute add_on_subdirs with computed list of subdir names each add-on configure set in libc_add_on_subdirs. * configure: Regenerated. * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. * config.make.in (add-on-subdirs): New substituted variable. * Makeconfig (all-subdirs): Include $(add-on-subdirs). Remove $(add-ons), $(sysdep-subdirs). Don't filter out $(sysdep-inhibit-subdirs). ($(common-objpfx)sysd-dirs): Target removed. Don't include it. ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs files together to gen-sorted.awk, and $(subdirs) via -v. (subdirs): Remove magic reordering for mach and hurd. * scripts/gen-sorted.awk: Use subdirs from command line. Process Subdirs and Depend files directly. Let Subdirs files use "first dir" and "inhibit dir". Always move elf to the end of the list. * hurd/Depend: New file. * sysdeps/mach/Subdirs: Use "first mach". * Makefile (dist-separate): Remove linuxthreads. (dist-separate-linuxthreads): Variable removed. (glibc-%.tar rule): Use $(sysdeps-add-ons). * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), not $(all-subdirs). (sysdep-makefiles): Use $(sysdirs). (sysdirs): Remove export. ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in $(config-sysdirs). (+sysdir_pfx): Variable removed. (sysd-rules): Use $(common-objpfx) in place of it. (sysdirs): Variable moved to ... * Makeconfig (sysdirs): ... here. Handle absolute directory names in $(config-sysdirs). (full_config_sysdirs): Variable removed. * csu/Makefile: Use $(sysdirs) in vpath directive. * math/Makefile (ulps-file): Use $(sysdirs). * sysdeps/gnu/Makefile (errlist-c): Likewise. ($(objpfx)errlist-compat.c): Likewise. * Makeconfig (all-Subdirs-files): Likewise. ($(common-objpfx)config.status): Likewise. * configure.in (sysnames): Handle absolute add-on directory names. (sysdeps_add_ons): New variable, AC_SUBST it. Compute which add-ons contributed sysdeps directories. * configure: Regenerated. * config.make.in (sysdeps-add-ons): New substituted variable. * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... * Makeconfig: ... to here. (+sysdep_dirs): Append $(sysdeps-add-ons) here. (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). Remove $(includes). (sysdep-makeconfigs): Use $(+sysdep_dirs). ($(common-objpfx)shlib-versions.v.i): Likewise. * Makeconfig: Remove hair to set Makeconfig-add-on. * sysdeps/unix/Makefile (sysdirs): Remove export. (asm_CPP): Variable removed. ($(common-objpfx)sysd-syscalls): Pass them directly for the script. * sysdeps/posix/Makefile: New file. * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix values here with ?=. * stdlib/gen-mpn-copy: File removed. * stdlib/Makefile (distribute): Remove it. * configure.in: Don't grok --with-gmp. * configure: Regenerated. * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. * configure: Regenerated. * bare: Directory removed, saved in ports repository.
2006-02-27* sysdeps/generic/pt-raise.c: Moved to ...Roland McGrath
* pt-raise.c: ... here. * sysdeps/generic/lowlevellock.h: Moved to ... * lowlevellock.h: ... here.
2006-02-272006-02-26 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/generic/pt-raise.c: Moved to ... * pt-raise.c: ... here. * sysdeps/generic/lowlevellock.h: Moved to ... * lowlevellock.h: ... here.
2006-02-24* descr.h (struct pthread): Add final member `end_padding'.Roland McGrath
(PTHREAD_STRUCT_END_PADDING): Use it. 2006-02-20 Roland McGrath <roland@redhat.com> * sysdeps/mips: Directory removed, saved in ports repository. * sysdeps/unix/sysv/linux/mips: Likewise.
2006-02-21[BZ #2329]Roland McGrath
2006-02-20 Roland McGrath <roland@redhat.com> * sysdeps/mips: Directory removed, saved in ports repository. * sysdeps/unix/mips: Likewise. * sysdeps/unix/sysv/linux/mips: Likewise. * sysdeps/mach/mips: Likewise. * sysdeps/mach/hurd/mips: Likewise. * shlib-versions: Remove mips matches, now in ports fragment. * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. * configure.in (machine): Likewise. * configure: Regenerated. 2006-02-15 Thomas Schwinge <tschwinge@gnu.org> [BZ #2329] * include/unistd.h (__getresuid, __getresgid, __setresuid) (__setresgid): Fix argument name order in prototypes. * posix/unistd.h (getresuid, getresgid, setresuid, setresgid): Likewise. * posix/getresuid.c (__getresuid): Fix argument order in definition. * posix/getresgid.c (__getresgid): Likewise. * posix/setresuid.c (__setresuid): Likewise. * posix/setresgid.c (__setresgid): Likewise. * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise. * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise. * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2006-02-21Amend log entry with omitted file.Roland McGrath
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2006-02-20typoRoland McGrath
* pthreadP.h: Define PTHREAD_MUTEX_INCONSISTENT instead of
2006-02-18* tst-robust1.c: Add second mutex to check that the mutex list isUlrich Drepper
handled correctly.
2006-02-17* include/atomic.h (atomic_and, atomic_or): Define.Ulrich Drepper
2006-02-17* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_*cvs/fedora-glibc-20060217T1609Ulrich Drepper
definitions. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: New file.
2006-02-17* sysdeps/unix/sysv/linux/x86_64/lowlevellock.hUlrich Drepper
(lll_robust_mutex_unlock): Avoid unnecessary wakeups. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_mutex_unlock): Likewise.
2006-02-15* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORKUlrich Drepper
and MADV_DOFORK. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2006-02-15* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,Ulrich Drepper
__openat64_not_cancel): Remove prototypes. (__openat_nocancel, __openat64_nocancel): New prototypes or defines. (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, openat64_not_cancel_3): Use them.
2006-02-13* allocatestack.c (allocate_stack): Initialize robust_list.cvs/fedora-glibc-20060213T0650Ulrich Drepper
* init.c (__pthread_initialize_minimal_internal): Likewise. * descr.h (struct xid_command): Pretty printing. (struct pthread): Use __pthread_list_t or __pthread_slist_t for robust_list. Adjust macros. * pthread_create.c (start_thread): Adjust robust_list handling. * phtread_mutex_unlock.c: Don't allow unlocking from any thread but the owner for all robust mutex types. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define __pthread_list_t and __pthread_slist_t. Use them in pthread_mutex_t. * sysdeps/pthread/pthread.h: Adjust mutex initializers.