| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
gcov does writes after reads on the same stream, but the bulk read optimization
was clobbering the FILE _flags, causing fwrite to fail.
Bug: 19129055
Change-Id: I9650cb7de4bb173a706b502406266ed0d2b654d7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement refcounter based data protection guard
to avoid unnecessary calls to mprotect when dlopen/dlclose
is called from a constructor.
Bug: 19124318
Big: 7941716
Change-Id: Id221b84ce75443094f99756dc9950b0a1dc87222
|
|/
|
|
| |
Change-Id: Icc2ebf64bd1da1687bf313fe7a5640155c5795d8
|
|
|
|
| |
Change-Id: Iad70e6bd4cb7cec9e0ece500a540e4dadc83d92e
|
|
|
|
|
|
|
|
|
|
| |
Another sizeof/strlen screwup caused by trying to be too clever. Use
std::string instead.
Also fix all the ASSERT_STREQ calls in this file that had the arguments
the right^Wwrong way round. If I ever see Kent Beck...
Change-Id: I47a1bdfee99cf4e7bed9b398f3158a308fbcf1e8
|
|
|
|
| |
Change-Id: I53a7f1428fd27c0b2a5c80f2e8af4845d17f5b4b
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old __isthreaded hack was never very useful on Android because all user
code runs in a VM where there are lots of threads running. But __fsetlocking
lets a caller say "I'll worry about the locking for this FILE*", which is
useful for the normal case where you don't share a FILE* between threads
so you don't need any locking.
Bug: 17154740
Bug: 18593728
Change-Id: I2a8dddc29d3edff39a3d7d793387f2253608a68d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes us competitive with glibc for fully-buffered and unbuffered reads,
except in single-threaded situations where glibc avoids locking, but since
we're never really single-threaded anyway, that isn't a priority.
Bug: 18593728
Change-Id: Ib776bfba422ccf46209581fc0dc54f3567645b8f
|
| |
| |
| |
| |
| | |
Bug: 19075565
Change-Id: Icccb60657a2985e96abb1703673f0ebe2199586a
|
| |
| |
| |
| |
| | |
Bug: 17589740
Change-Id: I37f2d3fe72870b9dc867407fa1619c9a6fcd5cbb
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
I almost fixed a non-bug. Add a test to prevent me from doing that.
Change-Id: I4a1dc13e603a7a377bdaee2e78132015087f7107
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"ulimit -c xxx" command may run before bionic-unit-tests.
Make sure sys_resource test fails gently in that case.
Change-Id: Ic3b5ed8b20acba56df8c5ef082c88e5050e761aa
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If pthread_detach() is called while the thread is in pthread_exit(),
it takes the risk that no one can free the pthread_internal_t.
So I add PTHREAD_ATTR_FLAG_ZOMBIE to detect this, maybe very rare, but
both glibc and netbsd libpthread have similar function.
Change-Id: Iaa15f651903b8ca07aaa7bd4de46ff14a2f93835
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix bug of handling signal terminated tests.
Bug: 17589740
Bug: 18951146
Change-Id: I4803382b26cd5454693090202b3ba38e3dbe66e5
|
| |/
|/|
| |
| |
| |
| |
| | |
Addition change: make netdb_test pass on host.
Bug: 18791191
Change-Id: I7a9e29aa559ff6557288b47323d8a436379201a2
|
| |
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=13228
Change-Id: I5e3b126d90d750a93ac0b8872198e50ba047e603
|
| |
| |
| |
| |
| | |
Bug: 18908062
Change-Id: I7037ac8273ebe54dd19b1561c7a376819049124c
|
|/
|
|
|
| |
Bug: 18069809
Change-Id: Ie143d56b0f8f03510dc451649291067e1add1d2f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. option to run each test in a separate forked process: "--isolate".
2. warnings about slow tests: "--warnline".
3. run multiple tests at the same time: "-j N".
Bug: 17589740
Change-Id: Ife5f4cafec43aa051ad7bd9c9b2b7e2e437db0de
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18830897
Change-Id: I1ba4aaeaf66a7ff99c5d82ad45469011171b0a3b
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Bug: https://code.google.com/p/android/issues/detail?id=82452
Change-Id: I51f226c8b033de6e81baeea5e6db3de6ed196f73
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| | |
Bug: 18566967
Change-Id: I37e7410226b49eec67614e20b2c1d5e3e47817a5
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
This one covers undefined weak reference in .so
referenced via JUMP_SLOT relocation.
Bug: 17526061
Change-Id: Ib8764bd30c1f686c4818ebbc6683cf42dee908b2
|
|/
|
|
|
| |
Bug: 18723085
Change-Id: Iba2c834b350e4cdba0b2d771b221560a3e5df952
|
|
|
|
|
| |
Bug: 18721888
Change-Id: I5f0b5c84319f56dbc4efb88e9d828138944667ae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although the LP32 mips sigset_t is large enough to represent all signals,
their jmp_buf is too small. This test succeeded on arm and x86 because the
RT signals were never in the 'expected' sigset_t, so the equality comparison
with the 'actual' sigset_t worked fine --- everyone was blind to the RT
signal. On mips the tests fail because the 'expected' sigset_t does contain
the RT signal but the 'actual' doesn't because the jmp_buf only saves and
restores the first 32 signals.
There are 32 free bits (currently used as padding) in the LP32 mips jmp_buf,
and they might choose to use those to provide better support than the other
two platforms, but I'll leave that to them. It will be easy to just remove
the #if defined(__LP64__) from this change in that case.
For mips64 it's not to late to increase the size of the jmp_buf and fix
the setjmp family, but since there are decisions to be made here for LP32,
I'll leave it all to Imagination folks...
Bug: 16918359
Change-Id: I6b723712fce0e9210dafa165d8599d950b2d3500
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 18489947
Change-Id: I2e834d68bc10ca5fc7ebde047b517a3074179475
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I7a8dbb74bd622693c9fef60bd779687207517b7d
|
|/ /
| |
| |
| |
| | |
Bug: 16918359
Change-Id: I30bf61e7d5f1c21daa3a1a21d361e98d77220bf3
|
| |
| |
| |
| |
| | |
Bug: 18472477
Change-Id: I8183de6c281acf69ed5f7f88351b056b9827b162
|
| |
| |
| |
| |
| |
| |
| | |
Based on the package/apps/Terminal implementation. I'll switch them over
shortly. This also lets us build the toybox version of netcat.
Change-Id: Ia922a100141a67409264b43b937eeca07b21f344
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make benchmark run-on-host depend on bionic-prepare-run-on-host.
Change-Id: I0bdbf561b2580d607a49b7c83cc273320ac55429
|
|/ /
| |
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=81155
Bug: 18556607
Change-Id: Idc60976b79610e2202cc42dc393dcb4ca6c42e05
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace LD_LIBRARY_PATH with default path for
the tests run on host.
Bug: 18589961
Change-Id: Id4a84b73d25c2ca9c557fcfa19b8169daeaa016b
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Count references on the group level to avoid
partially unloading function that might be
referenced by other libraries in the local_group
Bonus: with this change we can correctly unload recursively
linked libraries. is_recursive check is removed.
Also dynamic executables (not .so) with 0 DT_NEEDED libraries
are now correctly linked.
Change-Id: Idfa83baef402840599b93a875f2881d9f020dbcd
|
| |
| |
| |
| |
| | |
Bug: 18571921
Change-Id: Ib8ca7a36abd3ccc729c20c0e32d45b1b33069f65
|