Commit Graph

376 Commits

Author SHA1 Message Date
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