Roland McGrath
62bede1313
Distinguish configure check for .ctors/.dtors header/trailers.
2011-06-27 20:39:05 -07:00
Roland McGrath
78a7eee7fa
Fix missing .ctors/.dtors lead word in soinit
2011-06-27 20:26:54 -07:00
Ulrich Drepper
034807a9cb
Fix handling of RES_USE_INET6 big in nscd
...
This fixes BZ #12350 also for nscd.
2011-06-27 13:10:44 -04:00
Ulrich Drepper
4902da17c8
Add missing HAVE_SENDFILE definition
2011-06-27 12:29:04 -04:00
Ulrich Drepper
5ce33a6295
Minimal cleanup in innetgr.
2011-06-27 10:57:37 -04:00
H.J. Lu
c2344f56e4
Use __gettimeofday instead of gettimeofday
2011-06-26 03:08:01 -04:00
Ulrich Drepper
68468076c2
We don't use linkobj/libc.so at runtmie, no need to check for text rels
...
This also works around a toolchain issu.
2011-06-26 03:04:07 -04:00
H.J. Lu
acb0d739c5
Fix unwind info in 32bit SSE2/SSSE3 strncpy
2011-06-25 01:32:27 -04:00
H.J. Lu
8912479f9e
Improved st{r,p}{,n}cpy for SSE2 and SSSE3 on x86-64
2011-06-24 15:14:22 -04:00
Ulrich Drepper
d5495a116c
Work around limit in writev in 2.6.38+ kernels
2011-06-24 14:59:17 -04:00
H.J. Lu
0b1cbaaef5
Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32
2011-06-24 14:15:32 -04:00
Marek Polacek
07f494a027
nss_db: Quash read implicit declaration warning
...
In the function `internal_setent' is used the function read, but the forward
declaration is missing. Thusly fixed.
2011-06-24 02:57:27 -04:00
Ulrich Drepper
fa3fc0fe5f
Avoid __check_pf calls in getaddrinfo unless really needed
2011-06-22 15:00:54 -04:00
Andreas Schwab
e12df166d3
Fix Ipv4&IPv6 lookup in getaddrinfo
...
Problem introduced in the last patch.
2011-06-22 14:35:49 -04:00
Ulrich Drepper
84e2a551a7
Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation
2011-06-22 10:32:07 -04:00
Ulrich Drepper
852eb34d5c
Rate limit expensive _SC_NPROCESSORS_ONLN computation
2011-06-22 09:50:39 -04:00
Ulrich Drepper
6e502e1945
Clean up after kernel sigcontext header mess
2011-06-22 08:32:55 -04:00
Ulrich Drepper
51f9aa6a1e
Fix crash in unsuccessful uses of nss_db
2011-06-21 17:09:44 -04:00
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
c5e3c2ae59
Minor optimization of getaddrinfo after recent patch
2011-06-21 13:06:42 -04:00
Ulrich Drepper
75d39ff212
Add missing DL_CALL_FCT
2011-06-21 11:23:25 -04:00
David S. Miller
42675c6ff0
Add an elf_ifunc_invoke interface so that architectures can implement
...
the ifunc resolver calls however they wish.
2011-06-20 19:56:40 -07:00
Ulrich Drepper
57912a71cc
Fix typo in recent resolver change which causes segvs
2011-06-15 22:43:58 -04:00
Andreas Schwab
ee22793dd0
Improve 64-bit build
...
An imperfect version of fxstatat64 was used in ld.so.
2011-06-15 21:46:20 -04:00
Ulrich Drepper
77fb911743
Install db-Makefile
2011-06-15 21:26:56 -04:00
Ulrich Drepper
40c1b22cd7
Cleanup of db-XXX.c
2011-06-15 21:06:19 -04:00
Ulrich Drepper
9f2da732e7
Add initgroups lookups to nss_db
2011-06-15 21:06:19 -04:00
Ulrich Drepper
82e9a1f7df
Add initgroups lookup support to getent
2011-06-15 21:06:19 -04:00
Ulrich Drepper
c41af17eed
Fix handling of initgroups database.
2011-06-15 21:06:19 -04:00
Ulrich Drepper
a9e836b040
Optimize hash table generation in makedb
2011-06-15 21:06:19 -04:00
Ulrich Drepper
2666d441c2
Reenable nss_db with a completely new implementation
...
No longer is Berkeley db used. Instead a simple hash function is used.
The database files are not updated once they are created and therefore
no complicated database is needed.
2011-06-15 21:06:18 -04:00
Ulrich Drepper
9ee76b5ae8
Rewrite makedb to avoid using db library
2011-06-15 21:06:18 -04:00
Andreas Jaeger
c71ca1f89c
Quash two memset undeclared warnings.
2011-06-14 13:11:39 -07:00
Ulrich Drepper
3154bfb8c7
Fix memory leak in getaddrinfo
2011-06-13 08:31:50 -04:00
Roland McGrath
decd4e50b6
Better detect total failure of linker script generation.
2011-06-10 23:37:35 -07:00
Roland McGrath
5615eaf264
Quash some new warnings from GCC 4.6.
2011-06-10 22:44:20 -07:00
Roland McGrath
b68e08db76
Use AC_LANG_PROGRAM in nss-crypt check.
2011-06-10 11:09:12 -07:00
Roland McGrath
b350afabd9
Revert -r -> -Wl,-r change.
2011-06-10 10:34:45 -07:00
Roland McGrath
28368601e3
Use -Wl,-r instead of plain -r.
2011-06-09 17:07:50 -07:00
Ulrich Drepper
11988f8f96
Add pldd program
2011-06-09 07:06:21 -04:00
Ulrich Drepper
8621fc3b99
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-06-09 07:03:25 -04:00
David S. Miller
9b849836f5
sparc: Fix LD_BIND_NOW with multiarch.
2011-06-07 19:51:06 -07:00
Ulrich Drepper
e80fab373c
Start 2.15 development
2011-06-07 22:22:10 -04:00
Andreas Krebbel
5a31b2836d
S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
2011-06-07 07:26:27 -04:00
Roland McGrath
069e52f836
Use canonical FSF .texi files for LGPL and FDL texts.
2011-06-06 16:16:55 -07:00
Jakub Jelinek
f16846a5f2
Fix <bits/mqueue2.h> for C++
2011-06-04 14:21:45 -04:00
Ulrich Drepper
06c07b8b9f
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-06-03 07:02:32 -04:00
H.J. Lu
3d29045b5e
Assume Intel Core i3/i5/i7 processor if AVX is available
2011-06-03 07:01:25 -04:00
Ulrich Drepper
8c29731192
Fix typo in stack guard setup code for old kernels
2011-05-31 14:23:01 -04:00
Ulrich Drepper
c8fc0c9169
Don't free non-malloced memory and fix memory leak
2011-05-31 08:45:44 -04:00
Ulrich Drepper
356f8bc660
2.14 release
2011-05-31 00:12:33 -04:00
Ulrich Drepper
5b27a807d5
No need for RANLIB make variable anymore
2011-05-31 00:09:58 -04:00
Ulrich Drepper
41fce8bd09
Also translation messages in .ksh files
2011-05-31 00:09:03 -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
6b1e7d1992
Handle DSOs without any dependency in ld.so
2011-05-30 12:31:25 -04:00
Ulrich Drepper
4997db7429
One more thinko in CL
2011-05-30 11:57:50 -04:00
Ulrich Drepper
18a84741d8
Fix typo in CL
2011-05-30 11:14:06 -04:00
Ulrich Drepper
01f16ab0a5
Prevent loader from loading itself
2011-05-30 01:55:40 -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
652ffab113
Make resolv.conf parsing more compact
2011-05-29 22:07:49 -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
13f1ab36a4
Fix typo in last patch to locarchive.c
2011-05-29 20:26:04 -04:00
Ulrich Drepper
80e2212d8e
Same change for the other siginfi.h files
2011-05-29 20:12:15 -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
4f031072a5
Handle failure of _nl_explode_name in all cases
2011-05-28 16:59:30 -04:00
Ulrich Drepper
d0478f0c81
Fix build for platforms with socketcall syscall
2011-05-28 13:18:57 -04:00
Ulrich Drepper
de81b24662
Unify messages
...
Some shell scripts unnecessarily used different formats for some
messages. Unify them to reduce the work of translators.
2011-05-28 09:49:05 -04:00
Ulrich Drepper
c738465a4c
Add support for time syscall in vDSO
2011-05-28 01:53:26 -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
Ulrich Drepper
e57420c6c6
Add test for last iconv bug
2011-05-27 08:35:44 -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
Jakub Jelinek
ea486f691d
Undo accidental change in x86-64 user.h
2011-05-25 16:57:13 -04:00
Ulrich Drepper
6f03843395
Update Japanese translation
2011-05-25 15:14:21 -04:00
Ulrich Drepper
67f86a251e
Define RLIMIT_RTTIME
2011-05-23 15:53:37 -04:00
Andreas Schwab
def7fbd6c6
Update longlong.h from GCC
2011-05-23 11:53:24 -04:00
Andreas Schwab
f50ef8f1ef
Fix sysconf compilation for !HP_TIMING_AVAIL archs
2011-05-23 11:51:12 -04:00
Ulrich Drepper
f2962a7195
Add a few more alloca size checks
2011-05-22 23:04:16 -04:00
Ulrich Drepper
de7ce8f171
Fix flags parameter value passed to pltenter and pltexit
2011-05-22 21:30:31 -04:00
Ulrich Drepper
05bb4a68ad
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
2011-05-21 17:20:41 -04:00
Ulrich Drepper
7ea72f9996
Always fill output buffer in XPG strerror function
2011-05-21 12:11:36 -04:00
Ulrich Drepper
7e4afad5bc
Nicer output for negative error numbers in strerror_r
2011-05-21 12:09:23 -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
f7d82dc9e0
Fix configure visibility tests
2011-05-21 08:00:14 -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
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
Ulrich Drepper
32465c3ea0
Define MADV_HUGEPAGE.
2011-01-17 18:24:59 -05:00
Ulrich Drepper
c0dafcf176
Update copyright year.
2011-01-17 15:08:10 -05:00
Ulrich Drepper
a77e8cbc39
Add definitions for new socket protocols.
2011-01-17 14:21:02 -05:00
Andreas Schwab
1f20b93a6c
Fix missing dependencies and ensure correct CPPFLAGS.
2011-01-16 21:32:07 -05:00
Andreas Schwab
77e8bddff3
Don't override --enable-multi-arch.
2011-01-16 21:29:41 -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
Andreas Schwab
68dc949774
Fix check-execstack test
2011-01-13 16:21:55 -05:00
Ulrich Drepper
8cf8ce1702
Clean up PLT use for getrlimit64.
2011-01-13 16:21:04 -05:00
Ulrich Drepper
a85b5cb4d4
Fix PLT use due to __libc_alloca_cutoff.
2011-01-13 14:01:56 -05:00
Ulrich Drepper
cfa28e560e
Relax requirement on close in child created by posix_spawn.
2011-01-13 13:27:46 -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
0876917582
Fix assertion when handling DSTs during auditing.
2011-01-12 23:10:00 -05:00
Ulrich Drepper
5e49c52efd
Fix alignment in x86 destructor calls.
2011-01-12 20:59:32 -05:00
Ulrich Drepper
60522a5f47
Add missing CL entry.
2011-01-12 20:58:21 -05:00
Ulrich Drepper
f257bbd77d
Clean up some bits/select.h headers.
2011-01-09 16:49:17 -05:00
Ulrich Drepper
fa9c15cb83
Update Japanese translations.
2011-01-08 09:38:14 -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
5bd6dc5c2c
Use prlimit64 for 32-bit [gs]etrlimit64 implementation.
2010-12-25 20:12:27 -05:00
Ulrich Drepper
9798346413
Use fastbin macro everywhere.
2010-12-25 14:15:42 -05:00
Ulrich Drepper
98727dbea2
Change XPG-compliant strerror_r function to return error code.
2010-12-25 13:56:48 -05:00
H.J. Lu
4a531bb0b3
Remove .ctors' and
.dtors' output sections
2010-12-24 20:14:37 -05:00
Ulrich Drepper
07eb4b716e
Always allow overwriting printf modifiers etc.
2010-12-24 19:28:32 -05:00
Ulrich Drepper
14b697f75a
Fix ChangeLogs.
2010-12-19 22:52:57 -05:00
Ryan S. Arnold
30950a5fd2
Make PowerPC64 default to nonexecutable stack
2010-12-19 22:49:01 -05:00
Ulrich Drepper
db753e2cfb
More accurate computatin of reclen in readdir_r.
...
Alignment issue can increase the reclen limit.
Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment
in getdents.
2010-12-19 16:00:59 -05:00
Ulrich Drepper
283007197c
Undo accidental checkin.
2010-12-14 13:09:28 -05:00
Andreas Schwab
dbb0472f05
Declare wcpcpy and wcpncpy only under _GNU_SOURCE
2010-12-10 09:16:12 -05:00
Andreas Schwab
4f1972374a
Fix use of restrict in wchar.h
2010-12-10 09:15:01 -05:00
Ulrich Drepper
fb88ac72c2
Fix race in qsort_r initialization.
2010-12-09 12:12:58 -05:00
Jakub Jelinek
42acbb92c8
Fix -D_FORTIFY_SOURCE memmove and bcop
2010-12-09 10:38:18 -05:00
Ulrich Drepper
a5b913e299
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2010-12-03 09:50:35 -05:00
Ulrich Drepper
c038d98d63
Update Italian translation.
2010-12-03 09:49:21 -05:00
H.J. Lu
3a4a2499ec
Remove dead code from x86-32 SSSE3 strncmp.
2010-12-01 22:18:31 -05:00
Ulrich Drepper
1e24cf6e6e
Relax libm tests for x86-32.
2010-11-30 14:57:57 -05:00
Andreas Schwab
a769081960
Don't ignore zero TTL in DNS answers
2010-11-25 20:50:16 -05:00
Jakub Jelinek
3bf8d1b10c
ldbl-128 fmal compile fix
2010-11-22 15:38:35 -05:00
Petr Baudis
6db52fbb27
Allow aux_cache_file open()ing to fail silently even in the chroot mode.
...
The aux_cache fix of bug 11149 introduced a new bug - normally,
ldconfig -r never cares if the auxiliary cache is not available and
that is not a fatal problem, however this is not the case in case
of ldconfig -r when executed as non-root. In that case, ldconfig -r
fails hard unless var/cache/ldconfig/ exists within the chroot. This
patch fixes that.
Conflicts:
ChangeLog
2010-11-22 12:47:57 -05:00
Ulrich Drepper
eaca75697f
Optimize last initgroups patch a bit.
2010-11-22 11:15:08 -05:00
Ulrich Drepper
3056dcdb78
Fix multiple nss_compat initgroups() bugs
...
Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.
This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.
Conflicts:
ChangeLog
2010-11-22 11:11:24 -05:00
Ulrich Drepper
cf7c9078a5
Define MAP_HUGETLB.
2010-11-19 09:35:39 -05:00
Ulrich Drepper
a1fb5e3ebe
Define SWAP_FLAG_DISCARD.
2010-11-16 12:17:04 -05:00
Andreas Schwab
3540d66b66
Fix memory leak in fnmatch
2010-11-12 03:51:28 -05:00
H.J. Lu
13b695749a
Support Intel processor model 6 and model 0x2.
2010-11-12 03:48:52 -05:00
Luis Machado
da93d21475
Fix comparison in sqrtl for IBM long double 128.
2010-11-10 16:15:05 -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
H.J. Lu
ff02d5280b
Use IFUNC on x86-64 memset
2010-11-08 03:41:34 -05:00
Luis Machado
344d0b545d
power7-optimized mempcpy
2010-11-05 08:01:13 -04: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