about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix lock handling in memory hander of nscd.Petr Baudis2009-07-168-27/+16
| | | | | | | | | | The commit 20e498bd removes the pthread_mutex_rdlock() calls, but not the corresponding pthread_mutex_unlock() calls. Also, the database lock is never unlocked in one branch of the mempool_alloc() if. I think unreproducible random assert(dh->usable) crashes in prune_cache() were caused by this. But an easy way to make nscd threads hang with the broken locking was.
* Use correct release semantic in list update.Andreas Schwab2009-07-162-1/+7
| | | | | nscd uses lockfree lists and we need to ensure the correct release semantics is used when adding to the list.
* Fix race in corruption check.Ulrich Drepper2009-07-162-2/+29
| | | | | | With atomic fastbins the checks performed can race with concurrent modifications of the arena. If we detect a problem re-do the test after getting the lock.
* Use rel semantics of cas instead of acq semantics with full barrier before ↵Jakub Jelinek2009-07-163-13/+35
| | | | | | | | | | | it in _int_free The following patch fixes catomic_compare_and_exchange_*_rel definitions (which were never used and weren't correct) and uses catomic_compare_and_exchange_val_rel in _int_free. Comparing to the pre-2009-07-02 --enable-experimental-malloc state the generated code should be identical on all arches other than ppc/ppc64 and on ppc/ppc64 should use lwsync instead of isync barrier.
* Remove warning and little optimization.Ulrich Drepper2009-07-163-0/+9
| | | | | The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
* Optimize restoring of ymm registers on x86-64.Ulrich Drepper2009-07-162-43/+39
| | | | The patch mainly reduces the code size but also avoids some jumps.
* Fix up whitespaces in new memcmp for x86-64.Ulrich Drepper2009-07-161-42/+42
|
* memcmp implementation for x86-64 using SSE2.H.J. Lu2009-07-162-0/+363
|
* Fix thinko in AVX audit patch.Ulrich Drepper2009-07-151-20/+4
| | | | Don't use AVX instructions too often.
* Fix typo in last change.Ulrich Drepper2009-07-151-1/+1
|
* Secure AVX changes for auditing code.Ulrich Drepper2009-07-153-326/+299
| | | | | | | | The original AVX patch used a function pointer to handle the difference between machines with and without AVX support. This is insecure. A well-placed memory exploit could lead to redirection of the execution. Using a variable and several tests is a bit slower but cannot be exploited in this way.
* Fix build issue with modules for audit test on machines != x86-64.Ulrich Drepper2009-07-152-3/+10
|
* Add AVX support to ld.so auditing for x86-64.H.J. Lu2009-07-1019-126/+1018
|
* Remove do-lookup.h.Ulrich Drepper2009-07-104-388/+369
| | | | | It is not necessary/useful anymore to have the content separate from dl-lookup.c.
* Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2009-07-102-2/+6
|
* Implement STB_GNU_UNIQUE handling.Ulrich Drepper2009-07-0916-12/+375
| | | | | | | | | Some symbols have to be identified process-wide by their name. This is particularly important for some C++ features (e.g., class local static data and static variables in inline functions). This cannot completely be implemented with ELF functionality so far. The STB_GNU_UNIQUE binding helps by ensuring the dynamic linker will always use the same definition for all symbols with the same name and this binding.
* Define STB_GNU_UNIQUE.Ulrich Drepper2009-07-072-0/+3
|
* Clean up code for hash table handling in ld.so.Ulrich Drepper2009-07-073-69/+74
|
* Optimize test for valid ELF symbol types in lookup function. ibm/masterUlrich Drepper2009-07-062-7/+11
|
* Fix wrong PPC_FEATURE_* values.Andreas Schwab2009-07-052-2/+7
| | | | | Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
* Minor cleanups in recently added files.Ulrich Drepper2009-07-033-79/+60
|
* Align functions to 16-byte boundary.Ulrich Drepper2009-07-035-0/+12
| | | | | | Some of the new multi-arch string functions for x86-64 were not aligned to 16 byte boundarie,s possibly creating unnecessary cache line misses and delays.
* Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.H.J. Lu2009-07-0314-7/+875
|
* Fix whitespace in last patch.Ulrich Drepper2009-07-022-2/+2
|
* Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu2009-07-026-3/+227
|
* Whitespace fixes in last patch.Ulrich Drepper2009-07-021-31/+31
|
* SSSE3 strcpy/stpcpy for x86-64H.J. Lu2009-07-0210-12/+1982
| | | | | | This patch adds SSSE3 strcpy/stpcpy. I got up to 4X speed up on Core 2 and Core i7. I disabled it on Atom since SSSE3 version is slower for shorter (<64byte) data.
* Fix possible race when freeing object in fast bin list.Ulrich Drepper2009-07-022-0/+6
|
* Fix NIS and NIS+ getnetbyaddr backends.Ulrich Drepper2009-07-013-2/+7
| | | | The addresses were interpreted as class-based network addresses.
* Fix getent networks lookup and resulting incorrect NSS change.Ulrich Drepper2009-07-013-4/+5
| | | | | | I changed the files NSS backend for networks because I thought the getent use of getnetbyaddr is correct. But it isn't. Undo parts of the last change and fix getent.
* Fix getnetbyaddr implementation.Ulrich Drepper2009-07-013-3/+11
| | | | | | | | | | | There were two problems in the getnetbyaddr implementation. The type argument is pretty much useless since (almost) no input file contains this information and the NSS backends make up the value they fill in for the n_addrtype field. Therefore we now declare that passing AF_UNSPEC is always recognized. Secondly, the files backend didn't compare the network numbers with the correct endianess. Also change getent to take advantage of the type parameter change.
* Regenerated.Ulrich Drepper2009-06-301-6/+38
|
* Fix little checkin problem in last patch.Ulrich Drepper2009-06-301-2/+2
|
* Determine and store processor family and model on x86-64.H.J. Lu2009-06-304-8/+43
|
* Implement second fallback mode for DNS requests.Ulrich Drepper2009-06-264-19/+65
| | | | | | | | | | | | There is some more shardware/software out there which has problems if two DNS requests are sent using the same tuple (source addr, source port, dest addr, dest port) This can range from firewalls to load balancers. Some of the vendors already fixed it in response to this problem. Still, we need a way to make glibc work with broken environments. The single-request-reopen flag can be used or we fall back automatically to this mode.
* Whitespace fix.Ulrich Drepper2009-06-251-1/+1
|
* Fix text relocation on ppc32.Andreas Schwab2009-06-252-2/+26
| | | | | The ____longjmp_chk implementation didn't load from memory the right way.
* Fix cfa offset for saved registers in PPC sqrt implementations.Andreas Schwab2009-06-245-8/+16
|
* Handle empty TZ strings at the end of new-style timzeone files correctly.Andreas Schwab2009-06-232-0/+8
|
* Update from translation team.Ulrich Drepper2009-06-222-5/+7
|
* Update from translation team.Ulrich Drepper2009-06-222-8/+12
|
* Clean up whitespaces in last patch.Ulrich Drepper2009-06-221-1/+1
|
* Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu2009-06-227-5/+1714
|
* More whitespace cleanups.Ulrich Drepper2009-06-222-2/+2
|
* Clean up whitespaces in last patch.Ulrich Drepper2009-06-223-6/+6
|
* Add more IFUNC tests.H.J. Lu2009-06-2219-5/+457
| | | | | Mostly tests around not-exported IFUNC functions, IFUNC in statically linked binaries and PIEs, etc.
* Fix broken up NIS groups for compat NSS module.Ulrich Drepper2009-06-202-75/+146
| | | | | | | | The check for the inclusion of a group in the result gave up too early in case of broken-up NIS groups. We now fall back automatically to the slow mode of using getgrent_r. As an optimization, if there is not blacklist we need not perform the check in the first place and therefore can just accept the results of the initgroups_dyn callback.
* Add some more tests to malloc to detect corruptions.Ulrich Drepper2009-06-182-3/+31
|
* Add 802.15.4 definitions to header files.Ulrich Drepper2009-06-184-5/+32
|
* Use +link-pie Makefile rule to link PIE ifunc tests.H.J. Lu2009-06-172-16/+7
|