Commit Graph

494 Commits

Author SHA1 Message Date
Ulrich Drepper
c0244a9ded Fix IPv6-only lookups through getaddrinfo
A recent patch introduced a problem where IPv6 lookups happily returned
IPv4 addresses.
2011-06-21 17:03:38 -04:00
Ulrich Drepper
9f2da732e7 Add initgroups lookups to nss_db 2011-06-15 21:06:19 -04:00
Ulrich Drepper
11988f8f96 Add pldd program 2011-06-09 07:06:21 -04:00
Ulrich Drepper
e80fab373c Start 2.15 development 2011-06-07 22:22:10 -04:00
Jakub Jelinek
f16846a5f2 Fix <bits/mqueue2.h> for C++ 2011-06-04 14:21:45 -04:00
Ulrich Drepper
4769ae77fc Handle DNS server failures in case of AF_UNSPEC lookups correctly 2011-05-30 22:48:47 -04:00
Ulrich Drepper
4462fad3d9 Undo last patch 2011-05-30 12:33:37 -04:00
Ulrich Drepper
ec81170ffc Add BZ number to NEWS 2011-05-30 12:33:12 -04:00
Ulrich Drepper
6b1e7d1992 Handle DSOs without any dependency in ld.so 2011-05-30 12:31:25 -04:00
Ulrich Drepper
7ae22829af Restore _res correctly
getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups.  The restoring didn't allow for the resolver to set
additional bits in _res.
2011-05-29 23:49:49 -04:00
Ulrich Drepper
553149f603 Reference wrong BZ 2011-05-29 22:28:01 -04:00
Ulrich Drepper
873ca50461 Interpret numeric values in shadow file as signed 2011-05-29 22:26:43 -04:00
Ulrich Drepper
16985fd0c7 Recognize use-vc option in resolv.conf 2011-05-29 21:43:33 -04:00
Ulrich Drepper
c30b7ee2c3 Record when bug 11577 was fixed and by which patch 2011-05-29 21:33:30 -04:00
Ulrich Drepper
0464f746e8 Don't build AVX tests with old compilers 2011-05-29 21:25:58 -04:00
Ulrich Drepper
7d17596c19 Mark malloc hook variables as deprecated 2011-05-29 21:10:23 -04:00
Ulrich Drepper
cf6bbbd701 Declare malloc hook variables as volatile. 2011-05-29 20:40:08 -04:00
Ulrich Drepper
b1ebd700c5 Don't document si_code used for raise() 2011-05-29 20:05:30 -04:00
Ulrich Drepper
8887a920a4 Fix unnecessary overallocation due to incomplete character
When incomplete characters are found at the end of a string the
code ran amok and allocated lots of memory.  Stricter limits
are now in place.
2011-05-28 17:14:30 -04:00
Ulrich Drepper
a917104752 Add sotruss program 2011-05-28 13:20:12 -04:00
Ulrich Drepper
f1f929d74a Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
Ulrich Drepper
ce67228d57 Set setns system call 2011-05-28 00:53:13 -04:00
Ulrich Drepper
a8509ca540 Use getcpu definition from vDSO on x86-64 2011-05-27 16:09:52 -04:00
Ulrich Drepper
fdc2fefe46 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
	NEWS
