Elliott Hughes
31165edf57
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
...
Change-Id: I74ea88e0d4973d6ab3c57da7d8bb643c31592b14
2014-09-23 18:21:52 -07:00
Dan Albert
3c5037f1b3
Fix incorrect parameter types for locale funcs.
...
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.
Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
2014-09-23 15:32:24 -07:00
Elliott Hughes
151c3e0a22
am 87b6906f: Merge "Pull in upstream fixes to reject invalid bases."
...
* commit '87b6906f6e0c17b2541535be8e054324cc2fef4a':
Pull in upstream fixes to reject invalid bases.
2014-09-23 22:13:17 +00:00
Elliott Hughes
87b6906f6e
Merge "Pull in upstream fixes to reject invalid bases."
2014-09-23 21:59:15 +00:00
Elliott Hughes
b05ec5ae93
Pull in upstream fixes to reject invalid bases.
...
Also add tests to make sure the full set works correctly.
Change-Id: I3e7f237f12c9c93e1185a97c9717803e7e55a73c
2014-09-23 14:53:10 -07:00
Elliott Hughes
e4cdb462dd
am 86421653: Merge "Sync with some upstream OpenBSD #include cleanup."
...
* commit '8642165344217877b8a70811d19e09b584a0e10a':
Sync with some upstream OpenBSD #include cleanup.
2014-09-23 21:49:18 +00:00
Elliott Hughes
c7ee90e4c1
am 0ab5fd9a: Merge "Switch to OpenBSD insque/remque/killpg."
...
* commit '0ab5fd9a5af4cd00572e4881f46c1e6f974f657c':
Switch to OpenBSD insque/remque/killpg.
2014-09-23 21:49:17 +00:00
Elliott Hughes
8642165344
Merge "Sync with some upstream OpenBSD #include cleanup."
2014-09-23 21:27:29 +00:00
Elliott Hughes
0ab5fd9a5a
Merge "Switch to OpenBSD insque/remque/killpg."
2014-09-23 21:26:27 +00:00
Elliott Hughes
49eed7db79
Switch to OpenBSD insque/remque/killpg.
...
Change-Id: Ie02290ad3187b1c1596dd776fd1c8a743a55f7ef
2014-09-23 14:06:56 -07:00
Elliott Hughes
08dc9d83a2
Sync with some upstream OpenBSD #include cleanup.
...
Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
2014-09-23 13:55:15 -07:00
Elliott Hughes
5d953ddd40
am 93951cfa: Merge "Fix a couple more cases of missing CLOEXEC."
...
* commit '93951cfa96c3c7504a78f94e7ec408936e5db9bf':
Fix a couple more cases of missing CLOEXEC.
2014-09-23 01:40:10 +00:00
Elliott Hughes
93951cfa96
Merge "Fix a couple more cases of missing CLOEXEC."
2014-09-23 01:19:52 +00:00
Elliott Hughes
0dc39f9952
Fix a couple more cases of missing CLOEXEC.
...
The debuggerd case can probably never happen, because you're crashing at this
point anyway. The system property one seems possible though.
Change-Id: Idba6a4f1d68587ec5b320d1e25f0b6a987ea32a0
2014-09-22 17:43:09 -07:00
Elliott Hughes
f06c55ac43
am e8a95624: Merge "Test pthread_cleanup_push(3)/pthread_cleanup_pop(3)."
...
* commit 'e8a95624b6ee37f7ee85f0318f1fccd916292ebd':
Test pthread_cleanup_push(3)/pthread_cleanup_pop(3).
2014-09-22 23:46:23 +00:00
Elliott Hughes
e8a95624b6
Merge "Test pthread_cleanup_push(3)/pthread_cleanup_pop(3)."
2014-09-22 23:28:32 +00:00
Elliott Hughes
34c987a6dd
Test pthread_cleanup_push(3)/pthread_cleanup_pop(3).
...
Change-Id: I5a623fa1e1da55f11d51f3a9bdfa0627698c486f
2014-09-22 16:27:19 -07:00
Elliott Hughes
12766c458e
am b2da4562: Merge "Clean up fpathconf(3)/pathconf(3)."
...
* commit 'b2da45625353336452112e28872310903dc70a8f':
Clean up fpathconf(3)/pathconf(3).
2014-09-22 23:04:51 +00:00
Elliott Hughes
b2da456253
Merge "Clean up fpathconf(3)/pathconf(3)."
2014-09-22 22:50:11 +00:00
Elliott Hughes
a186b2e0ca
Clean up fpathconf(3)/pathconf(3).
...
fpathconf(3) and pathconf(3) can share code. There's no such
header file as <pathconf.h>. glibc/POSIX and BSD disagree about where
the _POSIX_* definitions should go.
Change-Id: I4a67f1595c9f5fbb26700a131178eedebd6bf712
2014-09-22 22:49:40 +00:00
Elliott Hughes
c0226cc767
am d9cb0ed2: Merge "Unit test for abort(3)."
...
* commit 'd9cb0ed281f0301ec2ca6828f0acc1ed08dceb8a':
Unit test for abort(3).
2014-09-22 22:08:03 +00:00
Elliott Hughes
d9cb0ed281
Merge "Unit test for abort(3)."
2014-09-22 21:46:56 +00:00
Elliott Hughes
60452a211c
Unit test for abort(3).
...
Change-Id: I021604b977572801f228a193741624df26e76d72
2014-09-22 14:41:30 -07:00
Elliott Hughes
34732f1a17
am 9f423c55: Merge "Use the uapi fs magic in <sys/vfs.h>."
...
* commit '9f423c554a0ffcee2e34472bf0bc1aef3621a822':
Use the uapi fs magic in <sys/vfs.h>.
2014-09-22 17:08:49 +00:00
Elliott Hughes
9f423c554a
Merge "Use the uapi fs magic in <sys/vfs.h>."
2014-09-22 16:51:07 +00:00
Elliott Hughes
c296e4f151
Use the uapi fs magic in <sys/vfs.h>.
...
Change-Id: I712b856a6d786bba400c9a8d08f596b826403731
2014-09-22 09:47:21 -07:00
Elliott Hughes
31c5030d9f
am 413de5b0: Merge "Add semaphore tests, fix sem_destroy."
...
* commit '413de5b0d4ddcf039aaef8b40a5f02d41dbb06e6':
Add semaphore tests, fix sem_destroy.
2014-09-20 20:09:50 +00:00
Christopher Ferris
b743da0191
am e7160449: Merge "Remove references to MALLOC_LEAK_CHECK."
...
* commit 'e716044918d85cd3c34425779a09a24348f7f67a':
Remove references to MALLOC_LEAK_CHECK.
2014-09-20 02:54:07 +00:00
Elliott Hughes
413de5b0d4
Merge "Add semaphore tests, fix sem_destroy."
2014-09-20 01:34:11 +00:00
Elliott Hughes
04303f5a8a
Add semaphore tests, fix sem_destroy.
...
Bug: https://code.google.com/p/android/issues/detail?id=76088
Change-Id: I4a0561b23e90312384d40a1c804ca64ee98f4066
2014-09-19 17:37:06 -07:00
Christopher Ferris
e716044918
Merge "Remove references to MALLOC_LEAK_CHECK."
2014-09-20 00:29:09 +00:00
Christopher Ferris
6fe376d392
Remove references to MALLOC_LEAK_CHECK.
...
This define isn't really used any more.
Bug: 17378595
Change-Id: I39722b83cd98955a3a2514577de34a239524617f
2014-09-19 17:15:12 -07:00
Elliott Hughes
ff4187e9a3
am adc01348: Merge "Add greg_t for arm64."
...
* commit 'adc01348ee51a4ad678b1c277f85cbbed5c2e728':
Add greg_t for arm64.
2014-09-19 18:24:40 +00:00
Elliott Hughes
adc01348ee
Merge "Add greg_t for arm64."
2014-09-19 18:01:23 +00:00
Elliott Hughes
8e4d371091
Add greg_t for arm64.
...
This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).
Change-Id: I0d47a424b505804389853dd8632693dad55a3907
2014-09-19 10:31:49 -07:00
Dan Albert
abc5e4db15
am 13d6023a: Merge "Exclude libstdc++ from linked libraries."
...
* commit '13d6023aac62091a7d1df1c1afa1e228515832cb':
Exclude libstdc++ from linked libraries.
2014-09-19 00:05:37 +00:00
Dan Albert
13d6023aac
Merge "Exclude libstdc++ from linked libraries."
2014-09-18 23:43:24 +00:00
Christopher Ferris
b925c1c78d
am d5e1c583: Merge "Move to v3.16.3 kernel headers."
...
* commit 'd5e1c583a66a821c7d7e8f43e1238a4569981b90':
Move to v3.16.3 kernel headers.
2014-09-18 21:47:50 +00:00
Elliott Hughes
c12827e5f9
am fb8d60f7: Merge "Fix lgamma_r/lgammaf_r/lgammal_r for -0."
...
* commit 'fb8d60f7436d8f90f951fb2efc27449c3aee8046':
Fix lgamma_r/lgammaf_r/lgammal_r for -0.
2014-09-18 21:47:50 +00:00
Christopher Ferris
d5e1c583a6
Merge "Move to v3.16.3 kernel headers."
2014-09-18 21:34:43 +00:00
Elliott Hughes
fb8d60f743
Merge "Fix lgamma_r/lgammaf_r/lgammal_r for -0."
2014-09-18 21:28:35 +00:00
Christopher Ferris
653676dde8
Move to v3.16.3 kernel headers.
...
Change-Id: Ife491bd7630b853a78532dd74e4644438256a3a1
2014-09-18 13:14:58 -07:00
Elliott Hughes
755318548d
Fix lgamma_r/lgammaf_r/lgammal_r for -0.
...
Upstream has implemented lgammal/lgammal_r for ld128, and fixed the
sign problem we reported with all the lgamma*_r functions and -0.
Bug: 17471883
Change-Id: Ibb175d9cab67efae75f1010796fd44c9ba6ce4fc
2014-09-18 11:23:58 -07:00
Elliott Hughes
9969481d5b
Fix an unintended difference between aosp/master and lmp-dev-plus-aosp.
...
Whitespace difference presumably introduced while fixing a merge conflict.
Bug: 17549448
(cherry picked from commit 8fa377eb6afdea4b03b6a0d112471f7ee988fb96)
Change-Id: I7e30f37da4430af19d09a661e489c8ff65e42297
2014-09-18 10:57:57 -07:00
Elliott Hughes
c189ffaaec
More cases where libc should use O_CLOEXEC.
...
(cherry picked from commit f73183f1a34df22b62a3d0bbf82e18d5797c9cde)
(cherry picked from commit 21ce3f506f3b54e4f57a37847375cef9f8aff57f)
Change-Id: I70b240bd40ad8d2ba33ae7ab2618782709fd0d6a
2014-09-18 10:57:16 -07:00
Dan Albert
411ff42f20
Hide ScopedTrace.
...
(cherry-pick of f2c1e7ee78a167ff323b9f45d20532d064d6778d.)
Bug: 11156955
(cherry picked from commit ebb6b4a4d3fab87800b912c9d6ea917f5359f8af)
Change-Id: Ifc10364b35384a9f34e4c2c634dd78a16065a817
2014-09-18 10:54:30 -07:00
Elliott Hughes
d0be539e01
Revert "Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp.""
...
This reverts commit 26c1420fbb68916d66a8621b5efe8bb25cfdad7b.
(cherry picked from commit 9e87f2f876243225deef37645ddceaa5d225cb41)
Change-Id: I46a71a456952e3dd2c2bb0d9934820ffe8dc8469
2014-09-18 10:46:04 -07:00
Elliott Hughes
7d3a8cf667
am 82e71085: Merge "The nextafter functions use the wrong next representable value"
...
* commit '82e71085c23d11030e9950d8d08e30ef249fd73b':
The nextafter functions use the wrong next representable value
2014-09-18 16:11:46 +00:00
Elliott Hughes
397335a0c8
am 6ced0051: Merge "Stack unwinding unit tests."
...
* commit '6ced005123aaedeed7cd653d0baab3fbd511a492':
Stack unwinding unit tests.
2014-09-18 16:11:45 +00:00
Elliott Hughes
82e71085c2
Merge "The nextafter functions use the wrong next representable value"
2014-09-18 15:51:46 +00:00