platform/upstream/linaro-glibc.git
10 years agoRevert "Fix failure in nptl/tst-cleanup when building with"
Paul Pluzhnikov [Wed, 20 Nov 2013 18:13:37 +0000 (10:13 -0800)]
Revert "Fix failure in nptl/tst-cleanup when building with"

This reverts commit 78271fa91a1e6902222e892068750059ec21f396.

Actually, a different fix is needed.

10 years agoFix failure in nptl/tst-cleanup when building with
Paul Pluzhnikov [Wed, 20 Nov 2013 18:05:24 +0000 (10:05 -0800)]
Fix failure in nptl/tst-cleanup when building with
gcc (GCC) 4.9.0 20131114 (experimental)

2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com>

* nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.

10 years agoConsolidate valloc/pvalloc code.
Ondřej Bílka [Wed, 20 Nov 2013 14:46:02 +0000 (15:46 +0100)]
Consolidate valloc/pvalloc code.

To make malloc code more maintainable we make malloc and pvalloc share
logic with memalign.

10 years agoFix build warning in locarchive.c
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:49:57 +0000 (18:19 +0530)]
Fix build warning in locarchive.c

10 years agoRename Oriya locale to Odia (bug 15601)
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:17:41 +0000 (17:47 +0530)]
Rename Oriya locale to Odia (bug 15601)

The state of Orissa was officially renamed the state to Odisha and the
language from Oriya to Odia in 2010.

References:

http://zeenews.india.com/election09/story.aspx?aid=739995
http://orissamatters.com/2011/11/07/orissa-became-odisha/
http://www.ndtv.com/article/india/parliament-passes-bill-to-change-orissa-s-name-93888
http://orissa.gov.in/e-magazine/Orissareview/2011/Nov/engpdf/9-17.pdf

10 years agoFix ChangeLog formatting
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:15:44 +0000 (17:45 +0530)]
Fix ChangeLog formatting

10 years agoAdd systemtap probe markers for sin, cos, asin and acos
Siddhesh Poyarekar [Wed, 20 Nov 2013 02:16:48 +0000 (07:46 +0530)]
Add systemtap probe markers for sin, cos, asin and acos

10 years agoFix ChangeLog formatting
Siddhesh Poyarekar [Wed, 20 Nov 2013 02:16:18 +0000 (07:46 +0530)]
Fix ChangeLog formatting

10 years agoMake powerpc-nofpu floating-point state thread-local (bug 15483).
Joseph Myers [Tue, 19 Nov 2013 13:39:56 +0000 (13:39 +0000)]
Make powerpc-nofpu floating-point state thread-local (bug 15483).

10 years agoComplete display of LC_MONETARY
Andreas Schwab [Mon, 11 Nov 2013 17:12:03 +0000 (18:12 +0100)]
Complete display of LC_MONETARY

10 years agotest-fpucw-ieee: Don't use _FPU_IEEE if not defined
Chris Metcalf [Mon, 18 Nov 2013 18:27:09 +0000 (13:27 -0500)]
test-fpucw-ieee: Don't use _FPU_IEEE if not defined

Not all architectures define this value, and if they don't,
just let the test run the same as test-fpucw, with __fpu_control
set to _FPU_DEFAULT explicitly.

10 years agoAdjust AT_EXECFN when using explicit loader invocation.
Paul Pluzhnikov [Mon, 18 Nov 2013 23:11:55 +0000 (15:11 -0800)]
Adjust AT_EXECFN when using explicit loader invocation.

2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>

* elf/Makefile (tst-auxv): New test.
* elf/tst-auxv.c: New
* elf/rtld.c (dl_main): Adjust AT_EXECFN

10 years agoAdjust AT_EXECFN when using explicit loader invocation.
Paul Pluzhnikov [Mon, 18 Nov 2013 23:11:30 +0000 (15:11 -0800)]
Adjust AT_EXECFN when using explicit loader invocation.

2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>

