aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-16Fix incorrect backtrace unwinding through thread_start() on x86_64pasky/fixes-overdueJan Kratochvil2-4/+6
Provide CFI for the outermost clone() to ensure proper unwinding stop of gdb.
2010-11-16Allow aux_cache_file open()ing to fail silently even in the chroot mode.Petr Baudis2-8/+10
The aux_cache fix of bug 11149 introduced a new bug - normally, ldconfig -r never cares if the auxiliary cache is not available and that is not a fatal problem, however this is not the case in case of ldconfig -r when executed as non-root. In that case, ldconfig -r fails hard unless var/cache/ldconfig/ exists within the chroot. This patch fixes that.
2010-11-16Make nscd load /etc/host.conf options in aicachePetr Baudis3-0/+11
This patch makes sure _res_hconf is initialized before resolving is being done. However, this would not be enough since nscd has its own _res_hconf due to nscd/res_hconf.c; _res_hconf_init() would work on different _res_hconf instance than the NSS routines. We just need to make sure nscd and glibc share the same _res_hconf instance - this should not be a problem since users should run matching versions of glibc and nscd anyway.
2010-11-16Fix multiple nss_compat initgroups() bugsPetr Baudis2-8/+17
Compat initgroups() is completely broken; the code will always set skip_initgroups_dyn to true, so initgroups() will never be actually called, but due to the nature of the code, setgrent() won't be called either - thus, subsequent invocations of initgroups() will not return the NIS group list anymore. This is a simple patch that makes sure skip_initgroups_dyn is set only in case initgroups is not available; it also attempts to handle the unavailability of other NSS interfaces better.
2010-11-16Add proper unwind information for x86_64 _finiMichael Matz2-1/+37
It is impossible to reliably unwind the stack above _fini() on x86_64 since no unwind information is provided for it and it modifies a stack register. This matters for gdb backtracing - if a process crashes within a destructor, it can frequently be essential to look at why the program began terminating in the first place.
2010-11-16Fix jn() precision problems around zero points of j0()Petr Baudis6-5/+60
There appears to be a really nasty bug in jn() from fdlibm, which is the foundation for most libm implementations (including glibc libm). The zeroth-order j0() and first-order j1() cylindrical Bessel functions are used to recursively generate the jn() value, but only the zeroth-order Bessel function is used to normalize it; however, each of the functions gets highly imprecise (approaching "bogus") near its zero point, making the jn() value itself bogus. But in fact, the zero points of j0() and j1() never coincide, thus j1() should be used in case it is more precise than j0(). (That is, simply when its value is further from zero.) As an example, 2.4048255576957729_8 is the first zero of j0(). The proper value as calculated by Mathematica is 0.19899990535769... However, jn() returns -inf on 64-bit arch, or 0.185007 on 32-bit arch. With the proposed patch below, the returned value is 0.199000. The fix is based on work by Steve Kargl and Tobias Burnus.
2010-11-16nscd/hstcache.c: Propagate TRY_AGAIN properly to the clients.Jan Sembera2-6/+31
When nscd host cache gets temporary error from nss, it should return temporary error instead of permanent error to the application.
2010-11-12Fix memory leak in fnmatchAndreas Schwab4-8/+24
2010-11-12Support Intel processor model 6 and model 0x2.H.J. Lu2-0/+6
2010-11-10Fix comparison in sqrtl for IBM long double 128.Luis Machado2-2/+7
2010-11-10Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.H.J. Lu4-6/+53
2010-11-10Fix warnings in __bswap_16.Ulrich Drepper4-23/+31
2010-11-08Use IFUNC on x86-64 memsetH.J. Lu10-156/+387
2010-11-05power7-optimized mempcpyLuis Machado3-0/+934
2010-11-0532bit memset-sse2.S fails with uneven cache sizeUlrich Drepper4-4/+43
32bit memset-sse2.S assumes cache size is multiple of 128 bytes. If it isn't true, memset-sse2.S will fail. For example, a processor can have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half of it is 1258291, which isn't helpful for vector instructions. This patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache sizes.
2010-11-03Verify in ttyname() that the symlink is valid.Miklos Szeredi4-12/+65
2010-11-01Fix typo in comment.Erich Ritz2-1/+5
2010-11-01Update Danish translations.Ulrich Drepper2-6/+9
2010-10-26Fix assertion in ld.so, introduced by delayed adding to global list.Ulrich Drepper2-1/+6
2010-10-26Add missing file.Ulrich Drepper1-0/+14
2010-10-26Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel6-48/+70
2010-10-25Fix x86-64 strchr propagation of search byte into all bytes of SSE registerRichard Li3-3/+10
2010-10-24Fix perturbing in malloc on free.Ulrich Drepper3-4/+10
2010-10-24powerpc: PPCA2/A2 optimized memcpy functionMichael B. Brutman7-3/+1035
2010-10-24Require suid bit on audit objects in privileged programsAndreas Schwab7-24/+38
2010-10-24Work around shortest-stem feature in make 3.82+Andreas Schwab3-6/+22
2010-10-24Don't expand DST twice in dl_openAndreas Schwab2-29/+5
2010-10-19Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.Ulrich Drepper5-4/+43
2010-10-19Add C99 FP_FAST_FMA{,F,L} macros to math.hMichael Meissner3-0/+28
2010-10-19Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper3-2/+27
Conflicts: ChangeLog
2010-10-18IEEE quad fmal fixesJakub Jelinek3-2/+27
2010-10-15Missing CL.Jakub Jelinek1-0/+15
2010-10-15Implement fmal, some fma bugfixesJakub Jelinek9-97/+492
2010-10-15Fix some more dbl-64/s_fma.c issueJakub Jelinek3-15/+105
2010-10-15Expect PLT call to _Unwind_Find_FDE on s390*-linuxAndreas Schwab3-0/+19
2010-10-13Implement accurate fma.Jakub Jelinek17-10/+467
2010-10-13Fix alignment of AVX safe area on x86-64.H.J. Lu4-10/+14
2010-10-12One more regex memory leak fixed.Ulrich Drepper3-0/+9
2010-10-11More regex memory leak fixes and tests.Ulrich Drepper4-10/+43
2010-10-11Test case for last regex problem.Ulrich Drepper3-2/+27
2010-10-11Fix memory leak for some invalid regular expressions.Ulrich Drepper3-2/+15
2010-10-11psiginfo relied too much on sys_siglist.Ulrich Drepper3-3/+26
2010-10-11Linux getifaddrs might return entries with ->ifa_addr being NULL.Ulrich Drepper3-6/+15
2010-10-11Correct implementation of fmaf.Jakub Jelinek22-19/+115
2010-10-11Fix BZ reference in last checkin.Ulrich Drepper2-2/+2
2010-10-11Unify psiginfo output.Ulrich Drepper3-7/+14
2010-10-06Add test case for strstr problem.Ulrich Drepper2-1/+8
2010-10-06Fix strstr and memmem algorithm.Eric Blake3-1/+33
2010-10-03More NEWS changes.Ulrich Drepper1-2/+2
2010-10-03Update NEWS.Ulrich Drepper1-2/+3