Commit Graph

12611 Commits

Author SHA1 Message Date
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
Erich Ritz
0e012e8734 Fix typo in comment. 2010-11-01 14:50:24 -04:00
Ulrich Drepper
de0ff7bcf6 Update Danish translations. 2010-11-01 14:27:55 -04:00
Ulrich Drepper
fa41c84d73 Fix assertion in ld.so, introduced by delayed adding to global list. 2010-10-26 13:01:46 -04:00
Andreas Krebbel
f09677388a Fix concurrency problem between dl_open and dl_iterate_phdr 2010-10-26 00:23:14 -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
Michael B. Brutman
d0b9e94faf powerpc: PPCA2/A2 optimized memcpy function 2010-10-24 21:47:33 -04:00
Andreas Schwab
8e9f92e9d5 Require suid bit on audit objects in privileged programs 2010-10-24 21:43:15 -04:00
Andreas Schwab
bc96fbda27 Work around shortest-stem feature in make 3.82+ 2010-10-24 21:42:39 -04:00
Andreas Schwab
22cd1c9bcf Don't expand DST twice in dl_open 2010-10-24 20:40:14 -04:00
Ulrich Drepper
18edac4857 Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64. 2010-10-19 12:56:42 -04:00
Michael Meissner
d20501241e Add C99 FP_FAST_FMA{,F,L} macros to math.h 2010-10-19 12:49:05 -04:00
Ulrich Drepper
6ce0bb748d Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-10-19 12:47:13 -04:00
Jakub Jelinek
7c08a05c5f IEEE quad fmal fixes 2010-10-18 07:29:50 -04:00
Jakub Jelinek
475facd1f5 Missing CL. 2010-10-15 15:27:16 -04:00
Jakub Jelinek
f3f7372de1 Fix some more dbl-64/s_fma.c issue 2010-10-15 15:25:14 -04:00
Andreas Schwab
14d43591fa Expect PLT call to _Unwind_Find_FDE on s390*-linux 2010-10-15 07:29:38 -04:00
Jakub Jelinek
5e908464b9 Implement accurate fma. 2010-10-13 22:27:03 -04:00
Ulrich Drepper
b833d51fbb One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
Ulrich Drepper
e9b9cbf5e9 More regex memory leak fixes and tests. 2010-10-11 22:46:44 -04:00
Ulrich Drepper
ef06edbee6 Test case for last regex problem. 2010-10-11 12:34:53 -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
67a67b950b Add test case for strstr problem. 2010-10-06 13:48:51 -04:00
Eric Blake
5fb308bca2 Fix strstr and memmem algorithm. 2010-10-06 13:48:07 -04:00
Ulrich Drepper
3b11189345 Handle large requests. 2010-10-03 22:27:21 -04:00
Ulrich Drepper
45db99c7d0 Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp 2010-10-03 22:10:30 -04:00
Nobuhiro Iwamatsu
cf7a1eb81d sh: Add "extern "C"" to __set_fpscr function 2010-10-01 19:40:36 -04:00
Andreas Jaeger
6484ba5ef0 Handle cgroup and btrfs filesystems 2010-10-01 10:49:47 -04:00
Luis Machado
91c4255919 powerpc: Use generic memset for RTLD for ppc32/64 2010-09-29 12:21:14 -04:00
Andreas Krebbel
87a97932bd S/390: Fix highgprs check in startup code 2010-09-29 11:31:42 -04:00
Ulrich Drepper
724da3d7f4 Revert "powerpc: PPCA2 optimized memcpy function"
This reverts commit 44f91d3884.

Conflicts:

	ChangeLog
2010-09-27 23:02:55 -04:00
Andreas Schwab
c21cc9bcb3 Properly convert f_fsid in statvfs 2010-09-27 22:34:21 -04:00
Petr Baudis
315970f6ca Add two forgotten licence exceptions
The two files in debug/ are included in libc_nonshared.a and the
functions may be included in linked executables. Use the same text
as in other files going to libc_nonshared.a.
2010-09-25 03:09:53 +02:00
Michael B. Brutman
44f91d3884 powerpc: PPCA2 optimized memcpy function 2010-09-21 14:06:46 -07:00
Joseph Myers
1ac7a2c7b4 getdents64 fallback d_type support 2010-09-21 14:02:08 -07:00
Andreas Schwab
56801c50d4 Move freeres function from ld.so to libc.so. 2010-09-21 13:52:12 -07:00
Ulrich Drepper
dda51327ba Undo feature selection for ftruncate. 2010-09-21 11:01:10 -07:00
Ulrich Drepper
a545ecd99b Better CL. 2010-09-20 23:09:06 -07:00
Ulrich Drepper
8ffcee4a04 Fix limit detection in x86-64 SSE2 strncasecmp. 2010-09-20 14:02:23 -07:00
Andreas Schwab
e24f0a8b9e Add support for fanotify_mark on sparc32 and s390 2010-09-20 06:58:15 -07:00
Andreas Schwab
7291c56f9d Fix register conflict in s390 ____longjmp_chk 2010-09-15 07:38:19 -07:00
Andreas Schwab
bc5fb0374c Don't try to free rpath strings allocated during startup 2010-09-15 07:20:57 -07:00
Ulrich Drepper
e66e7419a6 Actually make it possible to user the default name server. 2010-09-14 00:01:42 -07:00
Chung-Lin Tang
c044aa7535 Fix _FORITY_SOURCE version of longjmp for Linux/x86-64. 2010-09-08 15:49:50 -07:00
Andreas Schwab
32cf406993 Don't mix pattern rules with normal rules 2010-09-06 15:39:32 +02:00
Andreas Schwab
817328eea7 Remove undefined operations 2010-09-05 13:55:08 +02:00
Ulrich Drepper
29fddf61b2 Remove invalid iconv aliases. 2010-09-04 12:48:31 -07:00
Ulrich Drepper
0959ffc97b Update x86-64 mpn routines from GMP 5.0.1. 2010-09-02 23:36:25 -07:00