* elf/Makefile (tst-auxv): New test.
* elf/tst-auxv.c: New
* elf/rtld.c (dl_main): Adjust AT_EXECFN

10 years agoDefine TLS version of libc_hidden_proto.
Joseph Myers [Mon, 18 Nov 2013 23:02:55 +0000 (23:02 +0000)]
Define TLS version of libc_hidden_proto.

10 years agoRevert b75891075bece24be9fd85618f18af4a2daf7f1c
Ondřej Bílka [Mon, 18 Nov 2013 22:42:58 +0000 (23:42 +0100)]
Revert b75891075bece24be9fd85618f18af4a2daf7f1c

10 years ago[BZ #16144] Duplicated abday value for tk_TM.
Chris Leonard [Mon, 18 Nov 2013 21:18:23 +0000 (16:18 -0500)]
[BZ #16144] Duplicated abday value for tk_TM.

10 years agoFix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253
Ondřej Bílka [Mon, 18 Nov 2013 18:56:57 +0000 (19:56 +0100)]
Fix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253

We first expanded origin and then split string by colons. This
misbehaves when $ORIGIN contain colon so we first split string, then
expand $ORIGIN.

10 years agobenchtests: Add strsep benchmark
Rajalakshmi Srinivasaraghavan [Mon, 18 Nov 2013 12:03:07 +0000 (06:03 -0600)]
benchtests: Add strsep benchmark

10 years agoRemove unused variable.
Ondřej Bílka [Mon, 18 Nov 2013 12:12:29 +0000 (13:12 +0100)]
Remove unused variable.

10 years agoProperly handle unavailable elements in LC_MONETARY category
Andreas Schwab [Mon, 11 Nov 2013 17:09:18 +0000 (18:09 +0100)]
Properly handle unavailable elements in LC_MONETARY category

10 years agoDo not let scanf("%4p") accept "(nil)". Fixes bug 16055
Ondřej Bílka [Mon, 18 Nov 2013 11:41:00 +0000 (12:41 +0100)]
Do not let scanf("%4p") accept "(nil)". Fixes bug 16055

10 years agoCorrect wae_CH to UTF-8 encoding.
Chris Leonard [Sun, 17 Nov 2013 23:24:27 +0000 (18:24 -0500)]
Correct wae_CH to UTF-8 encoding.

10 years agoTest signs of NaNs in libm-test.inc where appropriate.
Joseph Myers [Sat, 16 Nov 2013 12:48:35 +0000 (12:48 +0000)]
Test signs of NaNs in libm-test.inc where appropriate.

10 years agoAdd libm-test support for ignored return value, add more lrint / llrint / lround...
Joseph Myers [Sat, 16 Nov 2013 12:47:38 +0000 (12:47 +0000)]
Add libm-test support for ignored return value, add more lrint / llrint / lround / llround tests.

10 years agoReplace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag.
Joseph Myers [Sat, 16 Nov 2013 12:46:52 +0000 (12:46 +0000)]
Replace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag.

10 years agoMake libm-test.inc check for "inexact" exceptions for NaN argument.
Joseph Myers [Sat, 16 Nov 2013 12:46:03 +0000 (12:46 +0000)]
Make libm-test.inc check for "inexact" exceptions for NaN argument.

10 years agoFix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).
Joseph Myers [Sat, 16 Nov 2013 12:45:11 +0000 (12:45 +0000)]
Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).

10 years agoNew locale for the_NP.
Arun Kumar Pyasi [Fri, 15 Nov 2013 20:15:59 +0000 (15:15 -0500)]
New locale for the_NP.

10 years agoalpha: Fix signal thunk unwind info
Richard Henderson [Fri, 15 Nov 2013 20:34:39 +0000 (06:34 +1000)]
alpha: Fix signal thunk unwind info

10 years agoAdd Chitwani Tharu (the)
Chris Leonard [Fri, 15 Nov 2013 17:33:40 +0000 (12:33 -0500)]
Add Chitwani Tharu (the)

