Dan Albert
a4ed64d4c3
Add a dummy libdl.a.
...
Change-Id: I4b30b8875f14352bae2948ab8cf544ae818795ab
2014-09-26 15:23:07 -07:00
Christopher Ferris
aa66e88280
Merge "Add __memcpy_chk assembly for 64 bit."
2014-09-26 20:39:21 +00:00
Christopher Ferris
8cf61dab5f
Add __memcpy_chk assembly for 64 bit.
...
Bug: 17623887
Change-Id: I443723bc941b40f84884b330d222baabee01f868
2014-09-26 12:47:04 -07:00
Dan Albert
852d4fbbe9
Merge "Prevent benchmarks from being optimized away."
2014-09-25 22:52:53 +00:00
Dan Albert
055a59c3ed
Prevent benchmarks from being optimized away.
...
Change-Id: I2d27b39ecdfc50e78098314567c295a2f113f8d3
2014-09-25 15:43:48 -07:00
Elliott Hughes
17e7d3208c
Merge "Re-expose more stdio implementation details for LP32."
2014-09-25 03:08:23 +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
Christopher Ferris
a864e72b56
Merge "Fix sys_stat.mkfifo when not run as root."
2014-09-24 23:56:06 +00:00
Christopher Ferris
528ad742c6
Fix sys_stat.mkfifo when not run as root.
...
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.
Bug: 17646702
(cherry picked from commit 6c69afdb6ddd56e011b59e3060f12a5bdffb5f5c)
Change-Id: Ia3a862ed4586413b7bb393557ab57e0a7141d888
2014-09-24 16:50:30 -07:00
Elliott Hughes
567d3fcb7e
Merge "Switch to OpenBSD fopen/fclose."
2014-09-24 20:24:48 +00:00
Elliott Hughes
4fcfd3a474
Merge "Sync with current upstream getopt_long.c."
2014-09-24 20:24:19 +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
f05410edc6
Merge "Sync with upstream findfp.c."
2014-09-24 17:48:59 +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
4a6e71100e
Merge "Add a dummy atexit(3) to the linker."
2014-09-24 17:27:38 +00:00
Dan Albert
c2d39088d8
Coverage configs for bionic.
...
Bug: 17553780
Change-Id: Iee7d0c210e2379e71e0c1e4e7058bce23f61e8cd
2014-09-24 10:26:41 -07:00
Dan Albert
9a05e3818a
Add a dummy atexit(3) to the linker.
...
This is needed when building the linker against a libc that was built
with coverage information.
Bug: 17553780
Change-Id: If131002e067dd7768fc657c30e62c42a45c05ace
2014-09-24 10:26:41 -07:00
Dan Albert
fc5a93f7a2
Merge "Fix incorrect parameter types for locale funcs."
2014-09-24 16:00:07 +00:00
Elliott Hughes
ebf37e3886
Merge "Switch to OpenBSD flags.c."
2014-09-24 04:50:45 +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
c57e5c8289
Merge "CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps."
2014-09-24 01:49:06 +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
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
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
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
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
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
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
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
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
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
13d6023aac
Merge "Exclude libstdc++ from linked libraries."
2014-09-18 23:43:24 +00:00