2011-05-27 08:37:18 -04:00
Andreas Schwab
4d07db153e Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designation 2011-05-27 08:34:00 -04:00
Ulrich Drepper
67f86a251e Define RLIMIT_RTTIME 2011-05-23 15:53:37 -04:00
Ulrich Drepper
f2962a7195 Add a few more alloca size checks 2011-05-22 23:04:16 -04:00
Ulrich Drepper
7ea72f9996 Always fill output buffer in XPG strerror function 2011-05-21 12:11:36 -04:00
Ulrich Drepper
8e211fecca Fix CP1258 conversion
a5 ec was mishandled and the other direction appropriately so, too.
2011-05-21 11:33:05 -04:00
Ulrich Drepper
cc9e536dac Fix handling of LC_CTYPE in locale name handling 2011-05-21 02:06:45 -04:00
Ulrich Drepper
aec84f5395 Set stream errors in more cases
Also avoid unnecessarily setting errno when testing for TTY.
2011-05-21 00:42:06 -04:00
Ulrich Drepper
34a9094f49 Don't unconditionally use alloca in gaih_inet 2011-05-20 23:46:03 -04:00
Reuben Thomas
78e64fdcaa Update documentation in regex.h 2011-05-20 09:14:03 -04:00
H.J. Lu
8db736347c Fix typo in x86-64 powl 2011-05-18 19:50:48 -04:00
Ulrich Drepper
ee30c380b8 Update GB18030 to 2005 version 2011-05-17 01:42:27 -04:00
Ulrich Drepper
ea389b12b3 Handle long variable names in putenv 2011-05-16 10:13:54 -04:00
Ulrich Drepper
68a3f91fca Fix reporting of invalid timeouts in emulated pselect 2011-05-16 09:35:51 -04:00
Ulrich Drepper
15cc7dd182 Fix test for error_one_per_line mode in error 2011-05-16 09:10:36 -04:00
Ulrich Drepper
f3799213a3 Remove shortcut for call of chown
The UID might differ, too.  Just call chown unconditionally.
2011-05-16 01:43:56 -04:00
Ulrich Drepper
d79a9c949c Cleanup x86-64 sys/user.h 2011-05-16 01:35:07 -04:00
Sašo Živanovic
5eb84b0e8e Add work and week day info to sl_SI locale 2011-05-16 01:24:50 -04:00
Ulrich Drepper
49de7a0060 Recode se_NO locale file to UTF-8 2011-05-16 01:07:09 -04:00
Ulrich Drepper
56e5eb4619 Avoid potential deadlock in mtrace
The _dl_addr function might have to call malloc which would lead
to a deadlock.  Avoid by calling _dl_addr early.
2011-05-16 00:58:33 -04:00
Ulrich Drepper
bd25564e1e Provide more helpful error message in getopt
If provide with an ambiguous long option we now show all the possibilities.
2011-05-15 13:35:09 -04:00
Ulrich Drepper
c84cfef4ec Update configure helper scripts 2011-05-15 12:17:01 -04:00
Ulrich Drepper
08ba84136f Move Dzonghka collation rules to common collation rules file 2011-05-15 11:36:07 -04:00
Johan Heikkila
793267574c Fix some fields in time info in sv_FI locale 2011-05-15 11:27:42 -04:00
Ulrich Drepper
3b85df2787 sysconf on Linux/ia64 reported outdate versions for some options
The code is also cleaned up to avoid inefficiencies.
2011-05-15 11:18:10 -04:00
Ulrich Drepper
15a856b109 Make stack canary value harder to read through read overflow 2011-05-15 10:59:07 -04:00
Ulrich Drepper
10a52685af Fix typo in last checkin
I referenced the attachment, not th eBZ number
2011-05-15 08:33:54 -04:00
Ulrich Drepper
94ecc67da8 Add entry for Sorani language 2011-05-15 08:32:57 -04:00
Ulrich Drepper
f8a3b5bf8f Use mmap for allocation of buffers used for __abort_msg 2011-05-15 00:34:48 -04:00
Ulrich Drepper
fc317541ab Last patch also fixes BZ 11952 2011-05-14 21:32:08 -04:00
Martin von Gagern
d26dfc60ed Fix handling of static TLS in dlopen'ed objects
When dynamically loading a library along with several dependencies, calls to
_dl_add_to_slotinfo and _dl_update_slotinfo can become intermixed. As a
consequence, _dl_update_slotinfo will update the generation counter of the dtv
although not all of the slots belonging to that generation have been added.
Subsequent calls to _dl_add_to_slotinfo will add more slots to the same
generation, for which no storage will be allocated, as the dtv generation
checks will claim no work is necessary. This will lead to uninitialized dtv
entries and will likely cause a SIGSEGV when thread local variables are
accessed.
2011-05-14 21:25:43 -04:00
KH Teo
a79a1c704b Fix time format in en_SG locale 2011-05-14 19:47:43 -04:00
Ulrich Drepper
2fc54d6f9f Fix initialization of optimization values for AIO 2011-05-14 19:30:37 -04:00
Ulrich Drepper
98d76b46d2 Fix handling of conversion problem in CP932 module 2011-05-14 11:37:36 -04:00
Ulrich Drepper
da3c19ef5a Fix potential problem with out-of-scope buffer 2011-05-14 11:13:31 -04:00
Ulrich Drepper
d6f67f7d83 Handle recursive calls in backtrace better 2011-05-14 10:46:17 -04:00
Ulrich Drepper
fcabc0f8b1 Fix file descriptor position after fclose
fclose should leave the file descriptor position after the last read
or written byte.
2011-05-13 21:08:45 -04:00
Piotr Bury
320a5dc07b Fix resizing able for unique symbols when adding symbol for copy relocation 2011-05-12 21:59:09 -04:00
Ulrich Drepper
f574184a0e Fix sched_setscheduler call in spawn implementation 2011-05-11 23:58:02 -04:00
Per Inge Mathisen
162ba701c2 Fix manual regarding switch from read to write on streams. 2011-05-11 23:43:26 -04:00
Ulrich Drepper
e1fb097f44 Report write error in addmnt even for cached streams. 2011-05-11 23:37:25 -04:00
Ulrich Drepper
5bdcc10322 Translate kernel error into what pthread_create should return 2011-05-11 18:23:24 -04:00
Ulrich Drepper
7b3b0b2a63 More configurability for secondary group lookup
Together with a previous patch which introduced the initgroups
entry in nsswitch.conf this patch allows more customization of
the lookups for initgroups/getgrouplist.  Nothing changes if
the groups entry in nsswitch.conf is used.  If the initgroups entry
is used instead the code now doesn't automatically continue looking
for more entries aftedr a successful lookup.  Instead the normal
rules are followed which do specify that by default no more
service is consulted.  This can be overwritten with
	[SUCCESS=continue]
