aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-10* crypt/crypt-private.h: Include stdbool.h.Alexandre Oliva6-7/+146
(_ufc_setup_salt_r): Return bool. * crypt/crypt-entry.c: Include errno.h. (__crypt_r): Return NULL with EINVAL for bad salt. * crypt/crypt_util.c (bad_for_salt): New. (_ufc_setup_salt_r): Check that salt is long enough and within the specified alphabet. * crypt/badsalttest.c: New file. * crypt/Makefile (tests): Add it. ($(objpfx)badsalttest): New.
2012-10-10Take lock in pthread_cond_wait cleanup handler only when neededSiddhesh Poyarekar9-10/+368
[BZ #14652] When a thread waiting in pthread_cond_wait with a PI mutex is cancelled after it has returned successfully from the futex syscall but just before async cancellation is disabled, it enters its cancellation handler with the mutex held and simply calling a mutex_lock again will result in a deadlock. Hence, it is necessary to see if the thread owns the lock and try to lock it only if it doesn't.
2012-10-09Add NEWS entry for BZ #14602.Maxim Kuvyrkov2-2/+6
2012-10-09Make libm-test.inc test comparison macros.Joseph Myers3-2/+176
2012-10-09Automatically disable libidn add-on under --disable-shared.Roland McGrath3-6/+23
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath28-1640/+54
2012-10-09Free errstring if _dl_addr doesn't returns 0Roland McGrath2-4/+12
2012-10-09Remove _G_off64_t and _G_stat64 from _G_config.h.Joseph Myers8-12/+26
2012-10-08Fix BZ #14602: strstr and strcasestr return wrong result.Maxim Kuvyrkov4-18/+40
2012-10-08Improve libm test coverage of classification macros / functions.Joseph Myers3-5/+72
2012-10-08Add bugs 14660, 14661 to NEWSJonathan Nieder1-1/+1
2012-10-08nptl_db/Makefile: force C locale when running readelfJonathan Nieder2-1/+7
db-symbols.awk relies on English-language readelf output to find the beginning of the symbol table, so force the locale. Without this change, "make check" fails in non-English locales: | diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist [...]/nptl_db/libthread_db.symlist | readelf -W -s [...]/nptl/libpthread.so | gawk -f [...]/nptl_db/db-symbols.v.i > [...]/nptl_db/db-symbols.out | make[2]: *** [[...]/nptl_db/db-symbols.out] Erreur 1
2012-10-08Makerules (check-abi-%): force C locale when running objdumpJonathan Nieder2-1/+7
abilist.awk relies on English-language output to find the "file format" header line in "objdump --dynamic-syms" output, so force the locale. Without this change, "make check" fails in non-English locales: | diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist [...]/locale/libBrokenLocale.symlist | --- ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist 2012-10-02 18:33:50.761863147 -0700 | +++ [...]/locale/libBrokenLocale.symlist 2012-10-03 00:11:22.877234252 -0700 | @@ -0,0 +1 @@ | +Don't grok this line: [...]/locale/libBrokenLocale.so: format de fichier elf64-x86-64 | make[2]: *** [check-abi-libBrokenLocale] Erreur 1
2012-10-08Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.cAndreas Schwab2-0/+6
2012-10-06Fix Niagara-4 memcpy bug on 32-bit.David S. Miller2-0/+9
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear upper 32-bits of the length value in %o2 since we use branch-on-register tests which consider the entire 64-bit register.
2012-10-06Add a strstr test for page boundaryH.J. Lu2-1/+10
2012-10-05Correct libthreadb register access for 64-bit sparc.David S. Miller3-9/+16
[BZ #14568] * sysdeps/sparc/tls.h (DB_THREAD_SELF_INCLUDE): Delete. (DB_THREAD_SELF): Use constants for the register offsets. Correct the case of a 64-bit debugger with a 32-bit inferior.
2012-10-05Add Niagara-4 optimized memset/bzero implementation.David S. Miller6-6/+164
* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New file. * sysdeps/sparc/sparc64/multiarch/Makefile: Add to sysdep_routines. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset and bzero when HWCAP_SPARC_CRYPTO is present.
2012-10-05Add a testase for BZ #14602H.J. Lu2-0/+16
2012-10-05Test strcasestr/strchr/strstr under all implementationsH.J. Lu8-89/+101
2012-10-05Clean up R_ARM_PC24 handling.Roland McGrath2-69/+57
2012-10-05Move _dl_important_hwcaps to dl-hwcaps.cH.J. Lu6-292/+287
2012-10-05Add test cases for BZ #14557H.J. Lu8-2/+28
2012-10-05Set GL(dl_nns) to 1 for vDSO in libc.aH.J. Lu3-1/+7
2012-10-05Set up the data structures for vDSO in libc.aH.J. Lu6-238/+307
2012-10-05Improve libm-test.inc comment.Joseph Myers2-8/+23
2012-10-05Update config.guess and config.sub.Joseph Myers3-17/+50
2012-10-05Unlock mutex before going back to waiting for PI mutexesSiddhesh Poyarekar8-175/+430
[BZ #14417] A futex call with FUTEX_WAIT_REQUEUE_PI returns with the mutex locked on success. If such a successful thread is pipped to the cond_lock by another spuriously woken waiter, it could be sent back to wait on the futex with the mutex lock held, thus causing a deadlock. So it is necessary that the thread relinquishes the mutex before going back to sleep.
2012-10-04powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.hKhem Raj2-5/+31
Fixes BZ #14251.
2012-10-04Name space hygeine for madvise.Roland McGrath11-13/+38
2012-10-03Clean up conditionalize of ld.so.cache support.Roland McGrath9-39/+40
2012-10-032012-10-03 Steve Ellcey <sellcey@mips.com>Steve Ellcey5-0/+13
* sysdeps/mips/ieee754.h: Move to... * sysdeps/mips/ieee754/ieee754.h: Here. * sysdeps/mips/mips32/Implies: Add mips/ieee754. * sysdeps/mips/mips64/Implies: Ditto. * sysdeps/mips/mips64/n32/Implies: Ditto. * sysdeps/mips/mips64/n64/Implies: Ditto.
2012-10-032012-10-03 Steve Ellcey <sellcey@mips.com>Steve Ellcey1-0/+0
* sysdeps/mips/ieee754.h: Move to... * sysdeps/mips/ieee754/ieee754.h: Here. * sysdeps/mips/mips32/Implies: Add mips/ieee754. * sysdeps/mips/mips64/Implies: Ditto. * sysdeps/mips/mips64/n32/Implies: Ditto. * sysdeps/mips/mips64/n64/Implies: Ditto.
2012-10-03sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZEPino Toscano2-0/+6
2012-10-03Remove sysdeps/unix/bsd/confstr.h file.Roland McGrath2-1/+4
2012-10-02* scripts/check-local-headers.sh: Exclude sys/sdt.h andAlexandre Oliva2-1/+6
sys/sdt-config.h.
2012-10-02Update copyright yearsH.J. Lu2-1/+5
2012-10-02Use ElfW(Off) rather than off_t for offsets within ELF files.Roland McGrath2-2/+7
2012-10-02nscd: fix compilation flagsDmitry V. Levin2-34/+11
Commit 61653dfb81b776bb72ce4304175b861d77c357a8 added support for compilers predefining _FORTIFY_SOURCE by adding -U_FORTIFY_SOURCE to CPPFLAGS for these compilers, but that change doesn't work quite well in case of nscd: its Makefile sets _FORTIFY_SOURCE using CFLAGS instead of CPPFLAGS and, thanks to compilation rules defined in Makerules, CPPFLAGS are passed to compiler after CFLAGS, resulting to a build with _FORTIFY_SOURCE turned off. This change implements a more safe method of passing preprocessor and compiler flags so that no nscd modules could be accidentally forgotten.
2012-10-02Clarify memory allocation error diagnostics to avoid confusionDmitry V. Levin3-8/+12
2012-10-02Define HAS_FMA with bit_FMA_UsableH.J. Lu4-3/+23
2012-10-02Split my last ChangeLog entry into respective arch-specific filesSiddhesh Poyarekar8-11/+35
2012-10-02Fix clone flag name in comment to CLONE_CHILD_CLEARTID.Siddhesh Poyarekar16-14/+36
2012-10-01Get rid of unused __swblk_t type.Roland McGrath12-9/+24
2012-10-012012-10-01 Patsy Franklin <pfrankli@redhat.com>Jeff Law2-5/+14
Honza Horak <hhorak@redhat.com> * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize. (xdr_mapname): Use YPMAXMAP as maxsize. (xdr_peername): Use YPMAXPEER as maxsize. (xdr_keydat): Use YPAXRECORD as maxsize. (xdr_valdat): Use YPMAXRECORD as maxsize.
2012-10-01Define __have_atfcts global in stub openat implementation.Roland McGrath2-1/+10
2012-10-01Clean up init-first.c files.Roland McGrath13-364/+106
2012-10-01Fix exception table for i386 pthread_cond_waitSiddhesh Poyarekar6-6/+150
[BZ #14477] Add an additional entry in the exception table to jump to __condvar_w_cleanup2 instead of __condvar_w_cleanup for PI mutexes when %ebx contains the address of the futex instead of the condition variable.
2012-10-01Fix sign of inexact zero return from fma (bug 14645).Joseph Myers6-1/+74
2012-09-29Fix sign of exact zero return from fma (bug 14638).Joseph Myers9-3/+227