10 years ago[BZ #16143] pap_* locales have duplicated LC_NUMERIC section.
Chris Leonard [Thu, 14 Nov 2013 23:30:47 +0000 (18:30 -0500)]
[BZ #16143] pap_* locales have duplicated LC_NUMERIC section.

10 years ago[BZ #16103] LC_MEASUREMENT review and standardization
Chris Leonard [Thu, 14 Nov 2013 22:19:35 +0000 (17:19 -0500)]
[BZ #16103]  LC_MEASUREMENT review and standardization

10 years agoFix country_num element in LC_ADDRESS for C locale
Andreas Schwab [Mon, 11 Nov 2013 15:28:03 +0000 (16:28 +0100)]
Fix country_num element in LC_ADDRESS for C locale

10 years agoPowerPC: Fix __fe_mask_env export
Adhemerval Zanella [Wed, 13 Nov 2013 18:58:56 +0000 (12:58 -0600)]
PowerPC: Fix __fe_mask_env export

Change SHLIB_COMPAT calls to GLIBC_2_19 for __fe_nomask_env symbol.

10 years ago2013-11-13 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 13 Nov 2013 16:48:25 +0000 (08:48 -0800)]
2013-11-13  Steve Ellcey  <sellcey@mips.com>

* benchtests/bench-timing.h: Include time.h.

10 years agoSet arch_minimum_kernel to 3.4.0 for x32
H.J. Lu [Wed, 13 Nov 2013 13:43:58 +0000 (05:43 -0800)]
Set arch_minimum_kernel to 3.4.0 for x32

x32 ABI support was added in Linux kernel 3.4.0.

10 years agoFix strtod rounding of half the least subnormal (bug 16151).
Joseph Myers [Wed, 13 Nov 2013 12:59:54 +0000 (12:59 +0000)]
Fix strtod rounding of half the least subnormal (bug 16151).

10 years agoPowerPC: Fix __fe_mask_env export
Adhemerval Zanella [Wed, 13 Nov 2013 12:45:19 +0000 (06:45 -0600)]
PowerPC: Fix __fe_mask_env export

This patch does not export __fe_mask_env anymore, only providing a
compatibility symbol. It fixes BZ#14143.

10 years agoAvoid passing NULL to DSO_FILENAME.
Marcus Shawcroft [Wed, 13 Nov 2013 12:40:31 +0000 (12:40 +0000)]
Avoid passing NULL to DSO_FILENAME.

10 years agoHandle NULL return from htab_find_slot()
Marcus Shawcroft [Wed, 13 Nov 2013 12:37:41 +0000 (12:37 +0000)]
Handle NULL return from htab_find_slot()

10 years agoFix sparc 64-bit GMP ifunc resolution in static builds.
David S. Miller [Tue, 12 Nov 2013 20:48:01 +0000 (12:48 -0800)]
Fix sparc 64-bit GMP ifunc resolution in static builds.

[BZ #16150]
* sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
symbol in the non-vis3 case in static builds.
* sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.

10 years agoPut Bug # to the NEWS file for the previous vDSO l_name fix.
Jan Kratochvil [Mon, 11 Nov 2013 19:03:01 +0000 (20:03 +0100)]
Put Bug # to the NEWS file for the previous vDSO l_name fix.

10 years agoFix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.
Jan Kratochvil [Mon, 11 Nov 2013 17:03:58 +0000 (18:03 +0100)]
Fix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.

10 years agobenchtests: Add strtod benchmark
Adhemerval Zanella [Mon, 11 Nov 2013 13:23:02 +0000 (11:23 -0200)]
benchtests: Add strtod benchmark

10 years agoFix off-by-one in nscd getservbyport call
Andreas Schwab [Mon, 11 Nov 2013 11:24:42 +0000 (12:24 +0100)]
Fix off-by-one in nscd getservbyport call

10 years agoFix build on hurd
Samuel Thibault [Sun, 10 Nov 2013 10:22:32 +0000 (11:22 +0100)]
Fix build on hurd

* string/strcoll_l.c: Include <sys/param.h> for MIN/MAX macros.

10 years agoPowerPC: Fix vDSO missing ODP entries
Adhemerval Zanella [Thu, 7 Nov 2013 11:34:22 +0000 (05:34 -0600)]
PowerPC: Fix vDSO missing ODP entries

This patch fixes the vDSO symbol used directed in IFUNC resolver where
they do not have an associated ODP entry leading to undefined behavior
in some cases. It adds an artificial OPD static entry to such cases
and set its TOC to non 0 to avoid triggering lazy resolutions.

10 years agoMake getent services compliant with RFC 6335 section 5.1 Fixes bug 15374
Ondřej Bílka [Thu, 7 Nov 2013 11:46:57 +0000 (12:46 +0100)]
Make getent services compliant with  RFC 6335 section 5.1 Fixes bug 15374

The RFC 6335 allows services that start with digit (like 3com-tsmux).
These were parsed as port number which this patch fixes.

10 years agoFix build on pre-v9 32-bit Sparc.
David S. Miller [Wed, 6 Nov 2013 21:01:36 +0000 (13:01 -0800)]
Fix build on pre-v9 32-bit Sparc.

We cannot use fnegd in this code, as fnegd was added in v9.
Only fnegs exists in v8 and earlier.

[BZ #15985]
* sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
on pre-v9 cpus, use a fnegs+fmovs sequence instead.

10 years agomanual/memory.texi: Remove register keyword from examples.
Will Newton [Sat, 2 Nov 2013 16:45:48 +0000 (09:45 -0700)]
manual/memory.texi: Remove register keyword from examples.

The register keyword doesn't add any information to the examples
and is not useful for modern compilers.

ChangeLog:

2013-11-06  Will Newton  <will.newton@linaro.org>

* manual/memory.texi (Malloc Examples): Remove register
keyword from examples.

10 years agoRestore ChangeLog
Andreas Schwab [Mon, 4 Nov 2013 16:20:55 +0000 (17:20 +0100)]
Restore ChangeLog

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Mon, 4 Nov 2013 16:21:41 +0000 (11:21 -0500)]
Adjust language-code fields of LC_ADDRESS.

10 years agoCorrect Walaita (wal) and add Unami Delaware (unm).
Chris Leonard [Mon, 4 Nov 2013 16:04:19 +0000 (11:04 -0500)]
Correct Walaita (wal) and add Unami Delaware (unm).

10 years agoDefine __STDC_IEC_559* based on __GCC_IEC_559*.
Joseph Myers [Mon, 4 Nov 2013 15:43:57 +0000 (15:43 +0000)]
Define __STDC_IEC_559* based on __GCC_IEC_559*.

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Mon, 4 Nov 2013 04:51:46 +0000 (23:51 -0500)]
Adjust language-code fields of LC_ADDRESS.

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Mon, 4 Nov 2013 04:10:15 +0000 (23:10 -0500)]
Adjust language-code fields of LC_ADDRESS.

10 years agoAdd Quechua, Southern (quz) and Silesian (szl) to iso-639.def.
Chris Leonard [Sun, 3 Nov 2013 17:43:06 +0000 (12:43 -0500)]
Add Quechua, Southern (quz) and Silesian (szl) to iso-639.def.

10 years agoFix changelog
Ondřej Bílka [Sun, 3 Nov 2013 17:18:27 +0000 (18:18 +0100)]
Fix changelog

10 years agoRemove unused NONTLS_INIT_TP.
Ondřej Bílka [Sun, 3 Nov 2013 17:15:24 +0000 (18:15 +0100)]
Remove unused NONTLS_INIT_TP.

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Sun, 3 Nov 2013 16:13:22 +0000 (11:13 -0500)]
Adjust language-code fields of LC_ADDRESS.

10 years agoFix malloc_info statistic. Fixes bug 16112
Ondřej Bílka [Fri, 1 Nov 2013 14:39:26 +0000 (15:39 +0100)]
Fix malloc_info statistic. Fixes bug 16112

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Fri, 1 Nov 2013 13:38:27 +0000 (09:38 -0400)]
Adjust language-code fields of LC_ADDRESS.

