about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add O_TMPFILE to <fcntl.h>Andreas Schwab2013-09-117-0/+24
|
* malloc: Check for integer overflow in memalign.Will Newton2013-09-112-0/+13
| | | | | | | | | | | | | | A large bytes parameter to memalign could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15857] * malloc/malloc.c (__libc_memalign): Check the value of bytes does not overflow.
* malloc: Check for integer overflow in valloc.Will Newton2013-09-112-0/+13
| | | | | | | | | | | | | | A large bytes parameter to valloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15856] * malloc/malloc.c (__libc_valloc): Check the value of bytes does not overflow.
* malloc: Check for integer overflow in pvalloc.Will Newton2013-09-112-0/+13
| | | | | | | | | | | | | | A large bytes parameter to pvalloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15855] * malloc/malloc.c (__libc_pvalloc): Check the value of bytes does not overflow.
* Remove DO_NOT_USE_THIS conditionals.Ondřej Bílka2013-09-106-97/+8
|
* Clarify documentation cross-referenceAllan McRae2013-09-103-4/+9
| | | | | | | | | | | The end of the "Parsing of Floats" subsection currently reads: The GNU C Library also provides '_l' versions of these functions, which take an additional argument, the locale to use in conversion. *Note Parsing of Integers::. Split the final note as it is unrelated to the above comment and reference it with "See also" instead.
* Update pt_chown sections of the manualAllan McRae2013-09-104-18/+19
| | | | | | | The pt-chown binary is discussed in the "Running make install" section without clarification of the needed configure option. Clarify this and simplfy the discription which is already covered in the "Configuring and compiling" section.
* Fix static-binary lazy FPU context allocationMaciej W. Rozycki2013-09-098-11/+69
| | | | | | | | | | | | | | | | | | | Long ago static startup did not parse the auxiliary vector and therefore could not get at any `AT_FPUCW' tag to check whether upon FPU context allocation the kernel would use a FPU control word setting different to that provided by the `__fpu_control' variable. Static startup therefore always initialized the FPU control word, forcing immediate FPU context allocation even for binaries that otherwise never used the FPU. As from GIT commit f8f900ecb9096ec47f5b7bb7626e29223c69061a static startup supports parsing the auxiliary vector, so now it can avoid explicit initialization of the FPU control word, just as can dynamic startup, in the usual case where the setting written to the FPU control word would be the same as the kernel uses. This defers FPU context allocation until the binary itself actually pokes at the FPU. Note that the `AT_FPUCW' tag is usually absent from the auxiliary vector in which case _FPU_DEFAULT is assumed to be the kernel default.
* Fix typo in strcoll exampleAllan McRae2013-09-093-2/+7
|
* Fix memory leak in stdlib/isomac.cAllan McRae2013-09-093-1/+6
|
* Fix memory leaks in libio on allocation failureAllan McRae2013-09-094-4/+13
|
* Fix nesting of ifdefs in netgroupcache.cAllan McRae2013-09-093-3/+8
| | | | Fixes unclosed '{' if HAVE_SENDFILE is defined (BZ #15895).
* malloc: Add realloc test.Will Newton2013-09-093-1/+153
| | | | | | | | | | | | | The current tests don't test the functionality of realloc in detail. Add a new test for realloc that exercises some of the corner cases that are not otherwise tested. ChangeLog: 2013-09-09 Will Newton <will.newton@linaro.org> * malloc/Makefile: Add tst-realloc to tests. * malloc/tst-realloc.c: New file.
* Update to latest versions of GPL-2.0 and LGPL-2.1Allan McRae2013-09-094-68/+65
| | | | | | | | | | Pull copies of these files directly from the GNU website: http://www.gnu.org/licenses/gpl-2.0.txt http://www.gnu.org/licenses/lgpl-2.1.txt Fixes the address of the Free Software Foundation (BZ #15844). Also includes some minor formatting changes and corrects references to the GNU "Library" General Public License.
* Mention --disable-versioning removal in NEWS.Joseph Myers2013-09-071-0/+3
|
* Update Chinese (traditional) translations.David S. Miller2013-09-062-941/+980
| | | | | * po/zh_TW.po: Update Chinese (traditional) translation from translation project.
* Make localedef output generation use more logical interfaces.Richard Sandiford2013-09-0616-1611/+738
|
* Fix trailing whitespaceChris Leonard2013-09-061-1/+1
|
* ChangeLog entry for Deduplicate country_car.Chris Leonard2013-09-061-0/+9
|
* Deduplicate country_car.Chris Leonard2013-09-066-32/+32
|
* benchtests: Add memrchr benchmarkAdhemerval Zanella2013-09-065-4/+74
|
* benchtests/Makefile: Run benchmark for memcpy.Will Newton2013-09-062-5/+9
| | | | | | | | | | The benchmark for memcpy got disabled accidentally. Re-enable it. ChangeLog: 2013-09-06 Will Newton <will.newton@linaro.org> * benchtests/Makefile (string-bench): Add memcpy.
* Coordinate IPv6 definitions for Linux and glibcCarlos O'Donell2013-09-063-29/+64
| | | | | | | | | | This change synchronizes the glibc headers with the Linux kernel headers and arranges to coordinate the definition of structures already defined the Linux kernel UAPI headers. It is now safe to include glibc's netinet/in.h or Linux's linux/in6.h in any order in a userspace application and you will get the same ABI. The ABI is guaranteed by UAPI and glibc.
* PowerPC: fix POWER7 memrchr for some large inputsAdhemerval Zanella2013-09-053-4/+10
|
* Add memrchr testcaseAdhemerval Zanella2013-09-054-1/+196
|
* tst-fanotify: skip when we get back EPERMMike Frysinger2013-09-052-5/+13
| | | | | | | | Since fanotify_init requires CAP_SYS_ADMIN in order to work (which usually means running as root), we need to handle that error case too. Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Define MMAP2_PAGE_SHIFT to -1 for m68k.Joseph Myers2013-09-042-0/+9
|
* conformtest: Fix namespace testing.Joseph Myers2013-09-044-3/+17
|
* Update iso-1427.def and related occurrences.Chris Leonard2013-09-0428-221/+85
|\
| * Remove --disable-versioning.Joseph Myers2013-09-0428-221/+85
| |
* | Update iso-1427.def and related occurrences.Chris Leonard2013-09-048-20/+31
|/
* benchtests: Switch string benchmarks to use bench-timing.h.Will Newton2013-09-0428-502/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch the string benchmarks to using bench-timing.h instead of hp-timing.h directly. This allows the string benchmarks to be run usefully on architectures such as ARM that do not have support for hp-timing.h. In order to do this the tests have been changed from timing each individual call and picking the lowest execution time recorded to timing a number of calls and taking the mean execution time. ChangeLog: 2013-09-04 Will Newton <will.newton@linaro.org> * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro. * benchtests/bench-string.h: Include bench-timing.h instead of including hp-timing.h directly. (INNER_LOOP_ITERS): New define. (HP_TIMING_BEST): Delete macro. (test_init): Remove call to HP_TIMING_DIFF_INIT. * benchtests/bench-memccpy.c: Use bench-timing.h macros instead of hp-timing.h macros. * benchtests/bench-memchr.c: Likewise. * benchtests/bench-memcmp.c: Likewise. * benchtests/bench-memcpy.c: Likewise. * benchtests/bench-memmem.c: Likewise. * benchtests/bench-memmove.c: Likewise. * benchtests/bench-memset.c: Likewise. * benchtests/bench-rawmemchr.c: Likewise. * benchtests/bench-strcasecmp.c: Likewise. * benchtests/bench-strcasestr.c: Likewise. * benchtests/bench-strcat.c: Likewise. * benchtests/bench-strchr.c: Likewise. * benchtests/bench-strcmp.c: Likewise. * benchtests/bench-strcpy.c: Likewise. * benchtests/bench-strcpy_chk.c: Likewise. * benchtests/bench-strlen.c: Likewise. * benchtests/bench-strncasecmp.c: Likewise. * benchtests/bench-strncat.c: Likewise. * benchtests/bench-strncmp.c: Likewise. * benchtests/bench-strncpy.c: Likewise. * benchtests/bench-strnlen.c: Likewise. * benchtests/bench-strpbrk.c: Likewise. * benchtests/bench-strrchr.c: Likewise. * benchtests/bench-strspn.c: Likewise. * benchtests/bench-strstr.c: Likewise.
* benchtests/Makefile: Use LDLIBS instead of LDFLAGS.Will Newton2013-09-042-16/+20
| | | | | | | | | | | LDFLAGS puts the library too early in the command line if --as-needed is being used. Use LDLIBS instead. ChangeLog: 2013-09-04 Will Newton <will.newton@linaro.org> * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
* Add country_car field to LC_ADDRESScjl2013-09-041-0/+3
|
* Add country_car field to LC_ADDRESScjl2013-09-041-0/+146
|
* Add country_car field to LC_ADDRESScjl2013-09-04143-32/+436
|
* Add FSF statement to ayc_PE locale.cjl2013-09-031-3/+3
|
* Add FSF statement to ayc_PE locale.cjl2013-09-031-4/+4
|
* Add FSF statement to ayc_PE locale.cjl2013-09-032-21/+29
|
* Fix lgammaf spurious underflow (bug 15427).Joseph Myers2013-09-036-4/+176
|
* Add unaligned strcmp.Ondřej Bílka2013-09-035-2/+231
|
* Update ht_HT localeChris Leonard2013-09-033-111/+151
| | | | | | | 2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15886] * locales/ht_HT: 1.1 revision of ht_HT locale.
* Add quz_PE localeChris Leonard2013-09-034-2/+179
| | | | | | | | 2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15887] * locales/quz_PE: New locale for quz_PE. * SUPPORTED: Add quz_PE.
* Mark success return value as volatile to work around reschedulingSiddhesh Poyarekar2013-09-033-2/+14
| | | | | | | | | | | | | Resolves #15921 The test case nptl/tst-cleanup2 fails on s390x and power6 due to instruction sheduling in gcc. This was reported in gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58034 but it was concluded that gcc is allowed to assume that the first argument to sprintf is a character array - NULL not being a valid character array.
* hppa: add fanotify_markMike Frysinger2013-09-025-0/+16
| | | | | | | | | | | | | | | | | | | Another example of all the 64bit arches getting the definition via a common file, but the 32bit ones all adding it by themselves and hppa was missed. I'm not entirely sure about the usage of GLIBC_2.19 symbols here. We'd like to backport this so people can use it, but it means we'd be releasing a glibc-2.17/glibc-2.18 with a GLIBC_2.19 symbol in it. But maybe it won't be a big deal since you'd only get that 2.19 ref if you actually used the symbol ? There hasn't been a glibc release where hppa worked w/out a bunch of patches, so in reality there's only two distros that matter -- Gentoo and Debian. Reported-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tst-fanotify: new simple testMike Frysinger2013-09-023-1/+62
| | | | | | Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix spurious jnf underflows (bug 14155).Joseph Myers2013-09-026-10/+68
|
* Fix typo.Ondřej Bílka2013-09-022-1/+5
|
* Use sfi_* macros in armv6t2 strlen.Roland McGrath2013-08-302-9/+16
|
* Make armv6t2 strlen work in ARM mode too.Roland McGrath2013-08-302-2/+30
|