Reuben Thomas
78e64fdcaa
Update documentation in regex.h
2011-05-20 09:14:03 -04:00
Ryan S. Arnold
457bddfc2a
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
...
(cherry picked from commit 4749a0058b
)
Conflicts:
ChangeLog
2011-05-20 06:34:48 -04:00
Andreas Schwab
a4527b51d4
Remove __libc_alloca_cutoff workaround
2011-05-19 21:15:22 -04:00
Ulrich Drepper
ed690b2f24
Cleanup namespace use.
2011-05-19 21:09:29 -04:00
H.J. Lu
8db736347c
Fix typo in x86-64 powl
2011-05-18 19:50:48 -04:00
H.J. Lu
0a197a9dfe
Fix fileops.c build for old kernels
2011-05-17 01:45:49 -04:00
Ulrich Drepper
ee30c380b8
Update GB18030 to 2005 version
2011-05-17 01:42:27 -04:00
Aharon Robbins
a4b89fd846
Update RE_SYNTAX*_AWK constants in regex.h
2011-05-16 10:28:44 -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
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
6ce7537960
Remove USE_MTRACE_FILE support from mtrace
2011-05-16 00:22:16 -04:00
Ulrich Drepper
94b7cc3711
Fix a few problems in fopen and freopen
...
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does
not support an aotmic operation.
freopen should reuse the file descriptor for the stream. This is
especially important for calls to change the standard streams (stin,
stdout, stderr).
2011-05-15 15:28:46 -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
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
05f399e634
Use non-cancelable interfaces in setup code
2011-05-15 09:40:30 -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
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
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
ca408c157c
Initialize variable in _IO_new_file_close_it
...
The last change left a variable in some situations uninitialized.
2011-05-14 10:59:54 -04:00
Ulrich Drepper
d6f67f7d83
Handle recursive calls in backtrace better
2011-05-14 10:46:17 -04:00
Ulrich Drepper
0656e90edc
Optimize conversion of single character in gconv
2011-05-14 01:03:08 -04:00
Ulrich Drepper
1af4e29837
Fix handling of incomplete character storage in state
...
If iconv is called more than once in a row for adding bytes to the sequence
while still remain under the minimum size of a character and if STORE_REST
is defined, we didn't consume any input. Fix that.
2011-05-14 00:53:21 -04:00
Andreas Schwab
da62f81bdd
Add support for generated PIE link rules
2011-05-13 23:31:43 -04:00
Ulrich Drepper
20030ae6d7
Fix error messages in test.
2011-05-13 21:10:29 -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
Ulrich Drepper
e1fb097f44
Report write error in addmnt even for cached streams.
2011-05-11 23:37:25 -04:00
Ulrich Drepper
eac80ce2fa
Fix typo.
2011-05-11 12:02:24 -04:00
Ulrich Drepper
22836f52e3
Fix up testing for valid $ORIGIN use
2011-05-11 00:15:38 -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
24c55fb3b3
Just BZ annotations
2011-05-09 23:29:28 -04:00
Ulrich Drepper
be97a69ebe
Add support for CP770, CP771, CP772, CP773, and CP774
2011-05-09 23:15:39 -04:00
Ulrich Drepper
c1e9e399b3
Add ary language entry.
2011-05-09 18:49:24 -04:00
Ulrich Drepper
96b4b1b04e
Support Colon Sign
...
Used in the Costa Rican locale and now also in the El Salvadorian
locale.
2011-05-09 18:37:52 -04:00
Kevin Bortis
bdc2f971ee
Add wae_CH locale
2011-05-09 14:04:43 -04:00
Ulrich Drepper
2952b11705
Use appropriate type for return value checking
2011-05-09 13:15:01 -04:00
Ulrich Drepper
2a81eaa5a2
Transliterate U20B9.
2011-05-09 11:53:58 -04:00
Ulrich Drepper
6fb2dde3f1
Make complete getcwd work in rtld
2011-05-08 14:53:20 -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
28377d1bf5
Optimize fdopendir a bit.
...
Don't call fcntl(F_SETFD) unnecessarily.
2011-05-08 00:48:30 -04:00
Alan Modra
66bdbaa452
static tls memory leak on TLS_DTV_AT_TP archs
2011-05-07 21:27:51 -04:00
Ulrich Drepper
c1e9ea3517
Doc fixes.
2011-05-07 13:30:39 -04:00
Jonathan Nieder
9572119174
Actually undefine ARG_MAX from <linux/limits.h>
2011-05-07 13:20:33 -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
Paul Pluzhnikov
8a35c9120f
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
2011-05-07 09:03:36 -04:00
Ulrich Drepper
acd41f47ea
Report if no record is found by initgroups in nss_files.
2011-05-06 12:54:12 -04:00
Andreas Schwab
597df64714
Install rpc/netdb.h again
2011-05-06 07:46:42 -04:00
Paul Pluzhnikov
b9af13014f
Use --{start,end}-group to handle circular dependency between libgcc.a and libc.a.
2011-05-05 15:37:07 -07:00
Andreas Schwab
4e34d5f589
Don't use removed rpc headers
2011-05-05 07:36:40 -04:00
Andreas Schwab
00ee369c1c
ldconfig: don't crash on empty path in config file
2011-05-03 13:44:25 -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
Bruno Haible
e4ecafe004
Fix getnameinfo flags parameter type.
2011-05-01 21:36:43 -04:00
Ulrich Drepper
125ee683b3
Add finer grained control for initgroups lookups to NSS.
2011-04-29 11:16:30 -04:00
Eric Blake
b722481ac2
Use al possible bytes from fopen mode string.
2011-04-22 23:40:57 -04:00
H.J. Lu
4df46dbda7
Fix "make xcheck" in sunrpc.
2011-04-22 23:31:52 -04:00
Ulrich Drepper
e84142d2a9
Fix reallocation bug in last nss_files change.
2011-04-21 12:07:52 -04:00
Ulrich Drepper
877175d8ea
Fix build problem in sunrpc.
2011-04-20 14:02:41 -04:00
Ulrich Drepper
ab8eed78a6
Define initgroups callback for nss_files.
2011-04-19 13:43:03 -04:00
Richard Sandiford
e3d8f58414
elf.h: Define R_ARM_IRELATIVE reloc type.
2011-04-19 09:38:42 -07:00
Ulrich Drepper
af190f4565
Update Russian translation.
2011-04-19 07:27:42 -04:00
Ulrich Drepper
53cf59efd8
Add before-compile to dependencies for librpc_compat_pic objects.
2011-04-17 22:52:11 -04:00
Mike Frysinger
4c559bcdf3
Fix static linking with checking x86/x86-64 memcpy.
2011-04-17 22:20:47 -04:00
Andreas Schwab
4420675c9d
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
2011-04-17 22:03:53 -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
Andreas Krebbel
2739047682
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
2011-04-17 20:43:59 -04:00
Andreas Krebbel
1044270502
Skip extra zeroes when searching auxv on s390
2011-04-17 20:41:45 -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
Andreas Schwab
34fe483e12
Don't leave empty element in rpath when skipping an element
2011-04-09 14:55:26 -04:00
Andreas Schwab
f12a32e6f0
Make ppc sync_file_range cancelable.
2011-04-09 11:07:18 -04:00
Ulrich Drepper
38a7d692fc
Fix typo in comment.
2011-04-09 11:01:37 -04:00
Andreas Schwab
e451d22b22
Maintain stack alignment in ____longjmp_chk on x86_64
2011-04-07 16:23:52 -04:00
Andreas Schwab
821ae7137b
Revert "Fix strncmp page test to limit length to size of object"
...
This reverts commit e513f34605
.
2011-04-07 08:21:00 +02:00
Andreas Schwab
e513f34605
Fix strncmp page test to limit length to size of object
2011-04-05 13:45:23 +02:00
Ulrich Drepper
8cb700c0f3
Fix typo in CL.
2011-04-05 06:44:05 -04:00
Ulrich Drepper
dedc7c7b05
Fix typo in cache information table for x86-{32,64}.
2011-04-03 09:32:31 -04:00
Ulrich Drepper
955ce8cf2d
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-04-02 15:28:16 -04:00
Ulrich Drepper
94521213b6
Define CLOCK_BOOTTIME.
2011-04-02 15:27:07 -04:00
Ulrich Drepper
81489b2ec3
Update comment about feature macros.
2011-04-02 08:25:30 -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
81a5726bd2
Add syncfs syscall.
2011-04-01 13:08:28 -04:00
Andreas Schwab
00e5419f8e
Rename open_by_handle to open_by_handle_at.
2011-04-01 13:05:15 -04:00
Ulrich Drepper
658e451d8b
Define O_PATH.
2011-04-01 11:46:10 -04:00
Ulrich Drepper
3167dad07c
Also make x86 sync_file_range a cancellation point.
2011-04-01 11:33:14 -04:00
Ulrich Drepper
748876bf1c
Really implement fallocate{,64} and sync_file_range as cancellation points.
2011-04-01 11:15:08 -04:00
Andreas Schwab
6e63d5e1ae
Install bits/timex.h header.
2011-04-01 10:40:53 -04:00
Ulrich Drepper
4c1423edfb
Fix typos in comments.
2011-04-01 10:39:30 -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
46998f7457
Define AT_EMPTY_PATH.
2011-04-01 08:22:49 -04:00
Ulrich Drepper
034c4e1503
Export new symbol.
2011-03-31 06:30:18 -04:00
Ulrich Drepper
83fe108b0a
Add clock_adjtime syscall.
2011-03-30 22:00:57 -04:00
Ulrich Drepper
bb2420590c
Last change caused infinite loops because of missing loop increment.
2011-03-22 01:52:43 -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
8126d90480
Check size of pattern in wide character representation in fnmatch.
2011-03-18 05:29:20 -04:00
Ryan S. Arnold
ccfe366e6f
PowerPC: Fix POWER6 s_isnanf.S: END(__isnan) to END(__isnanf)
2011-03-18 05:15:00 -04:00
Jakub Jelinek
c6e13027ab
Remove __restrict quals from wmemcmp prototype.
2011-03-10 13:04:08 -05:00
Ulrich Drepper
f6ce0f974b
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-03-10 12:53:39 -05:00
Ulrich Drepper
028478fa40
Fix copy relocations handling of unique objects.
2011-03-10 12:51:33 -05:00
Mike Frysinger
03592fc7ea
sparc64: Relax tls linking test.
2011-03-10 00:38:59 -08:00
Ulrich Drepper
33f85a3fb9
Don't run tests checking xecutable stack when SELinux is enforcing.
2011-03-10 03:18:21 -05:00
Ulrich Drepper
6a5ee1029b
Fix loading first object along a path when tracing.
2011-03-06 00:01:50 -05:00
Harsha Jagasia
7e4ba49cd3
Enable SSE2 memset for AMD'supcoming Orochi processor.
...
This patch enables SSE2 memset for AMD's upcoming Orochi processor.
This patch also fixes the following bug:
For misaligned blocks larger than > 144 Bytes, memset branches into
the integer code path depending on the value of misalignment even if
the startup code chooses the SSE2 code path upfront, when multiarch
is enabled.
2011-03-04 23:30:08 -05:00
Ulrich Drepper
13a804de8f
Optimize fmemopen a bit.
2011-03-04 00:49:46 -05:00
Andreas Schwab
9d25c392ba
Don't read past end of buffer in fmemopen
2011-03-04 00:48:00 -05:00
Roland McGrath
a5543c6ad8
setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2011-03-03 18:10:40 -08:00
David S. Miller
012d35f761
Fix sparc64 bzero on non-Niagara systems.
2011-03-03 13:25:36 -08:00
Andreas Schwab
4bff6e0175
Fix memory leak in dlopen with RTLD_NOLOAD.
2011-02-25 20:49:48 -05:00
Andreas Schwab
f2092faf2b
Don't crash when dependencies are missing
2011-02-25 16:51:24 -05:00
Samuel Thibault
6c8a2e88d1
Fix __if_freereq crash: Unlike the generic version which uses free, Hurd needs munmap.
2011-02-21 16:53:10 -08:00
Ulrich Drepper
071f805ea3
Update with BZ number.
2011-02-20 08:00:55 -05:00
Petr Baudis
84a4211850
Fix allocation when handling positional parameters in printf.
2011-02-20 07:59:49 -05:00
Andreas Schwab
e23fe25b33
Move setting variable in relro data earlier in ld.so.
2011-02-20 07:24:56 -05:00
Nathan Sidwell
d3f02e1012
elf/elf.h: Add new ARM TLS relocs.
2011-02-18 11:09:18 -08:00
Ulrich Drepper
be6bd0b7ab
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-02-17 01:22:52 -05:00
Ryan S. Arnold
d55fd7a557
Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int.
2011-02-17 01:21:08 -05:00
Ryan S. Arnold
2206397e1c
Disable VSX usage in rtld.c to prevent TOC ref before relocs are resolved.
2011-02-17 00:59:15 -05:00
Samuel Thibault
8e31c82dbd
Add multiple inclusion protection to some Mach/i386 internal headers.
2011-02-16 15:16:33 -08:00
Samuel Thibault
f75286c696
Conditionalize use of SIGRTMIN in psiginfo.
2011-02-16 14:41:58 -08:00
Ulrich Drepper
e943389325
Remove use of ranlib.
2011-02-15 14:52:29 -05:00
Jakub Jelinek
c1d0e639a9
Fix two printf handler issues.
2011-02-15 13:51:48 -05:00
Andreas Schwab
edf9294e7a
Update sysdeps/unix/sysv/linux/sparc/bits/socket.h
2011-02-07 22:48:55 -05:00
Samuel Thibault
2b7e92df93
Synchronize generic bits/sched.h cpu_set_t with Linux implementation.
2011-02-07 10:53:37 -08:00
Ulrich Drepper
a4c7ea7bb8
Schedule nscd cache pruning more accurately fromr re-added values.
2011-02-05 20:07:27 -05:00
Roland McGrath
a0bf67cca2
Fix some warning nits.
2011-02-04 10:53:51 -08:00
H.J. Lu
435b95ebd0
AVX audit test failures with gcc 4.6
2011-02-02 19:28:44 -05:00
Ulrich Drepper
8517b15ee8
Fix passing symbol value to pltexit callbacks when ld.so auditing.
2011-02-02 11:50:49 -05:00
Andreas Schwab
10a656fe33
Fix range error handling in sgetspent.
2011-02-02 08:59:04 -05:00
Ulrich Drepper
9f94d2ea71
Patch followup.
2011-01-19 16:00:11 -05:00
Ulrich Drepper
968dad0ab1
Fix ordering of DSO constructors and destructors.
2011-01-19 16:00:11 -05:00
Ulrich Drepper
86e9235918
Fix decoding of canonical name in getaddrinfo.
2011-01-19 15:50:05 -05:00
Ulrich Drepper
5d5732b0dc
Run IFUNC tests unless no support build in at all.
2011-01-18 12:30:07 -05:00
Ulrich Drepper
6392473fe9
2.13 release
2011-01-17 23:34:07 -05:00
Ulrich Drepper
620a05296f
Define AT_NO_AUTOMOUNT.
2011-01-17 18:36:39 -05:00
Ulrich Drepper
18ba70a559
Define MADV_NOHUGEPAGE.
2011-01-17 18:35:17 -05:00