appropriately placed in the line.
2011-05-10 00:36:29 -04:00
Ulrich Drepper
bc469bea5c Update NEWS. 2011-05-10 00:11:47 -04:00
Ulrich Drepper
24c55fb3b3 Just BZ annotations 2011-05-09 23:29:28 -04:00
Ulrich Drepper
5d493feb1a Handle localized y/n reply in sq_AL 2011-05-09 23:23:17 -04:00
Ulrich Drepper
be97a69ebe Add support for CP770, CP771, CP772, CP773, and CP774 2011-05-09 23:15:39 -04:00
Caolán McNamara
be9c5e8b20 sync glibc Latin American paper sizes with CLDR 1.8.1 2011-05-09 19:33:32 -04:00
Ulrich Drepper
dcf4f6efae Fix currency_symbol of es_NI locale 2011-05-09 19:25:20 -04:00
Ulrich Drepper
e371399f16 Change paper format for Nicaragua to letter 2011-05-09 19:18:50 -04:00
Alexey Balmashnov
f49839299a Month names in Russian Localization should be in lowercase 2011-05-09 19:12:15 -04:00
Ulrich Drepper
a7b80ed51d Add mhr_RU locale 2011-05-09 19:05:13 -04:00
Ulrich Drepper
6894bb76e7 Add lij_IT locale 2011-05-09 14:39:10 -04:00
Chunshek Chan
72d1dddb02 Add yue_HK locale 2011-05-09 14:13:15 -04:00
Kevin Bortis
bdc2f971ee Add wae_CH locale 2011-05-09 14:04:43 -04:00
Priit Laes
fd3bb3392b Estonia (et_EE) joins the eurozone 2011-05-09 13:50:03 -04:00
Ulrich Drepper
56a7f7dd43 Add lb_LU locale 2011-05-09 13:27:17 -04:00
Ulrich Drepper
2952b11705 Use appropriate type for return value checking 2011-05-09 13:15:01 -04:00
Ulrich Drepper
6a564b67fc Add sw_KE and sw_TZ locales 2011-05-09 13:08:17 -04:00
Ulrich Drepper
c05c983867 Add ff_SN locale 2011-05-09 12:33:45 -04:00
Ghorban M. Tavakoly
d8741b523e Update day/month names in tk_TM locale 2011-05-09 12:26:12 -04:00
Ulrich Drepper
5093422143 Add bem_ZM and en_ZM locales 2011-05-09 12:09:31 -04:00
Ulrich Drepper
64913e4216 Document new locale 2011-05-09 12:01:56 -04:00
Ulrich Drepper
9c1cc6f1fe Use rupee sign in Indian locales. 2011-05-09 11:59:34 -04:00
Ulrich Drepper
2a81eaa5a2 Transliterate U20B9. 2011-05-09 11:53:58 -04:00
Ulrich Drepper
445d72ca26 Add os_RU locale 2011-05-09 09:00:14 -04:00
Ulrich Drepper
7fb90fb89b Fix Linux getcwd for long paths
The getcwd syscall (so far?) can only handle path up to one page
in size.  There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this.  In that case fall
back to the generic getcwd.

Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
Ulrich Drepper
c1e9ea3517 Doc fixes. 2011-05-07 13:30:39 -04:00
Ulrich Drepper
f87dfb1f11 Backport BIND code to query name as TLD. 2011-05-07 13:05:19 -04:00
Ulrich Drepper
47c3cd7a74 Allow $ORIGIN to reference trusted directoreis in SUID binaries. 2011-05-07 11:44:26 -04:00
Ulrich Drepper
a044697649 Update. 2011-05-06 07:47:33 -04:00
Ulrich Drepper
018b9e368d Explain header situation after RPC removal in NEWS 2011-05-05 07:39:34 -04:00
Maciej Babinski
0b592a30f5 getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules 2011-05-02 21:11:17 -04:00
Ulrich Drepper
6e04cbbe79 Fix pathconf(_PC_BUF_SIZE). 2011-05-02 20:59:51 -04:00
Ulrich Drepper
6fdb1ce876 Update NEWS 2011-05-01 21:37:24 -04:00
Eric Blake
b722481ac2 Use al possible bytes from fopen mode string. 2011-04-22 23:40:57 -04:00
Mike Frysinger
4c559bcdf3 Fix static linking with checking x86/x86-64 memcpy. 2011-04-17 22:20:47 -04:00
Ulrich Drepper
75ea32abcd Fix FPU context handling in getcontext on x86-64.
fnstenv on x86-64 seems to clear the state.  Work around.
2011-04-17 21:51:26 -04:00
Ulrich Drepper
7b57bfe598 Obsolete RPC implementation in libc. 2011-04-16 21:59:36 -04:00
Ulrich Drepper
e6c6149412 Fix memory leak in TLS of loaded objects. 2011-04-10 22:43:01 -04:00
Ulrich Drepper
c6489db3bd Update NEWS. 2011-04-10 07:03:18 -04:00
Ulrich Drepper
38a7d692fc Fix typo in comment. 2011-04-09 11:01:37 -04:00
H.J. Lu
0354e35501 Work around old buggy program which cannot cope with memcpy semantics. 2011-04-01 19:38:21 -04:00
Ulrich Drepper
8593482f5e Fix visibility of declarations of wcpcpy and wcpncpy. 2011-04-01 18:36:07 -04:00
Andreas Schwab
00e5419f8e Rename open_by_handle to open_by_handle_at. 2011-04-01 13:05:15 -04:00
Ulrich Drepper
158648c0bd Add support for name_to_handle_at and open_by_handle. 2011-04-01 10:33:37 -04:00
Ulrich Drepper
83fe108b0a Add clock_adjtime syscall. 2011-03-30 22:00:57 -04:00
H.J. Lu
c97a1282a4 Handle page boundaries in x86 SSE4.2 strncmp. 2011-03-21 05:35:38 -04:00
Ulrich Drepper
2a11560107 Implement x86 cpuid handling of leaf4 for cache information. 2011-03-20 08:14:30 -04:00
Ulrich Drepper
042c49c681 Add BZ info. 2011-03-18 05:30:17 -04:00
Ulrich Drepper
028478fa40 Fix copy relocations handling of unique objects. 2011-03-10 12:51:33 -05:00
Andreas Schwab
4bff6e0175 Fix memory leak in dlopen with RTLD_NOLOAD. 2011-02-25 20:49:48 -05:00
Ulrich Drepper
661b9e2014 Update BZ list 2011-02-25 16:52:43 -05:00
Ulrich Drepper
071f805ea3 Update with BZ number. 2011-02-20 08:00:55 -05:00
Andreas Schwab
e23fe25b33 Move setting variable in relro data earlier in ld.so. 2011-02-20 07:24:56 -05:00
Ulrich Drepper
d4720230b5 Update bug list. 2011-02-17 00:59:58 -05:00
Ulrich Drepper
dded88cd54 Fix typo in NEWS 2011-02-02 19:35:25 -05:00
Ulrich Drepper
0c156ec9d0 Update bz list 2011-02-02 19:29:23 -05:00
Ulrich Drepper
9f94d2ea71 Patch followup. 2011-01-19 16:00:11 -05:00
Ulrich Drepper
bc425b339b Signal temporary host lookup errors in nscd as such to the requester. 2011-01-15 11:10:11 -05:00
Ulrich Drepper
70181fddf1 Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
Ulrich Drepper
794c3ad3a4 FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
Ulrich Drepper
1086d70d91 Fix handling of missing syscall in Linux mkdirat. 2011-01-13 12:42:06 -05:00
Ulrich Drepper
451f001b50 Handle long lines in host lookups in the right place. 2011-01-13 11:28:17 -05:00
Ulrich Drepper
f57e41a5b8 Fix grouping when rounding increases number of integer digits. 2011-01-12 20:37:51 -05:00
David S. Miller
16c2895fea sparc64: Use i386 implementation for fxstat.
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
2011-01-04 12:22:41 -08:00
Jim Meyering
2543fef229 Fix infloop on persistent failing calloc in regex. 2010-12-27 18:19:56 -05:00
Ulrich Drepper
db014c1269 Update BZs. 2010-12-26 13:54:08 -05:00
H.J. Lu
8ca52c6e3b Fix one exit path in x86-64 SSE4.2 str{,n}casecmp. 2010-11-10 03:05:37 -05:00
Ulrich Drepper
69da074d7a Fix warnings in __bswap_16. 2010-11-10 02:38:35 -05:00
Ulrich Drepper
c0dde15b5d 32bit memset-sse2.S fails with uneven cache size
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-05 07:57:46 -04:00
Miklos Szeredi
0e516e0e14 Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
Richard Li
dbf3a06904 Fix x86-64 strchr propagation of search byte into all bytes of SSE register 2010-10-25 14:13:17 -04:00
Ulrich Drepper
fdc0f374bc Fix perturbing in malloc on free. 2010-10-24 22:37:00 -04:00
H.J. Lu
f90681487d Fix alignment of AVX safe area on x86-64. 2010-10-13 22:12:03 -04:00
Ulrich Drepper
a129c80d54 Fix memory leak for some invalid regular expressions. 2010-10-11 11:46:22 -04:00
Ulrich Drepper
b76b818e6f psiginfo relied too much on sys_siglist. 2010-10-11 10:58:31 -04:00
Ulrich Drepper
1751705d1c Linux getifaddrs might return entries with ->ifa_addr being NULL. 2010-10-11 09:38:00 -04:00
Jakub Jelinek
9ff8d36f27 Correct implementation of fmaf. 2010-10-11 09:27:05 -04:00
Ulrich Drepper
c579b20299 Fix BZ reference in last checkin. 2010-10-11 09:19:36 -04:00
Ulrich Drepper
af3259695d Unify psiginfo output. 2010-10-11 09:10:41 -04:00
Ulrich Drepper
1c37565291 More NEWS changes. 2010-10-03 22:53:24 -04:00
Ulrich Drepper
f61a7c96b0 Update NEWS. 2010-10-03 22:51:30 -04:00
Andreas Schwab
a726d7960e Fix array overflow in floating point parser 2010-09-01 12:38:44 -07:00
Ulrich Drepper
224c3568f6 NEWS udpate. 2010-08-25 07:47:17 -07:00
Ulrich Drepper
e9f82e0d1d Add optimized strncasecmp versions for x86-64. 2010-08-14 22:04:01 -07:00
Andreas Schwab
026373745e Properly quote output of locale 2010-08-12 09:05:50 -07:00