glibc.git
13 years agoUndo accidental checkin.
Ulrich Drepper [Tue, 14 Dec 2010 18:09:28 +0000 (14 13:09 -0500)]
Undo accidental checkin.

13 years agoDeclare wcpcpy and wcpncpy only under _GNU_SOURCE
Andreas Schwab [Fri, 10 Dec 2010 14:16:12 +0000 (10 09:16 -0500)]
Declare wcpcpy and wcpncpy only under _GNU_SOURCE

13 years agoFix use of restrict in wchar.h
Andreas Schwab [Fri, 10 Dec 2010 14:15:01 +0000 (10 09:15 -0500)]
Fix use of restrict in wchar.h

13 years agoFix typo in comment.
Ulrich Drepper [Fri, 10 Dec 2010 00:22:52 +0000 (9 19:22 -0500)]
Fix typo in comment.

13 years agoFix race in qsort_r initialization.
Ulrich Drepper [Thu, 9 Dec 2010 17:12:58 +0000 (9 12:12 -0500)]
Fix race in qsort_r initialization.

13 years agoFix -D_FORTIFY_SOURCE memmove and bcop
Jakub Jelinek [Thu, 9 Dec 2010 15:38:18 +0000 (9 10:38 -0500)]
Fix -D_FORTIFY_SOURCE memmove and bcop

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 3 Dec 2010 14:50:35 +0000 (3 09:50 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoUpdate Italian translation.
Ulrich Drepper [Fri, 3 Dec 2010 14:49:21 +0000 (3 09:49 -0500)]
Update Italian translation.

13 years agoRemove dead code from x86-32 SSSE3 strncmp.
H.J. Lu [Thu, 2 Dec 2010 03:18:31 +0000 (1 22:18 -0500)]
Remove dead code from x86-32 SSSE3 strncmp.

13 years agoRelax libm tests for x86-32.
Ulrich Drepper [Tue, 30 Nov 2010 19:57:57 +0000 (30 14:57 -0500)]
Relax libm tests for x86-32.

13 years agoDon't ignore zero TTL in DNS answers
Andreas Schwab [Fri, 26 Nov 2010 01:50:16 +0000 (25 20:50 -0500)]
Don't ignore zero TTL in DNS answers

13 years agoldbl-128 fmal compile fix
Jakub Jelinek [Mon, 22 Nov 2010 20:38:35 +0000 (22 15:38 -0500)]
ldbl-128 fmal compile fix

13 years agoAllow aux_cache_file open()ing to fail silently even in the chroot mode.
Petr Baudis [Mon, 22 Nov 2010 17:47:57 +0000 (22 12:47 -0500)]
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

13 years agoOptimize last initgroups patch a bit.
Ulrich Drepper [Mon, 22 Nov 2010 16:15:08 +0000 (22 11:15 -0500)]
Optimize last initgroups patch a bit.

13 years agoFix multiple nss_compat initgroups() bugs
Ulrich Drepper [Mon, 22 Nov 2010 16:11:24 +0000 (22 11:11 -0500)]
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

13 years agoDefine MAP_HUGETLB.
Ulrich Drepper [Fri, 19 Nov 2010 14:35:39 +0000 (19 09:35 -0500)]
Define MAP_HUGETLB.

13 years agoDefine SWAP_FLAG_DISCARD.
Ulrich Drepper [Tue, 16 Nov 2010 17:17:04 +0000 (16 12:17 -0500)]
Define SWAP_FLAG_DISCARD.

13 years agoFix memory leak in fnmatch
Andreas Schwab [Fri, 12 Nov 2010 08:51:28 +0000 (12 03:51 -0500)]
Fix memory leak in fnmatch

13 years agoSupport Intel processor model 6 and model 0x2.
H.J. Lu [Fri, 12 Nov 2010 08:48:52 +0000 (12 03:48 -0500)]
Support Intel processor model 6 and model 0x2.

13 years agoFix comparison in sqrtl for IBM long double 128.
Luis Machado [Wed, 10 Nov 2010 21:15:05 +0000 (10 16:15 -0500)]
Fix comparison in sqrtl for IBM long double 128.

13 years agoFix one exit path in x86-64 SSE4.2 str{,n}casecmp.
H.J. Lu [Wed, 10 Nov 2010 08:05:37 +0000 (10 03:05 -0500)]
Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.

13 years agoFix warnings in __bswap_16.
Ulrich Drepper [Wed, 10 Nov 2010 07:38:35 +0000 (10 02:38 -0500)]
Fix warnings in __bswap_16.

13 years agoUse IFUNC on x86-64 memset
H.J. Lu [Mon, 8 Nov 2010 08:41:34 +0000 (8 03:41 -0500)]
Use IFUNC on x86-64 memset

13 years agopower7-optimized mempcpy
Luis Machado [Fri, 5 Nov 2010 12:01:13 +0000 (5 08:01 -0400)]
power7-optimized mempcpy

13 years ago32bit memset-sse2.S fails with uneven cache size
Ulrich Drepper [Fri, 5 Nov 2010 11:57:46 +0000 (5 07:57 -0400)]
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.

13 years agoVerify in ttyname() that the symlink is valid.
Miklos Szeredi [Wed, 3 Nov 2010 04:25:45 +0000 (3 00:25 -0400)]
Verify in ttyname() that the symlink is valid.

13 years agoFix typo in comment.
Erich Ritz [Mon, 1 Nov 2010 18:50:24 +0000 (1 14:50 -0400)]
Fix typo in comment.

13 years agoUpdate Danish translations.
Ulrich Drepper [Mon, 1 Nov 2010 18:27:55 +0000 (1 14:27 -0400)]
Update Danish translations.

13 years agoFix assertion in ld.so, introduced by delayed adding to global list.
Ulrich Drepper [Tue, 26 Oct 2010 17:01:46 +0000 (26 13:01 -0400)]
Fix assertion in ld.so, introduced by delayed adding to global list.

13 years agoAdd missing file.
Ulrich Drepper [Tue, 26 Oct 2010 04:23:45 +0000 (26 00:23 -0400)]
Add missing file.

13 years agoFix concurrency problem between dl_open and dl_iterate_phdr
Andreas Krebbel [Tue, 26 Oct 2010 04:23:14 +0000 (26 00:23 -0400)]
Fix concurrency problem between dl_open and dl_iterate_phdr

13 years agoFix x86-64 strchr propagation of search byte into all bytes of SSE register
Richard Li [Mon, 25 Oct 2010 18:13:17 +0000 (25 14:13 -0400)]
Fix x86-64 strchr propagation of search byte into all bytes of SSE register

13 years agoFix perturbing in malloc on free.
Ulrich Drepper [Mon, 25 Oct 2010 02:37:00 +0000 (24 22:37 -0400)]
Fix perturbing in malloc on free.

13 years agopowerpc: PPCA2/A2 optimized memcpy function
Michael B. Brutman [Mon, 25 Oct 2010 01:47:33 +0000 (24 21:47 -0400)]
powerpc: PPCA2/A2 optimized memcpy function

13 years agoRequire suid bit on audit objects in privileged programs
Andreas Schwab [Mon, 25 Oct 2010 01:43:15 +0000 (24 21:43 -0400)]
Require suid bit on audit objects in privileged programs

13 years agoWork around shortest-stem feature in make 3.82+
Andreas Schwab [Mon, 25 Oct 2010 01:42:39 +0000 (24 21:42 -0400)]
Work around shortest-stem feature in make 3.82+

13 years agoDon't expand DST twice in dl_open
Andreas Schwab [Mon, 25 Oct 2010 00:40:14 +0000 (24 20:40 -0400)]
Don't expand DST twice in dl_open

13 years agoProvide FP_FAST_FMA{,F,L} definitions for x86/x86-64.
Ulrich Drepper [Tue, 19 Oct 2010 16:56:42 +0000 (19 12:56 -0400)]
Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.

13 years agoAdd C99 FP_FAST_FMA{,F,L} macros to math.h
Michael Meissner [Tue, 19 Oct 2010 16:49:05 +0000 (19 12:49 -0400)]
Add C99 FP_FAST_FMA{,F,L} macros to math.h

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 19 Oct 2010 16:47:13 +0000 (19 12:47 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoIEEE quad fmal fixes
Jakub Jelinek [Mon, 18 Oct 2010 11:29:50 +0000 (18 07:29 -0400)]
IEEE quad fmal fixes

13 years agoMissing CL.
Jakub Jelinek [Fri, 15 Oct 2010 19:27:16 +0000 (15 15:27 -0400)]
Missing CL.

13 years agoImplement fmal, some fma bugfixes
Jakub Jelinek [Fri, 15 Oct 2010 19:26:06 +0000 (15 15:26 -0400)]
Implement fmal, some fma bugfixes

13 years agoFix some more dbl-64/s_fma.c issue
Jakub Jelinek [Fri, 15 Oct 2010 19:25:14 +0000 (15 15:25 -0400)]
Fix some more dbl-64/s_fma.c issue

13 years agoExpect PLT call to _Unwind_Find_FDE on s390*-linux
Andreas Schwab [Fri, 15 Oct 2010 11:29:38 +0000 (15 07:29 -0400)]
Expect PLT call to _Unwind_Find_FDE on s390*-linux

13 years agoImplement accurate fma.
Jakub Jelinek [Thu, 14 Oct 2010 02:27:03 +0000 (13 22:27 -0400)]
Implement accurate fma.

13 years agoFix alignment of AVX safe area on x86-64.
H.J. Lu [Thu, 14 Oct 2010 02:12:03 +0000 (13 22:12 -0400)]
Fix alignment of AVX safe area on x86-64.

13 years agoOne more regex memory leak fixed.
Ulrich Drepper [Tue, 12 Oct 2010 13:00:33 +0000 (12 09:00 -0400)]
One more regex memory leak fixed.

13 years agoMore regex memory leak fixes and tests.
Ulrich Drepper [Tue, 12 Oct 2010 02:46:44 +0000 (11 22:46 -0400)]
More regex memory leak fixes and tests.

13 years agoTest case for last regex problem.
Ulrich Drepper [Mon, 11 Oct 2010 16:34:53 +0000 (11 12:34 -0400)]
Test case for last regex problem.

13 years agoFix memory leak for some invalid regular expressions.
Ulrich Drepper [Mon, 11 Oct 2010 15:46:22 +0000 (11 11:46 -0400)]
Fix memory leak for some invalid regular expressions.

13 years agopsiginfo relied too much on sys_siglist.
Ulrich Drepper [Mon, 11 Oct 2010 14:58:31 +0000 (11 10:58 -0400)]
psiginfo relied too much on sys_siglist.

13 years agoLinux getifaddrs might return entries with ->ifa_addr being NULL.
Ulrich Drepper [Mon, 11 Oct 2010 13:38:00 +0000 (11 09:38 -0400)]
Linux getifaddrs might return entries with ->ifa_addr being NULL.

13 years agoCorrect implementation of fmaf.
Jakub Jelinek [Mon, 11 Oct 2010 13:27:05 +0000 (11 09:27 -0400)]
Correct implementation of fmaf.

13 years agoFix BZ reference in last checkin.
Ulrich Drepper [Mon, 11 Oct 2010 13:19:36 +0000 (11 09:19 -0400)]
Fix BZ reference in last checkin.

13 years agoUnify psiginfo output.
Ulrich Drepper [Mon, 11 Oct 2010 13:10:41 +0000 (11 09:10 -0400)]
Unify psiginfo output.

13 years agoAdd test case for strstr problem.
Ulrich Drepper [Wed, 6 Oct 2010 17:48:51 +0000 (6 13:48 -0400)]
Add test case for strstr problem.

13 years agoFix strstr and memmem algorithm.
Eric Blake [Wed, 6 Oct 2010 17:48:07 +0000 (6 13:48 -0400)]
Fix strstr and memmem algorithm.

13 years agoMore NEWS changes.
Ulrich Drepper [Mon, 4 Oct 2010 02:53:24 +0000 (3 22:53 -0400)]
More NEWS changes.

13 years agoUpdate NEWS.
Ulrich Drepper [Mon, 4 Oct 2010 02:51:30 +0000 (3 22:51 -0400)]
Update NEWS.

13 years agoRemove specific binutils version recommendation in INSTALL file.
Ulrich Drepper [Mon, 4 Oct 2010 02:30:11 +0000 (3 22:30 -0400)]
Remove specific binutils version recommendation in INSTALL file.

13 years agoHandle large requests.
Ulrich Drepper [Mon, 4 Oct 2010 02:27:21 +0000 (3 22:27 -0400)]
Handle large requests.

13 years agoFix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp
Ulrich Drepper [Mon, 4 Oct 2010 02:10:30 +0000 (3 22:10 -0400)]
Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp

13 years agosh: Add "extern "C"" to __set_fpscr function
Nobuhiro Iwamatsu [Fri, 1 Oct 2010 23:40:36 +0000 (1 19:40 -0400)]
sh: Add "extern "C"" to __set_fpscr function

13 years agoFix last checkin.
Andreas Jaeger [Fri, 1 Oct 2010 23:05:26 +0000 (1 19:05 -0400)]
Fix last checkin.

13 years agoHandle cgroup and btrfs filesystems
Andreas Jaeger [Fri, 1 Oct 2010 14:49:47 +0000 (1 10:49 -0400)]
Handle cgroup and btrfs filesystems

13 years agopowerpc: Use generic memset for RTLD for ppc32/64
Luis Machado [Wed, 29 Sep 2010 16:21:14 +0000 (29 12:21 -0400)]
powerpc: Use generic memset for RTLD for ppc32/64

13 years agoS/390: Fix highgprs check in startup code
Andreas Krebbel [Wed, 29 Sep 2010 15:31:42 +0000 (29 11:31 -0400)]
S/390: Fix highgprs check in startup code

13 years agoRevert "powerpc: PPCA2 optimized memcpy function"
Ulrich Drepper [Tue, 28 Sep 2010 03:02:55 +0000 (27 23:02 -0400)]
Revert "powerpc: PPCA2 optimized memcpy function"

This reverts commit 44f91d3884e241e4402eb3e8b9b6dfa2acc9f80c.

Conflicts:

ChangeLog

13 years agoProperly convert f_fsid in statvfs
Andreas Schwab [Tue, 28 Sep 2010 02:34:21 +0000 (27 22:34 -0400)]
Properly convert f_fsid in statvfs

13 years agoAdd two forgotten licence exceptions
Petr Baudis [Sat, 25 Sep 2010 01:06:00 +0000 (25 03:06 +0200)]
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.

13 years agopowerpc: PPCA2 optimized memcpy function
Michael B. Brutman [Tue, 21 Sep 2010 21:06:46 +0000 (21 14:06 -0700)]
powerpc: PPCA2 optimized memcpy function

13 years agogetdents64 fallback d_type support
Joseph Myers [Tue, 21 Sep 2010 21:02:08 +0000 (21 14:02 -0700)]
getdents64 fallback d_type support

13 years agoWhitespace cleanup.
Ulrich Drepper [Tue, 21 Sep 2010 20:53:31 +0000 (21 13:53 -0700)]
Whitespace cleanup.

13 years agoMove freeres function from ld.so to libc.so.
Andreas Schwab [Tue, 21 Sep 2010 20:52:12 +0000 (21 13:52 -0700)]
Move freeres function from ld.so to libc.so.

13 years agoUndo feature selection for ftruncate.
Ulrich Drepper [Tue, 21 Sep 2010 18:01:10 +0000 (21 11:01 -0700)]
Undo feature selection for ftruncate.

13 years agoFix namespace pollution in pthread_cleanup_push.
Andreas Schwab [Tue, 21 Sep 2010 17:47:14 +0000 (21 10:47 -0700)]
Fix namespace pollution in pthread_cleanup_push.

13 years agoBetter CL.
Ulrich Drepper [Tue, 21 Sep 2010 06:09:06 +0000 (20 23:09 -0700)]
Better CL.

13 years agoRe-enable all strncasecmp versions.
Ulrich Drepper [Tue, 21 Sep 2010 03:18:00 +0000 (20 20:18 -0700)]
Re-enable all strncasecmp versions.

13 years agoFix limit detection in x86-64 SSE2 strncasecmp.
Ulrich Drepper [Mon, 20 Sep 2010 21:02:23 +0000 (20 14:02 -0700)]
Fix limit detection in x86-64 SSE2 strncasecmp.

13 years agoAdd support for fanotify_mark on sparc32 and s390
Andreas Schwab [Mon, 20 Sep 2010 13:58:15 +0000 (20 06:58 -0700)]
Add support for fanotify_mark on sparc32 and s390

13 years agoFix register conflict in s390 ____longjmp_chk
Andreas Schwab [Wed, 15 Sep 2010 14:38:19 +0000 (15 07:38 -0700)]
Fix register conflict in s390 ____longjmp_chk

13 years agoDon't try to free rpath strings allocated during startup
Andreas Schwab [Wed, 15 Sep 2010 14:20:57 +0000 (15 07:20 -0700)]
Don't try to free rpath strings allocated during startup

13 years agoActually make it possible to user the default name server.
Ulrich Drepper [Tue, 14 Sep 2010 07:01:42 +0000 (14 00:01 -0700)]
Actually make it possible to user the default name server.

13 years agoFix _FORITY_SOURCE version of longjmp for Linux/x86-64.
Chung-Lin Tang [Wed, 8 Sep 2010 22:49:50 +0000 (8 15:49 -0700)]
Fix _FORITY_SOURCE version of longjmp for Linux/x86-64.

13 years agoFix encoding errors in ChangeLogs
Andreas Schwab [Tue, 7 Sep 2010 12:22:32 +0000 (7 14:22 +0200)]
Fix encoding errors in ChangeLogs

13 years agoDon't mix pattern rules with normal rules
Andreas Schwab [Mon, 6 Sep 2010 12:55:59 +0000 (6 14:55 +0200)]
Don't mix pattern rules with normal rules

13 years agoRemove undefined operations
Andreas Schwab [Sun, 18 Jul 2010 12:51:45 +0000 (18 14:51 +0200)]
Remove undefined operations

13 years agoRemove invalid iconv aliases.
Ulrich Drepper [Sat, 4 Sep 2010 19:48:31 +0000 (4 12:48 -0700)]
Remove invalid iconv aliases.

13 years agoSmall optimization of alloca handling.
Ulrich Drepper [Fri, 3 Sep 2010 11:42:44 +0000 (3 04:42 -0700)]
Small optimization of alloca handling.

13 years agoUpdate x86-64 mpn routines from GMP 5.0.1.
Ulrich Drepper [Fri, 3 Sep 2010 06:36:25 +0000 (2 23:36 -0700)]
Update x86-64 mpn routines from GMP 5.0.1.

13 years agoFix generic bits/sched.h for #define __need_schedparam uses.
Samuel Thibault [Thu, 2 Sep 2010 01:11:31 +0000 (1 18:11 -0700)]
Fix generic bits/sched.h for #define __need_schedparam uses.

13 years agoUpdate sparc epoll.h from epoll_create2 to epoll_create1
Mike Frysinger [Wed, 1 Sep 2010 19:45:02 +0000 (1 12:45 -0700)]
Update sparc epoll.h from epoll_create2 to epoll_create1

13 years agoFix typo in x86-64 epoll.h.
Mike Frysinger [Wed, 1 Sep 2010 19:42:48 +0000 (1 12:42 -0700)]
Fix typo in x86-64 epoll.h.

13 years agoFix array overflow in floating point parser
Andreas Schwab [Wed, 1 Sep 2010 19:38:44 +0000 (1 12:38 -0700)]
Fix array overflow in floating point parser

13 years agoMore copyright changes.
Ulrich Drepper [Wed, 1 Sep 2010 12:10:04 +0000 (1 05:10 -0700)]
More copyright changes.

13 years agoRemove duplicate version of pmap_getport from NIS code.
Ulrich Drepper [Wed, 1 Sep 2010 11:12:55 +0000 (1 04:12 -0700)]
Remove duplicate version of pmap_getport from NIS code.

13 years agoSupport fanotify_mark syscall on powerpc32
Andreas Schwab [Sat, 14 Aug 2010 16:06:10 +0000 (14 18:06 +0200)]
Support fanotify_mark syscall on powerpc32

13 years agoAdd missing i686/multiarch/Makefile bit for shared x86_64 code.
Roland McGrath [Sat, 28 Aug 2010 00:11:38 +0000 (27 17:11 -0700)]
Add missing i686/multiarch/Makefile bit for shared x86_64 code.

13 years agoFixup x86 after x86-64 varshift change.
Ulrich Drepper [Fri, 27 Aug 2010 19:10:11 +0000 (27 12:10 -0700)]
Fixup x86 after x86-64 varshift change.