aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-16Rename nptl/init.c to nptl/nptl-init.c.Ulrich Drepper3-3/+9
Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924.
2009-05-16remove subsumed .gitignore entries and filesJim Meyering9-66/+17
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering3-3/+3
2009-05-16remove COPYING* from .gitignore filesJim Meyering7-7/+7
2009-05-16Remove redundant .gitignore files.Andreas Schwab28-168/+0
2009-05-15Further robustify nscd database lookup.Ulrich Drepper4-7/+17
We can compute an absolute maximum for the number of elements which can fit into the currently mapped database. Stop after that many iterations.
2009-05-15Robustify libc-side nscd database reader.Jakub Jelinek9-30/+60
The nscd database mapped in processes can change at any time. We have to be more vigilant when it comes to using that memory. Test the data entries are valid in their entire size, don't read data again from memory once we verified it, and make sure the trailing pointer is not going off the deep end.
2009-05-15Avoid double definition of catomic_compare_and_exchange_val_acq.Jakub Jelinek2-9/+16
2009-05-15ChangeLog entries incorrectly applied.Ulrich Drepper2-25/+25
2009-05-15Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek10-3/+42
Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
2009-05-15Don't try to cleanup libselinux and libaudit.Jakub Jelinek4-20/+9
Because we are not shutting down the other threads first another thread might work on a query before the process shuts down. In this case the now uninitialized libselinux and libaudit might be used. Just don't free the resources. It's not necessary anyway because the process is about to terminate.
2009-05-15Fix change to prevent cancel signal in unsafe places.Ulrich Drepper4-14/+16
The bits tested to decide when to delay the return when switching off async cancel mode were wrong. Fix that. Also close a race condition in pthread_cancel where the bit indicating the cancellation is unconditionally set even if the cancel type might have changed.
2009-05-15Add test for range error in expm1.Ulrich Drepper2-0/+6
2009-05-15Merge branch 'master' of ssh://sources.redhat.com/git/glibcUlrich Drepper0-0/+0
Conflicts: ChangeLog
2009-05-15Cleanup some .gitignore files.Ulrich Drepper2-18/+58
2009-05-15Check for valid stack frame in longjmp.Ulrich Drepper17-9/+306
If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.
2009-05-15Ignore Emacs backup files.Ulrich Drepper1-0/+1
2009-05-15Version info change for 2.11 development.Ulrich Drepper2-2/+4
2009-05-15No cancel signal in unsafe places.Ulrich Drepper3-2/+32
When disabling async cancellation we cannot return from the function call if the thread is canceled. This happens when the cancel bits have been set before async cancel is disabled but the signal hasn't been sent/received yet. Delay for as long as necessary since otherwise the signal might be received in an unsafe context.
2009-05-15Version info change for 2.11 development.Ulrich Drepper2-2/+4
2009-05-15No cancel signal in unsafe places.Ulrich Drepper3-2/+32
When disabling async cancellation we cannot return from the function call if the thread is canceled. This happens when the cancel bits have been set before async cancel is disabled but the signal hasn't been sent/received yet. Delay for as long as necessary since otherwise the signal might be received in an unsafe context.
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering38-0/+0
2009-05-15Test DSOs for executable stack.Ulrich Drepper3-2/+175
Add a text program, built to run on the host, to check all newly built DSOs for executable stacks and fail if the stack information is missing or indicates executable stacks.
2009-05-10* version.h (VERSION): Bump to 2.10.1.cvs/fedora-glibc-20090510T1842cvs/masterUlrich Drepper9-12/+38
* nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
2009-05-09* Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in theglibc-2.10cvs/glibc-2_10-basecvs/glibc-2_10cvs/fedora-glibc-20090509T2200Ulrich Drepper2-14/+4
same place we add ASFLAGS-config.
2009-05-09* version.h (VERSION): Bump for 2.10 release.cvs/fedora-glibc-20090509T1828Ulrich Drepper3-3/+8
* include/features.h (__GLIBC_MINOR__): Bump to 10.
2009-05-09[BZ #10128]Ulrich Drepper2-0/+13
2009-05-05 Aurelien Jarno <aurelien@aurel32.net> [BZ #10128] * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP or FORMERR and the other NOERROR, don't raise an error.
2009-05-09[BZ #10118]Ulrich Drepper7-8/+33
2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
2009-05-09* string/stratcliff.c (do_test): Test for zero lengthUlrich Drepper2-9/+33
STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy at the end of the page.
2009-05-09* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper2-0/+7
2009-05-09* sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper2-1/+6
count is zero.
2009-05-08* po/da.po: Update from translation team.Ulrich Drepper2-93/+106
2009-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT and READ_IMPLIES_EXEC. 2009-05-04 Ulrich Drepper <drepper@redhat.com> * po/da.po: Update from translation team.
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper3-1/+10
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-05-04* localedata/locales/bn_BD: Remove comment about missing collationUlrich Drepper3-1/+252
rules. * localedata/locales/iso14651_t1_common: Add Bengali collation rules. Patch by Pravin Satpute <psatpute@redhat.com>.
2009-05-04Update from translation team.Ulrich Drepper1-4056/+4414
2009-04-29Add missing CHangeLog entry.Jakub Jelinek1-0/+9
2009-01-07 Ulrich Drepper <drepper@redhat.com> * (in_flight_stack): New variable. (stack_list_del): New function. Use instead of list_del. (stack_list_add): New function. Use instead of list_add when adding to stack_cache and stack_used lists. (__reclaim_stacks): Complete operations on stack_cache and stack_used lists when the fork call interrupted another thread.
2009-04-29* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek2-2/+7
change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
2009-04-27* cancellation.c (__pthread_disable_asynccancel): Use THREAD_ATOMIC_ANDUlrich Drepper5-4/+49
is available. * libc-cancellation.c (__libc_disable_asynccancel): Likewise. * sysdeps/x86_64/tls.h: Define THREAD_ATOMIC_AND. * sysdeps/i386/tls.h: Likewise. (tcbhead_t): Add __private_tm member.
2009-04-27* locale/programs/locarchive.c (create_archive): Add MAP_PRIVATEcvs/fedora-glibc-20090427T1419Ulrich Drepper2-11/+41
to MAP_ANON in PROT_NONE mmap64 call. (open_archive): Likewise. (file_data_available_p): Use mmap64 instead of mremap. (enlarge_archive): Likewise. Update head if ah->addr changed. Attempt to reserve address space after mmap64 region.
2009-04-27* sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper4-5/+17
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2009-04-27* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper2-1/+4
atanh should set ERANGE.
2009-04-27* inet/inet6_option.c (option_alloc): Add temporary variable toUlrich Drepper1-1/+1
2009-04-27[BZ #10087]Ulrich Drepper2-3/+11
* elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access result of lookup to make call to implement STT_GNU_IFUNC. (_dl_profile_fixup): Likewise. Patch by H.J. Lu <hjl.tools@gmail.com>.
2009-04-26* nscd/connections.c (send_ro_fd): Define temporary variable to avoidUlrich Drepper3-16/+59
warning. * elf/sprof.c: Likewise.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper12-39/+141
from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
2009-04-26* sem_open.c (sem_open): Rewrite initialization of initsem toUlrich Drepper2-8/+14
avoid warnings.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper13-41/+83
Avoid warning by using may_alias attribute on ptrhack.
2009-04-26* nss/nsswitch.c (__nss_lookup_function): En/Decrypt cachedUlrich Drepper2-3/+12
function pointers.
2009-04-26* sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper2-7/+18
2009-04-26* posix/bits/posix1_lim.h: Cleanup namespace a bit.Ulrich Drepper2-4/+10