Christopher Ferris
8cf61dab5f
Add __memcpy_chk assembly for 64 bit.
...
Bug: 17623887
Change-Id: I443723bc941b40f84884b330d222baabee01f868
2014-09-26 12:47:04 -07:00
Elliott Hughes
e74a9d0b35
am aaad5485: Merge "Re-expose more stdio implementation details for LP32." into lmp-dev
...
* commit 'aaad548535c34e2bba16b2a0b71173e0ae4b16c0':
Re-expose more stdio implementation details for LP32.
2014-09-25 03:13:56 +00:00
Elliott Hughes
abefc93ff3
Re-expose more stdio implementation details for LP32.
...
Keeps a variety of apps running.
(cherry-pick of 5def2f5aecd968e4022b0afbe4441fa7ba3e7c7e.)
Bug: 17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
2014-09-24 20:07:10 -07:00
Elliott Hughes
5def2f5aec
Re-expose more stdio implementation details for LP32.
...
Keeps a variety of apps running.
Bug: 17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
2014-09-24 17:20:53 -07:00
Elliott Hughes
49471f3809
am 567d3fcb: Merge "Switch to OpenBSD fopen/fclose."
...
* commit '567d3fcb7ece287a84912183e91eff851fa48fc2':
Switch to OpenBSD fopen/fclose.
2014-09-24 20:44:46 +00:00
Elliott Hughes
d98cac5fbb
am 4fcfd3a4: Merge "Sync with current upstream getopt_long.c."
...
* commit '4fcfd3a474ae5a9e5095ca92a10a8aaa0a3dae5a':
Sync with current upstream getopt_long.c.
2014-09-24 20:44:45 +00:00
Elliott Hughes
567d3fcb7e
Merge "Switch to OpenBSD fopen/fclose."
2014-09-24 20:24:48 +00:00
Elliott Hughes
af12924f67
Sync with current upstream getopt_long.c.
...
Change-Id: I269195aa581a688fd3eb99552d506b8f5f6a8395
2014-09-24 12:39:34 -07:00
Elliott Hughes
5a69da8d7a
Switch to OpenBSD fopen/fclose.
...
This means all our stdio implementation is now the OpenBSD implementation.
The only thing we lose is the STDIO_THREAD_LOCK calls but they were no-ops
anyway.
We should probably talk to upstream about this. Either fix the locking or,
preferably, encourage them to move away from this pooling (especially since
there's no eviction policy).
Bug: 17154680
Change-Id: Ie2523e444a7d0965b8d141d57e3e11f6432d5b9a
2014-09-24 11:14:36 -07:00
Elliott Hughes
7a2a1a8b6c
am f05410ed: Merge "Sync with upstream findfp.c."
...
* commit 'f05410edc634040f96643b8f378320faddfef423':
Sync with upstream findfp.c.
2014-09-24 18:09:37 +00:00
Elliott Hughes
f05410edc6
Merge "Sync with upstream findfp.c."
2014-09-24 17:48:59 +00:00
Dan Albert
0d78bad579
am 21db6ff1: Merge "Coverage configs for bionic."
...
* commit '21db6ff108a8df43582bf2ca0d7d6c925f26b5e5':
Coverage configs for bionic.
2014-09-24 17:45:54 +00:00
Elliott Hughes
c08c25b4c9
Sync with upstream findfp.c.
...
Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
2014-09-24 10:32:30 -07:00
Dan Albert
21db6ff108
Merge "Coverage configs for bionic."
2014-09-24 17:28:04 +00:00
Dan Albert
c2d39088d8
Coverage configs for bionic.
...
Bug: 17553780
Change-Id: Iee7d0c210e2379e71e0c1e4e7058bce23f61e8cd
2014-09-24 10:26:41 -07:00
Dan Albert
b14a903421
am fc5a93f7: Merge "Fix incorrect parameter types for locale funcs."
...
* commit 'fc5a93f7a2ea2be740f2c909e8a6a192fa65adc8':
Fix incorrect parameter types for locale funcs.
2014-09-24 16:13:50 +00:00
Dan Albert
086bb382db
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
(cherry picked from commit 3c5037f1b3b747e79d17a5f717d9f9c365132d33)
2014-09-24 09:00:42 -07:00
Dan Albert
fc5a93f7a2
Merge "Fix incorrect parameter types for locale funcs."
2014-09-24 16:00:07 +00:00
Elliott Hughes
f6067fa2e0
am ebf37e38: Merge "Switch to OpenBSD flags.c."
...
* commit 'ebf37e38861e376ae47c72d45ab8de6703dd18f0':
Switch to OpenBSD flags.c.
2014-09-24 05:08:23 +00:00
Elliott Hughes
ebf37e3886
Merge "Switch to OpenBSD flags.c."
2014-09-24 04:50:45 +00:00
Christopher Ferris
f5da2641c3
am 04643c18: Merge "Remove the unnecessary generic-neon code."
...
* commit '04643c181c3256348a6fd78e54c8bc5527ad0b0a':
Remove the unnecessary generic-neon code.
2014-09-24 04:15:16 +00:00
Christopher Ferris
04643c181c
Merge "Remove the unnecessary generic-neon code."
2014-09-24 04:01:23 +00:00
Elliott Hughes
a71b4c3f14
Switch to OpenBSD flags.c.
...
Change-Id: I0a35e5bd9f8edba27e0c73e5c8150636346d6a81
2014-09-23 20:02:42 -07:00
Elliott Hughes
42317a0e50
am c57e5c82: Merge "CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps."
...
* commit 'c57e5c828914714a283dd41f0a4adb064f6b8763':
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
2014-09-24 02:10:59 +00:00
Christopher Ferris
2169e17482
Remove the unnecessary generic-neon code.
...
Change-Id: Ib75c33caafd76750ec1aca3a74dec5e4b881e965
2014-09-23 18:31:45 -07:00
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
0d44da9eb4
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:12:57 +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
3a86c0fd90
am 86421653: Merge "Sync with some upstream OpenBSD #include cleanup."
...
* commit '8642165344217877b8a70811d19e09b584a0e10a':
Sync with some upstream OpenBSD #include cleanup.
2014-09-23 21:48:00 +00:00
Elliott Hughes
0c1008b9d8
am 0ab5fd9a: Merge "Switch to OpenBSD insque/remque/killpg."
...
* commit '0ab5fd9a5af4cd00572e4881f46c1e6f974f657c':
Switch to OpenBSD insque/remque/killpg.
2014-09-23 21:48:00 +00:00
Elliott Hughes
8642165344
Merge "Sync with some upstream OpenBSD #include cleanup."
2014-09-23 21:27:29 +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
c65a1d5ee0
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:39:11 +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
1f2e845f9a
am b2da4562: Merge "Clean up fpathconf(3)/pathconf(3)."
...
* commit 'b2da45625353336452112e28872310903dc70a8f':
Clean up fpathconf(3)/pathconf(3).
2014-09-22 23:05:35 +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
bb54a0d47a
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:51 +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
7d8796feaa
am 413de5b0: Merge "Add semaphore tests, fix sem_destroy."
...
* commit '413de5b0d4ddcf039aaef8b40a5f02d41dbb06e6':
Add semaphore tests, fix sem_destroy.
2014-09-20 20:06:21 +00:00
Elliott Hughes
413de5b0d4
Merge "Add semaphore tests, fix sem_destroy."
2014-09-20 01:34:11 +00:00
Christopher Ferris
1b0654f4a7
am e7160449: Merge "Remove references to MALLOC_LEAK_CHECK."
...
* commit 'e716044918d85cd3c34425779a09a24348f7f67a':
Remove references to MALLOC_LEAK_CHECK.
2014-09-20 00:50:08 +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
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
954782240e
am adc01348: Merge "Add greg_t for arm64."
...
* commit 'adc01348ee51a4ad678b1c277f85cbbed5c2e728':
Add greg_t for arm64.
2014-09-19 18:23:59 +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
05ce5ff3f2
am 13d6023a: Merge "Exclude libstdc++ from linked libraries."
...
* commit '13d6023aac62091a7d1df1c1afa1e228515832cb':
Exclude libstdc++ from linked libraries.
2014-09-19 00:05:23 +00:00
Dan Albert
13d6023aac
Merge "Exclude libstdc++ from linked libraries."
2014-09-18 23:43:24 +00:00