Elliott Hughes
f2bb57cfe3
Fix running the bionic benchmarks on the host.
...
Bug: 18556607
Change-Id: I4e75bfcde788b43e1926be1b0146acf09b496390
2014-12-01 13:11:38 -08:00
Lorenzo Colitti
e5477f83b0
Fail queries fast if no DNS servers are configured.
...
When no DNS servers are configured (and thus there is no chance
that the DNS query will suceed), res_nsend returns early, but
it does not tell the cache that the query has failed.
Therefore, if the caller retries the query, it will block for
PENDING_REQUEST_TIMEOUT (= 20 seconds) waiting for the "existing
query" (which isn't actually doing anything) to complete.
Bug: 18240188
Bug: 18327075
Change-Id: I0df13ff4a17ee65e640be96695a3af31b020963a
2014-12-01 20:03:25 +00:00
Yabin Cui
d4130c870d
am 44e69856
: am 3e6ef3f9
: Merge "support _POSIX_CPUTIME"
...
* commit '44e698565c58e560c0d04c9d8b3fa3bf28b21de0':
support _POSIX_CPUTIME
2014-12-01 17:16:23 +00:00
Yabin Cui
44e698565c
am 3e6ef3f9
: Merge "support _POSIX_CPUTIME"
...
* commit '3e6ef3f90285191976a60d7a94287fb0fec1af5d':
support _POSIX_CPUTIME
2014-12-01 17:09:48 +00:00
Yabin Cui
3e6ef3f902
Merge "support _POSIX_CPUTIME"
2014-12-01 17:06:02 +00:00
David 'Digit' Turner
d4f6518ce2
am 4c7e4b96
: am fabb4282
: Merge "libc: Fix headers to allow direct inclusion."
...
* commit '4c7e4b9695d3404df4df9dafad1e7901cf346016':
libc: Fix headers to allow direct inclusion.
2014-12-01 17:01:39 +00:00
David 'Digit' Turner
4c7e4b9695
am fabb4282
: Merge "libc: Fix headers to allow direct inclusion."
...
* commit 'fabb4282be66caed37c405e36c94dd1dc30ddbb2':
libc: Fix headers to allow direct inclusion.
2014-12-01 16:55:32 +00:00
David 'Digit' Turner
fabb4282be
Merge "libc: Fix headers to allow direct inclusion."
2014-12-01 16:50:04 +00:00
David 'Digit' Turner
aad1a39dfb
libc: Fix headers to allow direct inclusion.
...
These headers are missing a few #includes to allow their direct
inclusion from C
http://b.android.com/79841
Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621
2014-12-01 15:44:24 +01:00
Bernhard Rosenkränzer
ce46f5576a
Specify .cpu cortex-a15
...
When building with clang without this change, as errors out saying pldw
is an unsupported instruction (because it isn't part of the ARMv7 core
instruction set).
Let as know using pldw is fine.
Change-Id: Ie1f9c4b873e93ab2b3b374d2d46e476a4e581710
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-30 22:17:30 +01:00
Elliott Hughes
871fb86309
am 6823cbe5
: am 7602628e
: Merge "Add error-check when mapping socket to fd"
...
* commit '6823cbe5812011109f6384f945e767758b287fa4':
Add error-check when mapping socket to fd
2014-11-27 19:33:16 +00:00
Elliott Hughes
6823cbe581
am 7602628e
: Merge "Add error-check when mapping socket to fd"
...
* commit '7602628e972b90689b8f39e0c837cad28383bc2b':
Add error-check when mapping socket to fd
2014-11-27 19:10:14 +00:00
Elliott Hughes
7602628e97
Merge "Add error-check when mapping socket to fd"
2014-11-27 19:05:13 +00:00
Robert Alm
3638a83657
Add error-check when mapping socket to fd
...
The call to fdopen can fail in several ways.
The fprintf on the next line will then dereference a
NULL-pointer FILE*.
Added a NULL-check, closed the socket, returned system error
and added a comment about it.
Change-Id: I7a6b26aa3c79452b1fdd76af12dfa75da88cbad7
2014-11-27 11:01:50 -08:00
Elliott Hughes
682f9e01d8
am a169a98c
: am 46140327
: Merge "Move a private x86-64 header file out of the limelight."
...
* commit 'a169a98ce449cb4ce0686480241d1d5afae42123':
Move a private x86-64 header file out of the limelight.
2014-11-27 17:30:38 +00:00
Elliott Hughes
a169a98ce4
am 46140327
: Merge "Move a private x86-64 header file out of the limelight."
...
* commit '461403270593363dfe0b75db9f5e9f454b4258d2':
Move a private x86-64 header file out of the limelight.
2014-11-27 17:24:23 +00:00
Elliott Hughes
4614032705
Merge "Move a private x86-64 header file out of the limelight."
2014-11-27 17:20:50 +00:00
Elliott Hughes
cce22649c0
am bfc06e4e
: am 87516a65
: Merge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"
...
* commit 'bfc06e4eabd0cb0357e465ad971d36307f370077':
[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6
2014-11-27 13:54:43 +00:00
Elliott Hughes
28f9ea7ab9
am 5d6ecd79
: am cc0a9e6b
: Merge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."
...
* commit '5d6ecd79db6330da1c196d8e9441b0d7d1dd7fe3':
bionic tests: add setjmp/_setjmp/sigsetjmp tests.
2014-11-27 13:54:42 +00:00
Elliott Hughes
1b66f6e9d7
Move a private x86-64 header file out of the limelight.
...
Currently this is on everyone's include path and is getting exported
via the NDK.
Change-Id: Ia417839fb65c7e0afddcd9fae3438665dae8e752
2014-11-26 19:31:19 -08:00
Elliott Hughes
bfc06e4eab
am 87516a65
: Merge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"
...
* commit '87516a6508add943cea99f3d29cb8bd89c4a3bdb':
[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6
2014-11-27 02:35:02 +00:00
Elliott Hughes
87516a6508
Merge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"
2014-11-27 02:28:50 +00:00
Elliott Hughes
5d6ecd79db
am cc0a9e6b
: Merge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."
...
* commit 'cc0a9e6bdf0c07f0ce9fab106a026bfb30757b86':
bionic tests: add setjmp/_setjmp/sigsetjmp tests.
2014-11-27 01:52:32 +00:00
Elliott Hughes
cc0a9e6bdf
Merge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."
2014-11-27 01:33:09 +00:00
Yongqin Liu
9fea4090f1
bionic tests: add setjmp/_setjmp/sigsetjmp tests.
...
Bug: 17288973
Change-Id: I2808eee58cbddae1b16fbe19a715b72d6dbaaec3
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-26 17:31:24 -08:00
Yabin Cui
d5c652756b
support _POSIX_CPUTIME
...
Bug: 18490039
Change-Id: I01fa83b48e1b908de1f227b6e4f98e280bcd50ee
2014-11-26 17:14:50 -08:00
Nicolas Geoffray
ef06f06144
am 212452dc
: am f64c43ba
: Merge "Revert "Use mmap to create the pthread_internal_t.""
...
* commit '212452dc6ea16ec29d1b44317156f194ac25c226':
Revert "Use mmap to create the pthread_internal_t."
2014-11-26 12:09:30 +00:00
Nicolas Geoffray
212452dc6e
am f64c43ba
: Merge "Revert "Use mmap to create the pthread_internal_t.""
...
* commit 'f64c43ba6c9244c50e904961dc432f04b1dfcfd9':
Revert "Use mmap to create the pthread_internal_t."
2014-11-26 12:03:26 +00:00
Nicolas Geoffray
f64c43ba6c
Merge "Revert "Use mmap to create the pthread_internal_t.""
2014-11-26 11:57:46 +00:00
Nicolas Geoffray
5b8ceff5f8
Revert "Use mmap to create the pthread_internal_t."
...
Unfortunately, this change provokes random crashes for ART, and
I have seen libc crashes on the device that might be related to it.
Reverting it fixes the ART crashes. there is unfortunately no
stack trace for the crashes, but just a "Segmentation fault" message.
This reverts commit cc5f6543e3
.
Change-Id: I68dca8e1e9b9edcce7eb84596e8db619e40e8052
2014-11-26 11:56:54 +00:00
Duane Sand
3a4786348e
[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6
...
Change-Id: Idcd13413520dd503bc9cf782553675313e500a83
2014-11-25 17:33:10 -08:00
Yabin Cui
0673b42e16
am 896038a4
: am 4a6069a8
: Merge "Use mmap to create the pthread_internal_t."
...
* commit '896038a454f869943d3c4e82b01b9687962007cf':
Use mmap to create the pthread_internal_t.
2014-11-26 00:04:23 +00:00
Yabin Cui
896038a454
am 4a6069a8
: Merge "Use mmap to create the pthread_internal_t."
...
* commit '4a6069a8af7755076283749111b7fac308c7bb7e':
Use mmap to create the pthread_internal_t.
2014-11-25 23:58:36 +00:00
Yabin Cui
4a6069a8af
Merge "Use mmap to create the pthread_internal_t."
2014-11-25 23:53:44 +00:00
Yabin Cui
cc5f6543e3
Use mmap to create the pthread_internal_t.
...
Bug: 16847284
Change-Id: Ic8c85f95afac1d8422ecb69674c688d1fecb6a44
2014-11-25 15:25:06 -08:00
Yabin Cui
779cd7d7c7
am e9367cee
: am eb3a5e02
: Merge "flesh out sysconf(3) and the _POSIX_* constants"
...
* commit 'e9367cee64349b16807efd448ab1261a091eeb22':
flesh out sysconf(3) and the _POSIX_* constants
2014-11-24 02:17:09 +00:00
Yabin Cui
e9367cee64
am eb3a5e02
: Merge "flesh out sysconf(3) and the _POSIX_* constants"
...
* commit 'eb3a5e026e65ea80b17580a71f4451f5cf5d6612':
flesh out sysconf(3) and the _POSIX_* constants
2014-11-24 02:13:02 +00:00
Yabin Cui
eb3a5e026e
Merge "flesh out sysconf(3) and the _POSIX_* constants"
2014-11-24 01:59:23 +00:00
Elliott Hughes
cfd3cc5747
am bb03af30
: am 95a02366
: Merge "Sync with upstream OpenBSD fts.c."
...
* commit 'bb03af305d22dbbc4d07da033a6683eb93880223':
Sync with upstream OpenBSD fts.c.
2014-11-23 18:14:12 +00:00
Elliott Hughes
bb03af305d
am 95a02366
: Merge "Sync with upstream OpenBSD fts.c."
...
* commit '95a02366f2697ed65c4a2849a9cbde3d403142e3':
Sync with upstream OpenBSD fts.c.
2014-11-23 18:09:50 +00:00
Elliott Hughes
95a02366f2
Merge "Sync with upstream OpenBSD fts.c."
2014-11-23 18:06:29 +00:00
Dan Albert
67788cce25
am 26036279
: am 806dd9f9
: Merge "Move some pthread functions to signal.h."
...
* commit '260362798c28446231c5c387c6b0336cf87ab3d3':
Move some pthread functions to signal.h.
2014-11-22 22:44:43 +00:00
Dan Albert
260362798c
am 806dd9f9
: Merge "Move some pthread functions to signal.h."
...
* commit '806dd9f90c8daadfafd19d69e3f36bb00729cb8e':
Move some pthread functions to signal.h.
2014-11-22 22:42:34 +00:00
Dan Albert
806dd9f90c
Merge "Move some pthread functions to signal.h."
2014-11-22 22:38:51 +00:00
Elliott Hughes
2818279ace
Sync with upstream OpenBSD fts.c.
...
Change-Id: Ia7e26b603f6461095b5a8d7e8a6cdf4f8279fa84
2014-11-21 19:27:28 -08:00
Yabin Cui
1c19194c9d
flesh out sysconf(3) and the _POSIX_* constants
...
Bug: 17571891
Change-Id: I81036615486bde65969ae5662587fcc88348474e
2014-11-21 19:10:52 -08:00
Elliott Hughes
2a79680072
am 97b2a7ba
: am d77c1ec9
: Merge "Bring our <machine/endian.h> files back in sync."
...
* commit '97b2a7bae0a8f9164d4b9de2b9e8676463dcb8b3':
Bring our <machine/endian.h> files back in sync.
2014-11-22 02:51:24 +00:00
Elliott Hughes
97b2a7bae0
am d77c1ec9
: Merge "Bring our <machine/endian.h> files back in sync."
...
* commit 'd77c1ec90a17ac91c24904670ba9a3a60fe4cd3d':
Bring our <machine/endian.h> files back in sync.
2014-11-22 02:44:26 +00:00
Elliott Hughes
d77c1ec90a
Merge "Bring our <machine/endian.h> files back in sync."
2014-11-22 02:41:44 +00:00
Elliott Hughes
ee369fb319
Bring our <machine/endian.h> files back in sync.
...
They'd drifted slightly which led to a compilation error in toybox,
which was assuming pid_t was defined. arm and arm64 were picking it
up via <endian.h> but x86 wasn't.
Change-Id: I58401e6c0066959dfc3b305b020876aaf7074bbf
2014-11-21 18:34:36 -08:00