10 years agoAdd Central Nahuatl (nhn).
Chris Leonard [Fri, 1 Nov 2013 13:11:26 +0000 (09:11 -0400)]
Add Central Nahuatl (nhn).

10 years agoFix description of random according to POSIX. Fixes bug 7003
Bruno Haible [Fri, 1 Nov 2013 11:23:51 +0000 (12:23 +0100)]
Fix description of random according to POSIX. Fixes bug 7003

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Fri, 1 Nov 2013 00:26:05 +0000 (20:26 -0400)]
Adjust language-code fields of LC_ADDRESS.

10 years agoAdd Meadow Mari (mhr).
Chris Leonard [Thu, 31 Oct 2013 23:52:31 +0000 (19:52 -0400)]
Add Meadow Mari (mhr).

10 years agoRestrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763.
Ondřej Bílka [Thu, 31 Oct 2013 12:58:01 +0000 (13:58 +0100)]
Restrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763.

10 years agoFix BZ reference
Andreas Schwab [Thu, 31 Oct 2013 11:55:43 +0000 (12:55 +0100)]
Fix BZ reference

10 years agoRefill NEWS
Andreas Schwab [Thu, 31 Oct 2013 11:51:44 +0000 (12:51 +0100)]
Refill NEWS

10 years agoFix parsing of 0e+0 as float
Andreas Schwab [Thu, 31 Oct 2013 11:51:03 +0000 (12:51 +0100)]
Fix parsing of 0e+0 as float

