Commit Graph

16680 Commits

Author SHA1 Message Date
H.J. Lu 0181291385 Determine and store processor family and model on x86-64. 2009-06-30 04:39:09 -07:00
Ulrich Drepper 44d20bca52 Implement second fallback mode for DNS requests.
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.
2009-06-26 03:47:47 -07:00
Ulrich Drepper 54c99aabdb Whitespace fix. 2009-06-25 08:57:44 -07:00
Andreas Schwab 80a98966c8 Fix text relocation on ppc32.
The ____longjmp_chk implementation didn't load from memory the
right way.
2009-06-25 08:56:20 -07:00
Andreas Schwab 3f241d7584 Fix cfa offset for saved registers in PPC sqrt implementations. 2009-06-24 11:36:57 -07:00
Andreas Schwab 7a7c2c2465 Handle empty TZ strings at the end of new-style timzeone files correctly. 2009-06-23 09:13:30 -07:00
Ulrich Drepper 58d60030df Update from translation team. 2009-06-22 22:53:20 -07:00
Ulrich Drepper 20a3ce8538 Update from translation team. 2009-06-22 21:55:15 -07:00
Ulrich Drepper 059215ae21 Clean up whitespaces in last patch. 2009-06-22 20:39:37 -07:00
H.J. Lu 772f4e6a1b Add SSE4.2 support for strcmp and strncmp on x86-64. 2009-06-22 20:38:41 -07:00
Ulrich Drepper 9618c7c20e More whitespace cleanups. 2009-06-22 15:11:18 -07:00
Ulrich Drepper e364e6f118 Clean up whitespaces in last patch. 2009-06-22 15:10:30 -07:00
H.J. Lu 3c30afc862 Add more IFUNC tests.
Mostly tests around not-exported IFUNC functions, IFUNC in statically
linked binaries and PIEs, etc.
2009-06-22 15:07:40 -07:00
Ulrich Drepper ccab6d8f73 Fix broken up NIS groups for compat NSS module.
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.
2009-06-20 20:39:19 -07:00
Ulrich Drepper f6887a0d9a Add some more tests to malloc to detect corruptions. 2009-06-18 22:37:31 -07:00
Ulrich Drepper d0a2af7106 Add 802.15.4 definitions to header files. 2009-06-18 07:52:38 -07:00
H.J. Lu d8366b0970 Use +link-pie Makefile rule to link PIE ifunc tests. 2009-06-17 19:55:18 -07:00
Ulrich Drepper f051ddfe22 Build pt_chown as PIE. 2009-06-16 20:46:42 -07:00
Andreas Schwab f60ddf9bf7 Don't treat bug reporting message as a format string. 2009-06-16 20:34:55 -07:00
Ulrich Drepper 8a909c6430 Git didn't see the ChangeLog entry. 2009-06-16 15:59:35 -07:00
Ulrich Drepper f793b62438 Extend pt_chown to drop privileges.
If libcap is available, use it to drop privileges in pt_chown before
starting the work to change the permissions and ownership of the
slave device.
2009-06-16 15:58:07 -07:00
Jakub Jelinek fab8238de6 Fix x86-64 memchr for large lengths. 2009-06-16 10:23:31 -07:00
H.J. Lu 435aa54b3b Consolidate PIE linking Makefile rules. 2009-06-16 09:19:59 -07:00
Ryan S. Arnold 25bfbb9e0e Fix incorrect use of cmpldi in 32-bit PPC code.
The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi.
BZ #10107
2009-06-16 08:29:04 -07:00
Ulrich Drepper b23964c620 Define week, first_weekday, first_workday in de_AT locale.
BZ #10011
2009-06-16 08:25:01 -07:00
Ulrich Drepper 3c8770316b Add missing include. 2009-06-16 08:00:10 -07:00
Ulrich Drepper b34de9ea81 Fold Linux-specific grantpt code into Unix version. 2009-06-16 07:59:09 -07:00
Ulrich Drepper eae3208e24 Run tst-fgetwc with necessary envvar. 2009-06-16 07:48:27 -07:00
Ulrich Drepper 837dea7cf5 Optimize pt_chown.
Don't call chown and chmod if not necessary.
2009-06-15 22:58:21 -07:00
Ulrich Drepper 292e3abebf Fix permission of slave device on devpts if necessary.
If devptr is misconfigured the slave device permission after grantpt
might not be 0620.  BZ #10166
2009-06-15 22:56:51 -07:00
Ulrich Drepper 395a37e379 When iterating over CPU bitmask, don't try more than CPU_SETSIZE. 2009-06-15 21:12:57 -07:00
Arnaud Ebalard 7ed520bd85 Fix type of nd_opt_home_agent_info_preference. 2009-06-15 20:33:39 -07:00
Aurelien Jarno c518f9a4b4 Extend getent to handle the shadow database.
BZ #10207
2009-06-15 17:49:35 -07:00
Joe Landers 233a182b9e Fix memory leak when batch-reading large NIS password maps.
Not the whole was traversed in the function to free all buffers.
BZ #10203
2009-06-15 17:37:40 -07:00
Bruce Dubbs 4155d92633 (do_test): Use de_DE.UTF-8 as locale name. 2009-06-15 17:27:48 -07:00
Ulrich Drepper 48dcd0ba84 Preserve message printed before abort.
The terminal output etc is not visible in a core file.  The new
libc-internal variable __abort_msg will point to a string with the
message which has been printed before the abort in case abort is
called from inside libc.  BZ #10217
2009-06-15 16:17:09 -07:00
Ulrich Drepper 6355c99740 Fix computation of tzspec_len.
Without this it should never have worked that we can use the
embedded envvar in the timezone data files for dates after the last
matching rule.
2009-06-15 11:00:08 -07:00
Akinori Hattori 29143408ae Handle leap seconds even if no DST rule exists.
This fixes BZ #10211.
2009-06-15 10:54:26 -07:00
Jim Meyering c9bb324154 exempt timezone files from the no-bad-whitespace policy
* .gitattributes: New file.  Exempt imported timezone files from
the no-bad-whitespace rules.
2009-06-15 18:15:54 +02:00
Ulrich Drepper 5fb55a68c1 Update from tzcode2009i. 2009-06-15 08:49:18 -07:00
Ulrich Drepper a468a1d4a9 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
Jakub Jelinek 0212596218 libc part of prelink IFUNC support.
The dl-lookup.c changes are needed for prelink (support in prelink
checked into SVN, tested for both i?86 and x86-64), dl-irel.h just
something I discovered by code inspection.
2009-06-15 07:46:53 -07:00
Ulrich Drepper 0efa1cd30f Missing BZ number. 2009-06-15 07:25:14 -07:00
Sofwath 5a5fe4350f Dhivehi language locale for Maldives. 2009-06-15 07:24:29 -07:00
Ulrich Drepper 53c068910a Update from translation team. 2009-06-14 18:11:09 -07:00
Ulrich Drepper eb0b6cb6e1 Fix warnings when using <sys/select.h>.
gcc 4.4 is more picky.  And the x86-64 version of <bits/select.h>
contained a now unnecessary asm optimization.  Remove it.
2009-06-14 16:09:42 -07:00
Ulrich Drepper bfdb73e145 Implement pthread_sigqueue.
The kernel from 2.3.31 on supports the rt_tgsigqueueinfo syscall.
Use it to implement the non-standard extension which, like
sigqueue, can pass additional data to the receiving thread.
2009-06-12 08:34:02 -07:00
Bryan Kadzban 1828530f09 Fix futex syscall parameter for x86 absolute timeout waits.
This affects only installations compiled for kernels older than 2.6.18.
2009-06-11 11:32:51 -07:00
Ulrich Drepper 310647e980 Remember we switched to single-request mode.
This change prevents repetition in most later calls of the resolver
in case the DNS server or the network connection is broken.
2009-06-11 10:07:33 -07:00
J.H.M. Dassen 88ea382fda Remove comma at end of enum. 2009-06-09 07:58:02 -07:00