Andreas Schwab
ffabd3937a
Fix dependencies for stdlib/tst-tls-atexit
2013-08-26 10:21:59 +02:00
Siddhesh Poyarekar
e0a69f5cb8
Fix indentation in aicache.c
2013-08-26 10:53:02 +05:30
Mike Frysinger
8c12f01d07
configure: add missing quotes in $build_pt_chown test
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-08-25 16:02:09 -04:00
Joseph Myers
8fe89494e6
Fix cexp (NaN + i0) (bug 15532).
2013-08-23 19:45:38 +00:00
David S. Miller
936241e4b2
Add Ukrainian translations.
...
* po/uk.po: Add Ukrainian translations from translation project.
2013-08-22 16:35:51 -07:00
David S. Miller
75b181d615
Update Catalan translations.
...
* po/ca.po: Update Catalan translation from translation project.
2013-08-22 16:30:34 -07:00
Maciej W. Rozycki
b72ca61b71
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.
2013-08-22 17:55:17 +01:00
Joseph Myers
d1141ff6c8
Add bug 15867 to NEWS.
2013-08-21 19:58:42 +00:00
Joseph Myers
acd06bb11f
Fix fdim handling of infinities (bug 15797).
2013-08-21 19:56:48 +00:00
Ondřej Bílka
c0c3f78afb
Fix typos.
2013-08-21 19:48:48 +02:00
Liubov Dmitrieva
46ed103824
i686: Skip SSE4_2 version for strcmp, strncmp, strncase, strcasecmp
...
if bit_Slow_SSE4_2 is set.
2013-08-21 18:25:08 +04:00
Adhemerval Zanella
d400dcac5e
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.
2013-08-20 15:05:49 -05:00
Joseph Myers
c980f2f4fe
Fix cproj handling of (finite, NaN) arguments (bug 15531).
2013-08-20 19:41:15 +00:00
Joseph Myers
0716c4fc9f
Include <string.h> in sysdeps/unix/sysv/linux/mmap64.c.
2013-08-20 19:38:23 +00:00
Joseph Myers
42c8fdd8f1
Use __getpagesize and __ffs in MMAP2_PAGE_SHIFT == -1 case of mmap64.
2013-08-20 16:43:59 +00:00
Joseph Myers
b31469d0d4
Remove trailing blank lines when generating INSTALL.
2013-08-20 16:41:25 +00:00
Andreas Krebbel
4e39af6eca
* sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
...
Align 32 bit compat elf_greg to 8 bytes.
2013-08-20 14:13:59 +02:00
Andreas Arnez
f315524e03
* elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2013-08-20 14:03:04 +02:00
Siddhesh Poyarekar
1326ba1af2
Simplify strcoll implementation
...
Break up strcoll into simpler functions so that the logic is easier to
follow and maintain.
2013-08-20 08:40:06 +05:30
Alexandre Oliva
3f8b479fe0
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.
2013-08-17 01:24:00 -03:00
Florian Weimer
91ce40854d
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.
2013-08-16 09:40:34 +02:00
Andreas Schwab
ca0a6bc4c5
Fix cbrtl for ldbl-96
2013-08-13 09:45:02 +02:00
David S. Miller
6c1fd79571
Open development for 2.19.
...
* version.h (RELEASE): Set to "development".
(VERSION): Set to "2.18.90".
* NEWS: Add 2.19 section.
2013-08-12 13:43:14 -07:00
David S. Miller
eefa3be8e4
Update version.h and include/features.h for 2.18 release.
2013-08-10 15:52:55 -07:00
Andreas Schwab
85891acadf
Fix typo in ChangeLog
2013-08-06 11:13:48 +02:00
David S. Miller
31ad488dff
Update Korean translations.
...
* po/ko.po: Update Korean translation from translation project.
2013-08-03 10:35:26 -07:00
David S. Miller
db24e6842d
Update manual/contrib.texi
...
* manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
Bilka.
2013-08-01 17:27:04 -07:00
David S. Miller
f723285b13
Update French translations.
...
* po/fr.po: Update French translation from translation project.
2013-07-30 11:27:46 -07:00
David S. Miller
30bbc0ccfa
Update Czech translations.
...
* po/cs.po: Update Czech translation from translation project.
2013-07-28 13:01:03 -07:00
David S. Miller
3cbc52dbbc
Update Swedish translations.
...
* po/sv.po: Update Swedish translation from translation project.
2013-07-28 11:11:13 -07:00
David S. Miller
f1a7f49259
Update Esperanto translations.
...
* po/eo.po: Update Esperanto translation from translation project.
2013-07-27 17:49:14 -07:00
David S. Miller
90e62a4aae
Update Vietnamese translations.
...
* po/vi.po: Update Vietnamese translation from translation project.
2013-07-27 01:49:29 -07:00
David S. Miller
d492e6d080
Update German translations.
...
* po/de.po: Update German translation from translation project.
2013-07-27 00:56:58 -07:00
David S. Miller
641aa7b459
Update Bulgarian translations.
...
* po/bg.po: Update Bulgarian translation from translation project.
2013-07-26 15:58:17 -07:00
David S. Miller
d4baa62d45
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.
2013-07-26 13:21:03 -07:00
Marcus Shawcroft
f8b4877a75
[AArch64] Provide symbol version for _mcount.
2013-07-26 08:29:17 +01:00
David S. Miller
61a9dcb9d6
Update libc.pot in preparation for giving tarball to translation project.
...
* po/libc.pot: Update.
2013-07-25 12:02:15 -07:00
Ryan S. Arnold
be063fa458
Added NEWS entries for AT_HWCAP2 and POWER8 enablement.
2013-07-25 10:49:13 -05:00
Carlos O'Donell
cb821cb175
hppa: Regenerate libm-test-ulps.
2013-07-23 23:49:00 -04:00
David S. Miller
135529b443
Remove Linux kernel version ambiguity in comment added by previous commit.
...
* tst-cancel4.c (WRITE_BUFFER_SIZE): Adjust comment.
2013-07-23 11:31:39 -07:00
Adhemerval Zanella
7b1f8b581f
PowerPC: use _dl_static_init to set GLRO(gl_pagesize)
...
This patch fixes dlfcn/tststatic5 for PowerPC where pagesize
variable was not properly initialized in certain cases. This patch
is based on other architecture code.
2013-07-23 07:39:57 -05:00
David S. Miller
e7074e4c5e
Increase nptl test case buffer size so we really block on current Linux kernels.
...
* tst-cancel4.c (WRITE_BUFFER_SIZE): Increase to 16384.
2013-07-23 02:31:37 -07:00
Chris Metcalf
1fe2988f52
tile BZ #15759 : Fix bug in _dl_unmap
...
We returned without calling __munmap if not in the simulator.
Now we call a separate sim_dlclose() function to make the
control flow work correctly.
2013-07-22 11:56:36 -04:00
Andreas Krebbel
a8fc7a03a8
S/390: ULPs update.
2013-07-22 09:51:52 +02:00
Carlos O'Donell
e4608715e6
CVE-2013-2207, BZ #15755 : Disable pt_chown.
...
The helper binary pt_chown tricked into granting access to another
user's pseudo-terminal.
Pre-conditions for the attack:
* Attacker with local user account
* Kernel with FUSE support
* "user_allow_other" in /etc/fuse.conf
* Victim with allocated slave in /dev/pts
Using the setuid installed pt_chown and a weak check on whether a file
descriptor is a tty, an attacker could fake a pty check using FUSE and
trick pt_chown to grant ownership of a pty descriptor that the current
user does not own. It cannot access /dev/pts/ptmx however.
In most modern distributions pt_chown is not needed because devpts
is enabled by default. The fix for this CVE is to disable building
and using pt_chown by default. We still provide a configure option
to enable hte use of pt_chown but distributions do so at their own
risk.
2013-07-21 15:39:55 -04:00
David S. Miller
da2d62df77
Update Sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
difference between 32-bit and 64-bit.
2013-07-20 16:47:28 -07:00
Andreas Schwab
106bd84baa
m68k: use _dl_static_init to set GLR0(dl_pagesize)
2013-07-21 00:43:54 +02:00
Chris Metcalf
19a601f7b2
tile: add missing semicolon in <bits/ptrace.h>
...
Change 521c6785e1
added the enum but missed the semicolon.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-07-19 13:06:30 -04:00
Dominik Vogt
075b9322c9
Clean up whitespace in lock elision patches.
...
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2013-07-19 02:35:04 -04:00
Dominik Vogt
d3d3ce982a
Remove remains of rwlock elision which is not implemented yet.
...
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
---
nptl/
2013-07-19 Dominik Vogt <vogt@de.ibm.com>
* sysdeps/unix/sysv/linux/x86/elision-conf.c:
Remove __rwlock_rtm_enabled and __rwlock_rtm_read_retries.
(elision_init): Don't set __rwlock_rtm_enabled.
* sysdeps/unix/sysv/linux/x86/elision-conf.h:
Remove __rwlock_rtm_enabled.
2013-07-19 02:23:28 -04:00