jlayton/glibc.git
13 years agoglibc 2.11.3 release glibc-2.11.3
Petr Baudis [Sat, 20 Nov 2010 14:40:53 +0000 (15:40 +0100)]
glibc 2.11.3 release

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 (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
(cherry picked from commit 6db52fbb272979bdcd5d5dd7ab187e1893eda9e3)

13 years agoFix multiple nss_compat initgroups() bugs
Ulrich Drepper [Mon, 22 Nov 2010 16:11:24 +0000 (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
(cherry picked from commit 3056dcdb783a177158a5617657d1a33f872358d6)

13 years agoRemove duplicate ChangeLog entry for f906814
Petr Baudis [Mon, 29 Nov 2010 19:56:49 +0000 (20:56 +0100)]
Remove duplicate ChangeLog entry for f906814

13 years agoRe-sync INSTALL and manual/install.texi
Petr Baudis [Sat, 20 Nov 2010 18:05:19 +0000 (19:05 +0100)]
Re-sync INSTALL and manual/install.texi

Required for flawless make dist run.

13 years agoAllow arbitrary whitespace in INSTALL (autogenerated by makeinfo)
Petr Baudis [Tue, 30 Nov 2010 02:21:52 +0000 (03:21 +0100)]
Allow arbitrary whitespace in INSTALL (autogenerated by makeinfo)

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

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

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

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

13 years agoAvoid too much stack use in fnmatch.
Ulrich Drepper [Tue, 10 Aug 2010 04:09:37 +0000 (21:09 -0700)]
Avoid too much stack use in fnmatch.

(cherry picked from commit f15ce4d8dc139523fe0c273580b604b2453acba6)

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

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

(cherry picked from commit 69da074d7adfab7b57004a0dea9403a928e310a5)

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

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

13 years agoProperly quote output of locale
Andreas Schwab [Thu, 12 Aug 2010 16:05:50 +0000 (09:05 -0700)]
Properly quote output of locale

(cherry picked from commit 026373745eab50a683536d950cb7e17dc98c4259)

13 years agoRemove duplicate ChangeLog entry for 8e9f92e
Petr Baudis [Mon, 15 Nov 2010 17:06:00 +0000 (18:06 +0100)]
Remove duplicate ChangeLog entry for 8e9f92e

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

(cherry picked from commit f09677388a44cd1460f8986ef1b096c73bd5b958)

Fix assertion in ld.so, introduced by delayed adding to global list.

(cherry picked from commit fa41c84d73be804639ecb2250f0b793b1a6f765e)

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

(cherry picked from commit fdc0f374bcd2d0513569aa8d600f960e43e8af1d)

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

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

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

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

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

(cherry picked from commit f90681487d90a6eea8f1c60021bc8dd83313c59b)

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

13 years agoMore regex memory leak fixes and testcases
Ulrich Drepper [Mon, 11 Oct 2010 16:34:53 +0000 (12:34 -0400)]
More regex memory leak fixes and testcases

(cherry picked from commit ef06edbee6463061a7f3dcbd2f56a625b41a4810)
(cherry picked from commit e9b9cbf5e9bdcda6f0b50456658bac748202dd70)

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

(cherry picked from commit a129c80d54ec951567caa8c1b042275422d5f367)

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

(cherry picked from commit 1751705d1c4e8b7aba391391d1d8d88fe8c9d8b8)

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

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

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

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

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

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

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

(cherry picked from commit a726d7960e8a4ac784131f591114a0ef14246d8b)

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

13 years agoMissing server address again leads to localhost being used
Ulrich Drepper [Wed, 25 Aug 2010 14:43:53 +0000 (07:43 -0700)]
Missing server address again leads to localhost being used
(cherry picked from commit df24a73ecdfea3690821f8176b83d811a5f23725)

13 years agoAdd -fno-asynchronous-unwind-tables to initfini.s for i386
H.J. Lu [Mon, 16 Aug 2010 03:09:23 +0000 (20:09 -0700)]
Add -fno-asynchronous-unwind-tables to initfini.s for i386
(cherry picked from commit f8392f40049cf6faedcf4f26736227d9a7a04b9e)

13 years agoHurd: fix timeout rounding in select
Samuel Thibault [Mon, 2 Aug 2010 23:46:12 +0000 (16:46 -0700)]
Hurd: fix timeout rounding in select
(cherry picked from commit 5a42321d438211210e0869e5e90f8d75d1354e14)

13 years agoBZ 11856: fix manual nit
Roland McGrath [Thu, 29 Jul 2010 17:49:42 +0000 (10:49 -0700)]
BZ 11856: fix manual nit
(cherry picked from commit 48cbc0d6d03b0591280489ddb6a2df60b850e57d)

13 years agoDocument M_PERTURB
Andreas Schwab [Mon, 26 Jul 2010 13:28:15 +0000 (15:28 +0200)]
Document M_PERTURB
(cherry picked from commit deb9cabbf475da0b65d7acdb364987c4a15b4214)

13 years agoBZ #11840: Fix config.cache usage for -fgnu89-inline check.
Roland McGrath [Mon, 26 Jul 2010 19:45:17 +0000 (12:45 -0700)]
BZ #11840: Fix config.cache usage for -fgnu89-inline check.
(cherry picked from commit 1c7570ff36595cba9f5797453eda95969a72c56e)

13 years agoFix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching.
Roland McGrath [Wed, 21 Jul 2010 02:09:50 +0000 (19:09 -0700)]
Fix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching.
(cherry picked from commit 5dbc3b6cc0b759bf4b22d851ccb9cbf3e3cbc6ef)

13 years agoManual wording fix for round{,f,l}.
Roland McGrath [Tue, 6 Jul 2010 01:28:24 +0000 (18:28 -0700)]
Manual wording fix for round{,f,l}.
(cherry picked from commit 713df3d547041fddea30fa78c52dd0615bfd4c24)

13 years agoMore linking issues fixed.
Ulrich Drepper [Fri, 2 Jul 2010 16:49:05 +0000 (09:49 -0700)]
More linking issues fixed.
(cherry picked from commit 702e8f1450279f3e5dc22bf0935ee5ece4369fdb)

13 years agoFix build with newer linker.
Ulrich Drepper [Fri, 2 Jul 2010 02:03:29 +0000 (19:03 -0700)]
Fix build with newer linker.
(cherry picked from commit 72b6e8c85b95a949d8c5d827a16dd1492d9ef26b)

13 years agoHurd: Fix linkat symlink handling.
Emilio Pozuelo Monfort [Wed, 2 Jun 2010 17:24:59 +0000 (10:24 -0700)]
Hurd: Fix linkat symlink handling.
(cherry picked from commit 2a50c07836d2750baf70442f8f760bf6cd43b3af)

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

(cherry picked from commit c0dde15b5dba7e02ce6f36eab3a4d1c166f9951b
but removed introduction of new variables)

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

(cherry picked from commit 0e516e0e14f2f9783a21cd1727bc53776341f857)

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 (14:13 -0400)]
Fix x86-64 strchr propagation of search byte into all bytes of SSE register

(cherry picked from commit dbf3a06904168417a05882a871342e7a9ee3b383)

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

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

(cherry picked from commit f90681487d90a6eea8f1c60021bc8dd83313c59b)

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

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

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 (22:10 -0400)]
Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp

(cherry picked from commit 45db99c7d03e497a3320907e722270fb7ee852f3)

13 years agoFlush cache after solving TEXTRELs if arch requires it.
Kirill A. Shutemov [Tue, 15 Jun 2010 00:23:01 +0000 (17:23 -0700)]
Flush cache after solving TEXTRELs if arch requires it.
(cherry picked from commit 80da2e093c0e465cfa6e561488aac51c236b6fd2)

13 years ago[sh] Fix incorrect location of ifndef for __ASSUME_FUTEX_CLOCK_REALTIME.
Takashi Yoshii [Mon, 14 Jun 2010 23:56:22 +0000 (16:56 -0700)]
[sh] Fix incorrect location of ifndef for __ASSUME_FUTEX_CLOCK_REALTIME.
(cherry picked from commit 4bc93b30337482a0ad1758b4ba069704d09c39da)

13 years agoFix use of extend_alloca in NIS
Andreas Schwab [Mon, 14 Jun 2010 23:54:43 +0000 (16:54 -0700)]
Fix use of extend_alloca in NIS
(cherry picked from commit caa78cf824f98d6f02f2e39cb9cf253c8553946f)

13 years agoFix a couple of __REDIRECT () __THROW occurrences
Jakub Jelinek [Mon, 14 Jun 2010 15:18:26 +0000 (08:18 -0700)]
Fix a couple of __REDIRECT () __THROW occurrences

This patch fixes some cases which fail to parse with C++.
(cherry picked from commit f32f28695d938597ad93177dc83225dcb3c69f74)

13 years agoIncorrect x86 CPU family and model check.
H.J. Lu [Thu, 27 May 2010 18:14:18 +0000 (11:14 -0700)]
Incorrect x86 CPU family and model check.

(cherry picked from commit 3c88fe1e3ab8c6115e9b0c6eb109718da2116a33)

13 years agoFix iov[] size in SH register_dump()
Takashi Yoshii [Wed, 26 May 2010 14:01:43 +0000 (07:01 -0700)]
Fix iov[] size in SH register_dump()

(cherry picked from commit d2f73151763c27173d9a771cea722380d7fc61c2)

13 years agoDon't crash on unresolved weak symbol reference when auditing.
Ulrich Drepper [Sat, 22 May 2010 06:51:18 +0000 (23:51 -0700)]
Don't crash on unresolved weak symbol reference when auditing.

(cherry picked from commit b32b8b451b398ebae33d4cf8039c03f4d615c0c3)

13 years agoDon't crash on unresolved weak symbol reference
Andreas Schwab [Fri, 21 May 2010 19:51:43 +0000 (12:51 -0700)]
Don't crash on unresolved weak symbol reference

(cherry picked from commit 9acbe24da8c71704d03e30d1223f997442d4be0c)

13 years agosunrpc: Fix spurious fall-through
Andreas Schwab [Fri, 21 May 2010 18:52:20 +0000 (11:52 -0700)]
sunrpc: Fix spurious fall-through

(cherry picked from commit f0ccf6ea41931f325df4699a4c7fdf81888563ee)

14 years agoglibc 2.11.2 release glibc-2.11.2
Petr Baudis [Wed, 19 May 2010 20:31:55 +0000 (22:31 +0200)]
glibc 2.11.2 release

14 years agoFix FP exception control.
Andrew Stubbs [Wed, 12 May 2010 17:18:26 +0000 (10:18 -0700)]
Fix FP exception control.

(cherry picked from commit 21a2b1aeeb9bbf49d76bac632327c19bc937d2d7)

14 years agoFix typos I added in malloc.c
Ulrich Drepper [Thu, 25 Feb 2010 03:47:09 +0000 (19:47 -0800)]
Fix typos I added in malloc.c

(cherry picked from commit 9d2569846c520933546353856aafea86a80d9638)

14 years agoFix a const warning in ldconfig.
Roland McGrath [Fri, 7 May 2010 23:23:03 +0000 (16:23 -0700)]
Fix a const warning in ldconfig.

(cherry picked from commit 3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9)

14 years agoFix lookup of collation sequence value during regexp matching
Andreas Schwab [Wed, 5 May 2010 16:59:25 +0000 (09:59 -0700)]
Fix lookup of collation sequence value during regexp matching

(cherry picked from commit d84acf388ed8b3f162dda0512139095bfc268beb)

14 years agoFix ldconfig to handle symlinks in chroot correctly.
Ulrich Drepper [Mon, 3 May 2010 21:04:52 +0000 (14:04 -0700)]
Fix ldconfig to handle symlinks in chroot correctly.

(cherry picked from commit 7dee26605bf8627f0673f81635c38c8a565dd2b7)

14 years agoSimplify OOM handling in ldconfig.
Ulrich Drepper [Mon, 3 May 2010 20:33:13 +0000 (13:33 -0700)]
Simplify OOM handling in ldconfig.

(cherry picked from commit f2976023940a8ef3bbe0c7e593897e1b612370f1)

14 years agoOne more bug in ldconfig -r handling.
Ulrich Drepper [Mon, 3 May 2010 17:40:30 +0000 (10:40 -0700)]
One more bug in ldconfig -r handling.

(cherry picked from commit 49bd556d43f55d0bb6d76d57e846af85f0c986c9)

14 years agoFix handling if newline in addmntent.
Ulrich Drepper [Sun, 2 May 2010 19:12:55 +0000 (12:12 -0700)]
Fix handling if newline in addmntent.

(cherry picked from commit ab00f4eac8f4932211259ff87be83144f5211540)

14 years agoBZ #11538: Fix ttyname_r callers not to expect errno was set.
Bruno Haible [Wed, 28 Apr 2010 22:00:14 +0000 (15:00 -0700)]
BZ #11538: Fix ttyname_r callers not to expect errno was set.

(cherry picked from commit 8c0677fe5d91b7269364ca08fa08ed09e4c2d8c9)

14 years agoBZ #11537: Hurd: Fix ttyname_r error return value.
Bruno Haible [Mon, 26 Apr 2010 17:07:15 +0000 (10:07 -0700)]
BZ #11537: Hurd: Fix ttyname_r error return value.

(cherry picked from commit 6cffee3611f324326ae46bb02d2baeb62c0db6a4)

14 years agoHurd: Fix file_name_lookup_at error case return value.
Emilio Pozuelo Monfort [Mon, 26 Apr 2010 16:59:30 +0000 (09:59 -0700)]
Hurd: Fix file_name_lookup_at error case return value.

(cherry picked from commit 67481400c51229de3efa2eb3dddc8429b6f9e9f4)

14 years agoDon't crash in trace mode when dependencies are missing
Andreas Schwab [Thu, 15 Apr 2010 05:16:06 +0000 (22:16 -0700)]
Don't crash in trace mode when dependencies are missing

(cherry picked from commit 18a26b301b6ab0d68474fbfffb0d17adf69e8824)

14 years agoFix crash on reloading of gai data in nscd.
Ulrich Drepper [Sat, 10 Apr 2010 04:38:20 +0000 (21:38 -0700)]
Fix crash on reloading of gai data in nscd.

(cherry picked from commit ea42a20caed5b343ff20a0d4622ae6c17b77161b)

14 years agoFix fallocate error return on i386.
Andreas Schwab [Thu, 8 Apr 2010 22:44:55 +0000 (15:44 -0700)]
Fix fallocate error return on i386.

(cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)

14 years agogetopt mishandles optstring of "+:"
Eric Blake [Thu, 8 Apr 2010 00:56:20 +0000 (17:56 -0700)]
getopt mishandles optstring of "+:"

(cherry picked from commit 66b93be793af309fb78d54199aed2306650079d0)

14 years agogetopt mistakenly allows '-;' as short option
Eric Blake [Thu, 8 Apr 2010 00:28:36 +0000 (17:28 -0700)]
getopt mistakenly allows '-;' as short option

(cherry picked from commit cf0b68196c837ad591f0e7fc0f8e8a0f690b847c)

14 years agoFix -W with optional parameters in getopt.
Eric Blake [Thu, 8 Apr 2010 00:16:27 +0000 (17:16 -0700)]
Fix -W with optional parameters in getopt.

According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'.  But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.

(cherry picked from commit aa7f642769abcfbce658aeaaffdc9fb4790cd905)

14 years agoHandle DNS timeouts in old-style lookkup code.
Ulrich Drepper [Mon, 5 Apr 2010 19:21:20 +0000 (12:21 -0700)]
Handle DNS timeouts in old-style lookkup code.

(cherry picked from commit 4535680d03d15dc9ce19d97b9d242a10941d5016)

14 years agoFix aux cache handling in ldconfig with chroot.
Ulrich Drepper [Mon, 5 Apr 2010 18:26:43 +0000 (11:26 -0700)]
Fix aux cache handling in ldconfig with chroot.

(cherry picked from commit 4bc2bcba67e870778fb9397f29435ee1b66bebf3)

14 years agoFix printing error messages in getopt.
Ulrich Drepper [Mon, 5 Apr 2010 05:48:55 +0000 (22:48 -0700)]
Fix printing error messages in getopt.

(cherry picked from commit 247fdc8ee68cf49cd808becce56b2e923b4f776b)

14 years agoDeclare iruserok and iruserok_af.
Ulrich Drepper [Mon, 5 Apr 2010 05:01:52 +0000 (22:01 -0700)]
Declare iruserok and iruserok_af.

(cherry picked from commit 2cd9670885d32eed6f4de12ddbeb2a9d049f198e)

14 years agoAdd test case for last argp bug.
Ulrich Drepper [Sun, 4 Apr 2010 18:28:36 +0000 (11:28 -0700)]
Add test case for last argp bug.

(cherry picked from commit 7ebaec64a0171a54dbe9aedd95497b130458060e)

14 years agoFix option aliasing in argp.
Sergey Poznyakoff [Sun, 4 Apr 2010 17:04:55 +0000 (10:04 -0700)]
Fix option aliasing in argp.

(cherry picked from commit 8c6de69d00c6be60657ca0d763dda803172c6aab)

14 years agoFix retrieving of kernel header version.
Ulrich Drepper [Sun, 4 Apr 2010 08:02:09 +0000 (01:02 -0700)]
Fix retrieving of kernel header version.
(cherry picked from commit 9e37946dba22b53c5108eef777e867f93c894502)

14 years agoFix concurrent handling of __cpu_features.
Ulrich Drepper [Sun, 4 Apr 2010 07:25:46 +0000 (00:25 -0700)]
Fix concurrent handling of __cpu_features.

(cherry picked from commit 22f4f44b6727887957aa1d4039eba290b064da63)

14 years agoHandle unnecessary padding in getdents64.
Ulrich Drepper [Sun, 4 Apr 2010 06:51:40 +0000 (23:51 -0700)]
Handle unnecessary padding in getdents64.

The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition.  We have to
avoid copying those padding bytes in the readdir64_r function.

(cherry picked from commit 1a81139728494810f65aaa0d0c538ff8c2783dd5)

14 years agoAdd missing include.
Ulrich Drepper [Sun, 4 Apr 2010 06:10:16 +0000 (23:10 -0700)]
Add missing include.

(cherry picked from commit 3fedf0feb75457f7098a0119ca4203ff449546b6)

14 years agoFix changes to interface list during getifaddrs calls.
Ulrich Drepper [Sun, 4 Apr 2010 03:36:59 +0000 (20:36 -0700)]
Fix changes to interface list during getifaddrs calls.

(cherry picked from commit b8b14c4cc38883032b8ebae50c9a8b3efd256483)

14 years agoDocument problem with NATs in getaddrinfo.
Ulrich Drepper [Sun, 4 Apr 2010 00:56:51 +0000 (17:56 -0700)]
Document problem with NATs in getaddrinfo.

(cherry picked from commit ed0874085976531bda8a05540b0816e8bf711b71)

14 years agoMissing memory barrier in DES initialization.
Ulrich Drepper [Sat, 3 Apr 2010 20:45:02 +0000 (13:45 -0700)]
Missing memory barrier in DES initialization.

(cherry picked from commit 647450cfb089a60f1dc3de7d68874cd21f475ec7)

14 years agoFix set_max_fast in malloc.
Ulrich Drepper [Sat, 3 Apr 2010 16:43:10 +0000 (09:43 -0700)]
Fix set_max_fast in malloc.

(cherry picked from commit 991eda1ec17665ea0da247f8eabc6993d020ed8e)

14 years agoFix spurious UNAVAIL status is getaddrinfo
Andreas Schwab [Fri, 26 Mar 2010 12:35:50 +0000 (05:35 -0700)]
Fix spurious UNAVAIL status is getaddrinfo

(cherry picked from commit c3dfadb87e16f0fab6f4d5242bcecf06c02976c7)

14 years agoFix typo in cuserid
Andreas Schwab [Thu, 25 Mar 2010 10:35:05 +0000 (11:35 +0100)]
Fix typo in cuserid

(cherry picked from commit 34b514dff6acf8f1cac0afefd24049e025fd62ea)

14 years agocalls to cuserid() can result in buffer overruns and/or overflows
Jonathan Geisler [Wed, 24 Mar 2010 23:02:15 +0000 (16:02 -0700)]
calls to cuserid() can result in buffer overruns and/or overflows

(cherry picked from commit fd8ccb0427569ffdfbb70c8828029122f3459160)

14 years agoFix missing dependency of localedata tests on gconv-modules
Paul Pluzhnikov [Wed, 17 Mar 2010 16:01:34 +0000 (09:01 -0700)]
Fix missing dependency of localedata tests on gconv-modules

(cherry picked from commit 234333153e5b29fec2c0b383249db6f245a877e9)