]>
git.ipfire.org Git - thirdparty/glibc.git/log
Liubov Dmitrieva [Fri, 30 Aug 2013 14:37:28 +0000 (18:37 +0400)]
Implemented bound check support for string/memory routines for x86_64.
TODO: Fix bound check support in strcmp-sse2 and implement in strspn, strstr and strcspn.
Liubov Dmitrieva [Fri, 24 May 2013 09:18:17 +0000 (13:18 +0400)]
Implemented bounds check support for string/memory routines for x86_32.
Warning: Not completed and haven't tested.
Liubov Dmitrieva [Sun, 19 May 2013 14:30:05 +0000 (18:30 +0400)]
Support new siginfo in Glibc for Intel MPX.
Liubov Dmitrieva [Fri, 25 Jan 2013 14:40:50 +0000 (18:40 +0400)]
Intel MPX support for x86_64 and x86_32 pthread routines.
Always use INIT bounds in __tls_get_addr.
Set bounds manually in _Unwind_Resume.
Liubov Dmitrieva [Thu, 29 Aug 2013 12:33:47 +0000 (16:33 +0400)]
Buffer overrun detected by Intel MPX in wcschr test. Fixed.
Liubov Dmitrieva [Sat, 22 Dec 2012 16:51:45 +0000 (20:51 +0400)]
Buffer overrun detected by Intel MPX at sysdeps/unix/sysv/linux/ifaddrs.c [BZ 15698]
Liubov Dmitrieva [Wed, 18 Sep 2013 11:02:30 +0000 (15:02 +0400)]
Buffer overrun detected by Intel MPX in stdlib/strtod_l.c
Liubov Dmitrieva [Wed, 19 Dec 2012 14:56:40 +0000 (18:56 +0400)]
Buffer overrun detected by Intel MPX in stdio-common/scanf13.c. Fixed.
ienkovic [Tue, 25 Dec 2012 11:16:28 +0000 (15:16 +0400)]
Do not block SIGSEGV signal because Intel MPX runtime uses it.
Liubov Dmitrieva [Thu, 29 Aug 2013 13:08:14 +0000 (17:08 +0400)]
Inappropriate code style for Intel MPX in string/strcpy.c and wcsmbc/wcscpy.c
Fix the code if MPX is enabled.
Liubov Dmitrieva [Thu, 29 Aug 2013 15:25:35 +0000 (19:25 +0400)]
Inappropriate code style for Intel MPX in debug/wcscpy_chk.c. Fix the code if MPX is enabled.
Liubov Dmitrieva [Mon, 11 Mar 2013 13:06:38 +0000 (17:06 +0400)]
Inappropriate code style for Intel MPX in debug/wcpcpy_chk. Fix the code if MPX is enabled.
Liubov Dmitrieva [Mon, 27 May 2013 14:54:53 +0000 (18:54 +0400)]
Inappropriate code style for Intel MPX at wcsmbs/wcpcpy.c. Use other implementation if MPX is enabled.
Liubov Dmitrieva [Thu, 20 Dec 2012 14:46:38 +0000 (18:46 +0400)]
Inappropriate code style for Intel MPX at posix/fnmatch_loop.c. Fixed.
Liubov Dmitrieva [Thu, 20 Dec 2012 14:23:10 +0000 (18:23 +0400)]
Inappropriate code style for Intel MPX at argp/argp-help.c. Fixed.
Liubov Dmitrieva [Wed, 19 Dec 2012 13:03:44 +0000 (17:03 +0400)]
Inappropriate code style for Intel MPX. Expand bounds in crypt/crypt.c
Liubov Dmitrieva [Wed, 19 Dec 2012 10:55:21 +0000 (14:55 +0400)]
Inappropriate code style for Intel MPX in libio/fileops.c.
Use INIT (maximum) bounds as it is hard to rewrite the algorithm.
Liubov Dmitrieva [Thu, 8 Nov 2012 12:35:39 +0000 (16:35 +0400)]
Inappropriate code style for Intel MPX in elf/dl-close.c
A cast implies memory access with bounds violation.
Let allow that.
Liubov Dmitrieva [Tue, 18 Dec 2012 15:42:52 +0000 (19:42 +0400)]
Inappropriate code style for Intel MPX in crypt/crypt_util.c. Fixed.
Liubov Dmitrieva [Mon, 15 Oct 2012 11:01:09 +0000 (15:01 +0400)]
Inappropriate code style for Intel MPX. Fix missing of bounds in sysdeps/generic/unwind-dw2-fde.h
Liubov Dmitrieva [Fri, 14 Dec 2012 14:41:37 +0000 (18:41 +0400)]
Inappropriate code style for Intel MPX in debug/strcpy_chk.c Use different version if MPX enabled.
Liubov Dmitrieva [Fri, 23 Nov 2012 14:50:27 +0000 (18:50 +0400)]
If Intel MPX enabled: always compile with -fno-check-pointers file elf/dl-init.c
because this file contains the code excecuting before runtime library
initialization happens.
Liubov Dmitrieva [Mon, 17 Dec 2012 09:44:21 +0000 (13:44 +0400)]
Add attribute __bnd_variable_size to make using flexible size arrays Intel MPX complient.
Liubov Dmitrieva [Mon, 21 Jan 2013 11:35:12 +0000 (15:35 +0400)]
Use C code instead of inline assembler in macros of tls.h for i386 (for Intel MPX only).
Liubov Dmitrieva [Sat, 10 Nov 2012 08:22:56 +0000 (12:22 +0400)]
Use C code instead of inline assembler in macros of tls.h for x86_64 (for Intel MPX only).
Liubov Dmitrieva [Wed, 24 Oct 2012 12:00:49 +0000 (16:00 +0400)]
Intel MPX support for mmap and mremap wrappers of syscalls for x86_32 and x86_64.
Create bounds.
Use C wrapper of syscall instead of assembler wrapper for x86_64.
Liubov Dmitrieva [Wed, 10 Oct 2012 15:28:57 +0000 (19:28 +0400)]
Save/restore bounds in x86_64 and x86_32 version of _dl_runtime_resolve.
Liubov Dmitrieva [Mon, 23 Jul 2012 15:39:27 +0000 (19:39 +0400)]
Add Intel MPX support to malloc allocator.
Liubov Dmitrieva [Mon, 2 Sep 2013 09:21:47 +0000 (13:21 +0400)]
Add --enable-mpx and --enable-mpx-write-only option to configure for Intel MPX support.
Joseph Myers [Mon, 2 Sep 2013 14:51:24 +0000 (14:51 +0000)]
Fix spurious jnf underflows (bug 14155).
Ondřej Bílka [Mon, 2 Sep 2013 09:24:36 +0000 (11:24 +0200)]
Fix typo.
Roland McGrath [Fri, 30 Aug 2013 18:16:52 +0000 (11:16 -0700)]
Use sfi_* macros in armv6t2 strlen.
Roland McGrath [Fri, 30 Aug 2013 17:43:39 +0000 (10:43 -0700)]
Make armv6t2 strlen work in ARM mode too.
Ondřej Bílka [Fri, 30 Aug 2013 16:09:30 +0000 (18:09 +0200)]
Fix then/than typos.
Ondřej Bílka [Fri, 30 Aug 2013 12:32:07 +0000 (14:32 +0200)]
Fix typos.
Will Newton [Thu, 29 Aug 2013 19:10:26 +0000 (20:10 +0100)]
ARM: Fix clone code when built for Thumb.
The mov lr, pc instruction will lose the Thumb bit from the return address
so use blx lr instead.
ports/ChangeLog.arm:
2013-08-30 Will Newton <will.newton@linaro.org>
[BZ #15909]
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx
instead of mov lr, pc.
Will Newton [Fri, 9 Aug 2013 08:36:41 +0000 (09:36 +0100)]
sysdeps/arm/armv6t2/strlen.S: strlen implementation for armv6t2.
This implementation of strlen is faster than the armv6 version for
all string lengths greater than 1 on a Cortex-A15.
ports/ChangeLog.arm:
2013-08-09 Will Newton <will.newton@linaro.org>
* sysdeps/arm/armv6t2/strlen.S: New file.
Ondřej Bílka [Fri, 30 Aug 2013 08:14:37 +0000 (10:14 +0200)]
Fix rawmemchr regression on bulldozer.
Roland McGrath [Thu, 29 Aug 2013 21:15:45 +0000 (14:15 -0700)]
Fix up ChangeLog formatting.
Ondřej Bílka [Thu, 29 Aug 2013 16:10:58 +0000 (18:10 +0200)]
Remove aix specific files.
Thomas Schwinge [Thu, 29 Aug 2013 10:06:14 +0000 (12:06 +0200)]
Hurd: Add ESUCCESS error_t value.
Samuel Thibault [Sun, 24 Jun 2007 15:45:35 +0000 (17:45 +0200)]
Hurd: Use __executable_start symbol instead of _start.
_start points to the first instruction, not to the ELF header.
__executable_start does point on the ELF header.
Thomas Schwinge [Sun, 26 May 2013 18:59:55 +0000 (20:59 +0200)]
Support ELFOSABI_GNU on all GNU systems.
Thomas Schwinge [Sun, 26 May 2013 18:58:06 +0000 (20:58 +0200)]
Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
Thomas Schwinge [Thu, 23 May 2013 16:00:10 +0000 (18:00 +0200)]
[BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
Thomas Schwinge [Thu, 23 May 2013 15:31:42 +0000 (17:31 +0200)]
math: Additional type conversion tests
These have helped me find and fix type conversion issues in QEMU's MIPS
hardware emulation. While certainly glibc is not the best place for such
tests, they're just an enhancement of tests already present.
Ondřej Bílka [Thu, 29 Aug 2013 07:08:54 +0000 (09:08 +0200)]
Fix typos.
Carlos O'Donell [Thu, 29 Aug 2013 04:17:33 +0000 (00:17 -0400)]
ARM: Pass dl_hwcap to IFUNC resolver.
For REL relocs pass dl_hwcap to the IFUNC resolver
as is required by the IFUNC API (bug 15905).
Siddhesh Poyarekar [Wed, 28 Aug 2013 04:14:19 +0000 (09:44 +0530)]
Use __glibc_unlikely instead of __builtin_expect (..., 0)
Mike Frysinger [Mon, 26 Aug 2013 04:21:26 +0000 (00:21 -0400)]
[BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions
Since the dlopen funcs might invoke a constructor that calls a func
that is in the same compilation unit as the caller, we cannot mark
them as leaf funcs.
Similarly, dlclose might invoke a destructor that calls a func that
is in the same compilation unit as the caller.
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=15897
Reportedy-by: Fabrice Bauzac <libnoon@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Roland McGrath [Tue, 27 Aug 2013 18:09:33 +0000 (11:09 -0700)]
Clean up h_errno declaration to use __thread unconditionally.
Roland McGrath [Tue, 27 Aug 2013 18:04:46 +0000 (11:04 -0700)]
Clean up _res declaration to use __thread unconditionally.
Roland McGrath [Tue, 27 Aug 2013 17:59:57 +0000 (10:59 -0700)]
Cope without sunrpc.
Roland McGrath [Tue, 27 Aug 2013 17:50:06 +0000 (10:50 -0700)]
Don't try to use ioctl unless [FIONREAD].
Roland McGrath [Tue, 27 Aug 2013 17:49:36 +0000 (10:49 -0700)]
Mild decrufting in resolv code.
Roland McGrath [Tue, 27 Aug 2013 17:42:52 +0000 (10:42 -0700)]
True stub __ifreq.
Roland McGrath [Tue, 27 Aug 2013 17:34:16 +0000 (10:34 -0700)]
Clean up __libc_sa_len helper.
Roland McGrath [Tue, 27 Aug 2013 17:33:15 +0000 (10:33 -0700)]
Replace generic bits/socket.h with 4.4 file.
Roland McGrath [Tue, 27 Aug 2013 17:32:30 +0000 (10:32 -0700)]
Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK.
Andreas Schwab [Wed, 17 Jul 2013 08:26:58 +0000 (10:26 +0200)]
Fix missing declaration of LC_CTYPE nonascii-case element
Andreas Schwab [Mon, 29 Jul 2013 12:58:41 +0000 (14:58 +0200)]
Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 strcasecmp/strncasecmp
Roland McGrath [Mon, 26 Aug 2013 22:11:47 +0000 (15:11 -0700)]
Make stub lxstat64 call xstat64, like stub lxstat calls xstat.
Roland McGrath [Mon, 26 Aug 2013 22:04:02 +0000 (15:04 -0700)]
Use proper #include for xdecrypt declarations.
Siddhesh Poyarekar [Mon, 26 Aug 2013 10:12:29 +0000 (15:42 +0530)]
Initialize res_hconf in nscd
Fixes BZ #15890.
Andreas Schwab [Wed, 21 Aug 2013 08:19:01 +0000 (10:19 +0200)]
Fix dependencies for stdlib/tst-tls-atexit
Siddhesh Poyarekar [Mon, 26 Aug 2013 05:23:02 +0000 (10:53 +0530)]
Fix indentation in aicache.c
Mike Frysinger [Sun, 25 Aug 2013 20:01:52 +0000 (16:01 -0400)]
configure: add missing quotes in $build_pt_chown test
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Fri, 23 Aug 2013 19:45:38 +0000 (19:45 +0000)]
Fix cexp (NaN + i0) (bug 15532).
David S. Miller [Thu, 22 Aug 2013 23:35:51 +0000 (16:35 -0700)]
Add Ukrainian translations.
* po/uk.po: Add Ukrainian translations from translation project.
David S. Miller [Thu, 22 Aug 2013 23:30:34 +0000 (16:30 -0700)]
Update Catalan translations.
* po/ca.po: Update Catalan translation from translation project.
Maciej W. Rozycki [Thu, 22 Aug 2013 16:50:20 +0000 (17:50 +0100)]
MIPS: Correct the handling of reserved FCSR bits
Reserved bits in the Floating-Point Control and Status Register (FCSR)
should not be implicitly cleared by fedisableexcept or feenableexcept,
there is no reason to. Among these are the 8 condition codes and one of
the two bits reserved for architecture implementers (bits #22 & #21).
As to the latter, there is no reason to treat any of them as reserved
either, they should be user controllable and settable via __fpu_control
override as the user sees fit. For example in processors implemented by
MIPS Technologies, such as the 5Kf or the 24Kf, these bits are used to
change the treatment of denormalised operands and tiny results: bit #22
is Flush Override (FO) and bit #21 is Flush to Nearest (FN). They cause
non-IEEE-compliant behaviour, but some programs may have a use for such
modes of operation; the library should not obstruct such use just as it
does not for the architectural Flush to Zero (FS) bit (bit #24).
Therefore the change adjusts the reserved mask accordingly and also
documents the distinction between bits 22:21 and 20:18.
Joseph Myers [Wed, 21 Aug 2013 19:58:42 +0000 (19:58 +0000)]
Add bug 15867 to NEWS.
Joseph Myers [Wed, 21 Aug 2013 19:56:48 +0000 (19:56 +0000)]
Fix fdim handling of infinities (bug 15797).
Ondřej Bílka [Wed, 21 Aug 2013 17:48:48 +0000 (19:48 +0200)]
Fix typos.
Liubov Dmitrieva [Wed, 21 Aug 2013 14:24:44 +0000 (18:24 +0400)]
i686: Skip SSE4_2 version for strcmp, strncmp, strncase, strcasecmp
if bit_Slow_SSE4_2 is set.
Adhemerval Zanella [Tue, 20 Aug 2013 20:01:59 +0000 (15:01 -0500)]
PowerPC: fix backtrace to handle signal trampolines
This patch fixes backtrace for PPC32 and PPC64 to correctly handle
signal trampolines. The 'debug/tst-backtrace6.c' also check for
SA_SIGINFO handling, where is triggers another vDSO symbols for PPC32.
Joseph Myers [Tue, 20 Aug 2013 19:41:15 +0000 (19:41 +0000)]
Fix cproj handling of (finite, NaN) arguments (bug 15531).
Joseph Myers [Tue, 20 Aug 2013 19:38:23 +0000 (19:38 +0000)]
Include <string.h> in sysdeps/unix/sysv/linux/mmap64.c.
Joseph Myers [Tue, 20 Aug 2013 16:43:59 +0000 (16:43 +0000)]
Use __getpagesize and __ffs in MMAP2_PAGE_SHIFT == -1 case of mmap64.
Joseph Myers [Tue, 20 Aug 2013 16:41:25 +0000 (16:41 +0000)]
Remove trailing blank lines when generating INSTALL.
Andreas Krebbel [Tue, 20 Aug 2013 12:13:59 +0000 (14:13 +0200)]
* sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
Align 32 bit compat elf_greg to 8 bytes.
Andreas Arnez [Tue, 20 Aug 2013 12:03:04 +0000 (14:03 +0200)]
* elf/setup-vdso.h (setup_vdso): Fix missing string termination.
Siddhesh Poyarekar [Tue, 20 Aug 2013 03:10:05 +0000 (08:40 +0530)]
Simplify strcoll implementation
Break up strcoll into simpler functions so that the logic is easier to
follow and maintain.
Alexandre Oliva [Sat, 17 Aug 2013 04:24:00 +0000 (01:24 -0300)]
PR 15483
* sysdeps/powerpc/nofpu/sim-full.c: Add FIXME note about
the need for thread-specific variables preserved across signal
handlers.
* sysdeps/powerpc/nofpu/soft-supp.h: Likewise.
* sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
Florian Weimer [Fri, 16 Aug 2013 07:38:52 +0000 (09:38 +0200)]
CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
member.
* sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
member.
* sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
* sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
conditional.
* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
GETDENTS_64BIT_ALIGNED.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
* manual/filesys.texi (Reading/Closing Directory): Document
ENAMETOOLONG return value of readdir_r. Recommend readdir more
strongly.
* manual/conf.texi (Limits for Files): Add portability note to
NAME_MAX, PATH_MAX.
(Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
Andreas Schwab [Wed, 17 Jul 2013 12:53:24 +0000 (14:53 +0200)]
Fix cbrtl for ldbl-96
David S. Miller [Mon, 12 Aug 2013 20:43:14 +0000 (13:43 -0700)]
Open development for 2.19.
* version.h (RELEASE): Set to "development".
(VERSION): Set to "2.18.90".
* NEWS: Add 2.19 section.
David S. Miller [Sat, 10 Aug 2013 22:52:55 +0000 (15:52 -0700)]
Update version.h and include/features.h for 2.18 release.
Andreas Schwab [Tue, 6 Aug 2013 09:13:03 +0000 (11:13 +0200)]
Fix typo in ChangeLog
David S. Miller [Sat, 3 Aug 2013 17:35:26 +0000 (10:35 -0700)]
Update Korean translations.
* po/ko.po: Update Korean translation from translation project.
David S. Miller [Fri, 2 Aug 2013 00:27:04 +0000 (17:27 -0700)]
Update manual/contrib.texi
* manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
Bilka.
David S. Miller [Tue, 30 Jul 2013 18:27:46 +0000 (11:27 -0700)]
Update French translations.
* po/fr.po: Update French translation from translation project.
David S. Miller [Sun, 28 Jul 2013 20:01:03 +0000 (13:01 -0700)]
Update Czech translations.
* po/cs.po: Update Czech translation from translation project.
David S. Miller [Sun, 28 Jul 2013 18:11:13 +0000 (11:11 -0700)]
Update Swedish translations.
* po/sv.po: Update Swedish translation from translation project.
David S. Miller [Sun, 28 Jul 2013 00:49:14 +0000 (17:49 -0700)]
Update Esperanto translations.
* po/eo.po: Update Esperanto translation from translation project.
David S. Miller [Sat, 27 Jul 2013 08:49:29 +0000 (01:49 -0700)]
Update Vietnamese translations.
* po/vi.po: Update Vietnamese translation from translation project.
David S. Miller [Sat, 27 Jul 2013 07:56:58 +0000 (00:56 -0700)]
Update German translations.
* po/de.po: Update German translation from translation project.
David S. Miller [Fri, 26 Jul 2013 22:58:17 +0000 (15:58 -0700)]
Update Bulgarian translations.
* po/bg.po: Update Bulgarian translation from translation project.
David S. Miller [Fri, 26 Jul 2013 20:21:03 +0000 (13:21 -0700)]
Update Dutch, Polish, and Russian translations.
* po/nl.po: Update Dutch translation from translation project.
* po/pl.po: Update Polish translation from translation project.
* po/ru.po: Update Russian translation from translation project.
Marcus Shawcroft [Fri, 26 Jul 2013 07:29:17 +0000 (08:29 +0100)]
[AArch64] Provide symbol version for _mcount.