10 years agoAccept make versions 4.0 and greater
Marc-Antoine Perennou [Thu, 31 Oct 2013 02:37:50 +0000 (12:37 +1000)]
Accept make versions 4.0 and greater

10 years agomalloc: Fix for infinite loop in memalign/posix_memalign.
Will Newton [Thu, 10 Oct 2013 12:17:13 +0000 (13:17 +0100)]
malloc: Fix for infinite loop in memalign/posix_memalign.

A very large alignment argument passed to mealign/posix_memalign
causes _int_memalign to enter an infinite loop. Limit the maximum
alignment value to the maximum representable power of two to
prevent this from happening.

Changelog:

2013-10-30  Will Newton  <will.newton@linaro.org>

[BZ #16038]
* malloc/hooks.c (memalign_check): Limit alignment to the
maximum representable power of two.
* malloc/malloc.c (__libc_memalign): Likewise.
* malloc/tst-memalign.c (do_test): Add test for very
large alignment values.
* malloc/tst-posix_memalign.c (do_test): Likewise.

10 years agoUse atomic operations to track memory. Fixes bug 11087
Ondřej Bílka [Wed, 30 Oct 2013 15:24:38 +0000 (16:24 +0100)]
Use atomic operations to track memory. Fixes bug 11087

10 years agoRemove code from div that is by C99 obsolete. Fixes bug 15799
Ondřej Bílka [Wed, 30 Oct 2013 15:07:15 +0000 (16:07 +0100)]
Remove code from div that is by C99 obsolete. Fixes bug 15799

10 years agoFix reads for sizes larger than INT_MAX in AF_INET lookup
Siddhesh Poyarekar [Wed, 30 Oct 2013 10:43:37 +0000 (16:13 +0530)]
Fix reads for sizes larger than INT_MAX in AF_INET lookup

Currently for AF_INET lookups from the hosts file, buffer sizes larger
than INT_MAX silently overflow and may result in access beyond bounds
of a buffer.  This happens when the number of results in an AF_INET
lookup in /etc/hosts are very large.

There are two aspects to the problem.  One problem is that the size
computed from the buffer size is stored into an int, which results in
overflow for large sizes.  Additionally, even if this size was
expanded, the function used to read content into the buffer (fgets)
accepts only int sizes.  As a result, the fix is to have a function
wrap around fgets that calls it multiple times with int sizes if
necessary.

10 years agoAdd ChangeLog entry and fix NEWS for #16078
Siddhesh Poyarekar [Wed, 30 Oct 2013 10:42:08 +0000 (16:12 +0530)]
Add ChangeLog entry and fix NEWS for #16078

10 years agoAdd missing bug number to NEWS
Allan McRae [Wed, 30 Oct 2013 10:15:10 +0000 (20:15 +1000)]
Add missing bug number to NEWS

10 years agoFix ChangeLog formatting issue
Allan McRae [Wed, 30 Oct 2013 10:12:59 +0000 (20:12 +1000)]
Fix ChangeLog formatting issue

10 years agorename configure.in to configure.ac
Mike Frysinger [Wed, 30 Oct 2013 03:20:52 +0000 (13:20 +1000)]
rename configure.in to configure.ac

Autoconf has been deprecating configure.in for quite a long time.
Rename all our configure.in and preconfigure.in files to .ac.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 years agoLet tst-swscanf find its locale
Andreas Schwab [Tue, 29 Oct 2013 15:46:24 +0000 (16:46 +0100)]
Let tst-swscanf find its locale

10 years agoNew-locale-for-anp_IN
Chris Leonard [Tue, 29 Oct 2013 12:30:22 +0000 (08:30 -0400)]
New-locale-for-anp_IN

10 years agoBenchmark inputs for pow
Siddhesh Poyarekar [Mon, 28 Oct 2013 11:06:45 +0000 (16:36 +0530)]
Benchmark inputs for pow

These inputs cover all normal processing paths for pow including all
its slow paths.

10 years agoNew inputs for exp
Siddhesh Poyarekar [Mon, 28 Oct 2013 11:05:07 +0000 (16:35 +0530)]
New inputs for exp

A more comprehensive set of inputs for exp, including all slow paths.
The inputs have been shuffled so that they don't give a false-positive
due to a hot cache.

10 years agoConsolidate conditionals in mp sin/cos functions
Siddhesh Poyarekar [Mon, 28 Oct 2013 10:12:41 +0000 (15:42 +0530)]
Consolidate conditionals in mp sin/cos functions

Consolidate conditionals in multiple precision sin and cos functions
to prepare the code for addition of probe points.

10 years agoFix ChangeLog date.
Adhemerval Zanella [Mon, 28 Oct 2013 10:20:30 +0000 (08:20 -0200)]
Fix ChangeLog date.

10 years agoAdd some more NEWS items.
Joseph Myers [Sat, 26 Oct 2013 00:48:25 +0000 (00:48 +0000)]
Add some more NEWS items.

10 years agoPowerPC: strcpy/stpcpy optimization for PPC64/POWER7
Adhemerval Zanella [Thu, 26 Sep 2013 14:29:19 +0000 (09:29 -0500)]
PowerPC: strcpy/stpcpy optimization for PPC64/POWER7

This patch intends to unify both strcpy and stpcpy implementationsi
for PPC64 and PPC64/POWER7. The idead default powerpc64 implementation
is to provide both doubleword and word aligned memory access.

For PPC64/POWER7 is also provide doubleword and word memory access,
remove the branch hints, use the cmpb instruction for compare
doubleword/words, and add an optimization for inputs of same alignment.

10 years agoFix gethostbyname_r example. Fixes bug 2801.
Ondřej Bílka [Fri, 25 Oct 2013 17:16:08 +0000 (19:16 +0200)]
Fix gethostbyname_r example. Fixes bug 2801.

10 years agoChangelog for last commit.
Ondřej Bílka [Fri, 25 Oct 2013 17:15:14 +0000 (19:15 +0200)]
Changelog for last commit.

10 years agoMake strptime %Z consistent between doc and code. Fixes bug 14876
Ondřej Bílka [Fri, 25 Oct 2013 17:04:47 +0000 (19:04 +0200)]
Make strptime %Z consistent between doc and code. Fixes bug 14876

10 years agoAcknowledge that fnmatch can fail. Fixes bug 14029.
Ondřej Bílka [Fri, 25 Oct 2013 08:42:33 +0000 (10:42 +0200)]
Acknowledge that fnmatch can fail. Fixes bug 14029.

10 years agoDocument that mmap() returns MAP_FAILED on error, as per the POSIX standard.
Fabrice Bauzac [Fri, 25 Oct 2013 08:21:58 +0000 (13:51 +0530)]
Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.

10 years agoFix stack overflow due to large AF_INET6 requests
Siddhesh Poyarekar [Fri, 25 Oct 2013 04:52:12 +0000 (10:22 +0530)]
Fix stack overflow due to large AF_INET6 requests

Resolves #16072 (CVE-2013-4458).

This patch fixes another stack overflow in getaddrinfo when it is
called with AF_INET6.  The AF_UNSPEC case was fixed as CVE-2013-1914,
but the AF_INET6 case went undetected back then.

10 years agoFix incorrect getaddrinfo assertion trigger
Allan McRae [Fri, 25 Oct 2013 04:25:38 +0000 (14:25 +1000)]
Fix incorrect getaddrinfo assertion trigger

[BZ #9954]

With the following /etc/hosts:
127.0.0.1       www.my-domain.es
127.0.1.1       www.my-domain.es
192.168.0.1     www.my-domain.es

Using getaddrinfo() on www.my-domain.es, trigger the following assertion:
../sysdeps/posix/getaddrinfo.c:1473: rfc3484_sort: Assertion
`src->results[i].native == -1 || src->results[i].native == a1_native' failed.

This is due to two different bugs:
- In rfc3484_sort() rule 7, src->results[i].native is assigned even if
src->results[i].index is -1, meaning that no interface is associated.
- In getaddrinfo() the source IP address used with the lo interface needs a
special case, as it can be any IP within 127.X.Y.Z.

10 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Thu, 24 Oct 2013 15:43:38 +0000 (11:43 -0400)]
Adjust language-code fields of LC_ADDRESS.

10 years agoDocument rpcgen -5. Fixes bug 15825
Ondřej Bílka [Mon, 21 Oct 2013 07:58:03 +0000 (09:58 +0200)]
Document rpcgen -5. Fixes bug 15825

10 years agoPrint the reason why preloading failed in do_preload()
Michael Stahl [Sun, 20 Oct 2013 08:34:09 +0000 (10:34 +0200)]
Print the reason why preloading failed in do_preload()

10 years agoWhen glob pattern contains a trailing slash match only directories. Fixes bug 10278.
Ondřej Bílka [Sun, 20 Oct 2013 08:00:31 +0000 (10:00 +0200)]
When glob pattern contains a trailing slash match only directories. Fixes bug 10278.

10 years agoReplace alloca in __tzfile_read by malloc. Fixes bug 15670
Ondřej Bílka [Sun, 20 Oct 2013 06:25:25 +0000 (08:25 +0200)]
Replace alloca in __tzfile_read by malloc. Fixes bug 15670

10 years agoMention FIPS 140-2 compliance and Sun RPC.
Carlos O'Donell [Sat, 19 Oct 2013 04:11:31 +0000 (00:11 -0400)]
Mention FIPS 140-2 compliance and Sun RPC.

The Secure RPC implementation in glibc uses DES encryption
during authentication of the user. This use of DES means
that anyone using Sun RPC will likely not be compliant
with FIPS 140-2 which forbids the use of DES.

One solution to the compliance issue is to disable AUTH_DES
and AUTH_KERB, both use DES, when in FIPS compliance mode.
This is not a good idea because it disables all of the even
mildly secure methods of authentication allowing only plain
text methods.

Instead we leave AUTH_DES and AUTH_KERB enabled in FIPS
compliance mode and document the compliance issue in the
manual. FIPS allows this, that is to say that if you can't
fix it you must document the non-compliance.

This commit adds documentation to that effect in the
"DES encryption and password handling" section of the
manual.