5b2cd3a358dd45d28d794858f29f98b1d7d9d9df |
|
16-Mar-2017 |
Dimitry Ivanov <dimitry@google.com> |
Use libbase for realpath and dirname Test: run bionic-unit-tests Bug: http://b/31396973 Change-Id: Ie8dc60348b9c57892a77be6a24dadb42241f6b62
|
35c8e3b1251af62897a9babd693e2b1be5676160 |
|
27-Feb-2017 |
Dimitry Ivanov <dimitry@google.com> |
Fix greylist exception to account for linked namespaces Do not load second copy of libraries that are supposed to be provided by linked namespaces. Also do not print error in the log if caller tries to open shared library using absolute path for apps targeting N+. Bug: http://b/35454141 Bug: http://b/26833548 Bug: http://b/35338922 Test: run bionic-unit-tests --gtest_filter=dl* Change-Id: Icf3aeedff18d287d2ba0b3df3808b100f3ef5f7a
|
68ecec1965dcec08c7df3f0224d69604c683cd6c |
|
31-Jan-2017 |
Evgenii Stepanov <eugenis@google.com> |
Fix CFI initialization crash on x86. Third try. Bug: 34752378 Test: bionic tests Change-Id: I247c127489a8ee38404e104f28d916a704e35f36
|
beb3eb1790dffc6e2f57a670aec89364944f66c4 |
|
01-Feb-2017 |
Evgenii Stepanov <eugenis@google.com> |
Revert "Fix CFI initialization crash on x86." Breaks aosp-master/sdk. This reverts commit 4ccd4317f9301ec9b32aa0d3317a0439b994d7bf.
|
4ccd4317f9301ec9b32aa0d3317a0439b994d7bf |
|
31-Jan-2017 |
Evgenii Stepanov <eugenis@google.com> |
Fix CFI initialization crash on x86. Second try. Bug: 34752378 Test: bionic tests Change-Id: I0a7453154671918b2e6e72f0bb9074c29ceb0f34
|
6fcd7a7d28aa6be42bbc99070c93d4d16b56ab57 |
|
31-Jan-2017 |
Alex Cheung <alexcheung@google.com> |
Revert "Fix CFI initialization crash on x86." This reverts commit be46d3871c91902504e5ec4c7f575c86f647aafc. Reverting due to broken build: https://android-build.googleplex.com/builds/branch-dashboard/aosp-master?build_id=3687823 Change-Id: I30968398edd9a094fce878839ba0a002ed487a77
|
be46d3871c91902504e5ec4c7f575c86f647aafc |
|
27-Jan-2017 |
Evgenii Stepanov <eugenis@google.com> |
Fix CFI initialization crash on x86. Bug: 34752378 Test: bionic tests Change-Id: If8e33f76a1a2d83356d818fed506ea624f579860
|
2f06e1028037c63d517e45b4055f946aa79dc5ee |
|
10-Jan-2017 |
Josh Gao <jmgao@google.com> |
Improve fmemopen tests. Tag fmemopen_NULL as a known failure, and make it reliably fail by memsetting the buffer we read to. Bug: http://b/33251022 Test: bionic-unit-tests/bionic-unit-tests64 on bullhead Test: bionic-unit-tests-glibc --gtest_filter="*memopen*" Change-Id: I381783282359851c9de47146dafbb5a291960c2a
|
d0b5c3ad65accd2c0298edbdfd527ede63e68ba1 |
|
25-Nov-2016 |
Dimitry Ivanov <dimitry@google.com> |
Fix bionic-unit-tests-glibc Also add another test for dlsym(RTLD_NEXT, ..) Bug: http://b/33106624 Test: run bionic-unit-tests-glibc and bionic-unit-tests Change-Id: I340165d66bf2360b0e3273d3561a08cb5e7bd025
|
ffbb0f8aa4d7c8ec166722a0276a9703898f9c3f |
|
11-Oct-2016 |
Elliott Hughes <enh@google.com> |
Fix Mac build. Test: builds on Linux (I don't have a Mac) Change-Id: I049e1d6420b0d169e727680da9c3d97e0b8aa3d2
|
a36e59bb9973aaae2e3487e0bfadd1f79814097e |
|
01-Sep-2016 |
Dimitry Ivanov <dimitry@google.com> |
Move test libraries under /data/nativetests Move libraries used in bionic-unit-tests out of system partition to /data/nativetests../bionic-loader-test-libs Bug: http://b/22182538 Test: build bionic and run bionic-unit-tests Change-Id: I170177bef782839d0b4970ae4418bf54d0a77836
|
554374693408cd7c74d0cae596fca7349661edea |
|
21-Jul-2016 |
Dimitry Ivanov <dimitry@google.com> |
Pass argc/argv/envp to dso constructors The glibc implementation of the loader passes argc/argv/envp to all elf constructors. This change makes bionic linker behave in the same way. Bug: http://b/30145768 Change-Id: I1c65c42aa5305a5b133c64b5748205bbde869e0e Test: run bionic-unit-tests --gtest_filter=dl*:Dl*
|
dcaef3710df817db5652a1f3ab4646f43f5cd3ee |
|
17-May-2016 |
Dimitry Ivanov <dimitry@google.com> |
Fix dlopen of main executable by absolute path This CL adds initialization of inode for the main executable which enables linker to resolve the correct soinfo when application calls dlopen with absolute path to the main executable. Bug: http://b/28420266 Change-Id: I102e07bde454bd44c6e46075e3faeeb5092830d8 (cherry picked from commit 2ba1cf39ae6087249a839ec7b3793d4d4fa75438)
|
2ba1cf39ae6087249a839ec7b3793d4d4fa75438 |
|
17-May-2016 |
Dimitry Ivanov <dimitry@google.com> |
Fix dlopen of main executable by absolute path This CL adds initialization of inode for the main executable which enables linker to resolve the correct soinfo when application calls dlopen with absolute path to the main executable. Bug: http://b/28420266 Change-Id: I102e07bde454bd44c6e46075e3faeeb5092830d8
|
d17a377c49201bd5f0e4c71d84f1ce25a86642de |
|
01-Mar-2016 |
Dimitry Ivanov <dimitry@google.com> |
linker: print "not accessible" error message to the log Print properties of the namespace on "library is not accessible" error to better diagnose problems with native library accessiblity Bug: http://b/27406143 Change-Id: Icf3d6c604f09dfa015de863fdb1267d343930d2a (cherry picked from commit 350bdad61cc6551db649fcaeb8642f4a1d6b139a)
|
350bdad61cc6551db649fcaeb8642f4a1d6b139a |
|
01-Mar-2016 |
Dimitry Ivanov <dimitry@google.com> |
linker: print "not accessible" error message to the log Print properties of the namespace on "library is not accessible" error to better diagnose problems with native library accessiblity Bug: http://b/27406143 Change-Id: Icf3d6c604f09dfa015de863fdb1267d343930d2a
|
33697a0c43c48e15c3bcf018138b9b837d0099cd |
|
26-Jan-2016 |
Elliott Hughes <enh@google.com> |
Factor out the waiting for children in bionic tests. Change-Id: I4a1e51b6920b33dc892d447f5bd6d10f1cb2704a
|
939a7e01197858fdb8463bb5a8284ba501a3e882 |
|
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
Track rename from base/ to android-base/. Change-Id: I0a4592945400b1fa6892bf7c1fa8659fd711efa3
|
76144aaa6397fe9e16893882cf59c5c9c0684a66 |
|
19-Nov-2015 |
Yabin Cui <yabinc@google.com> |
Change _stdio_handles_locking into _caller_handles_locking. It is reported by tsan that funlockfile() can unlock an unlocked mutex. It happens when printf() is called before fopen() or other stdio stuff. As FLOCKFILE(fp) is called before __sinit(), _stdio_handles_locking is false, and _FLOCK(fp) will not be locked. But then cantwrite(fp) in __vfprintf() calls__sinit(), which makes _stdio_handles_locking become true, and FUNLOCKFILE(fp) unlocks _FLOCK(fp). Change _stdio_handles_locking into _caller_handles_locking, so __sinit() won't change its value. Add test due to my previous fault. Bug: 25392375 Change-Id: I483e3c3cdb28da65e62f1fd9615bf58c5403b4dd
|
15dfd63aba596f95f2478bfca36b91f69ed7f9b3 |
|
23-Sep-2015 |
Elliott Hughes <enh@google.com> |
Fix another duplicate maps parser. Change-Id: Icb69f59ffbd0d5de7f727142260fae152d36a904
|
1dce3ed24940808a553f4da1a92a9b6759efd4ab |
|
07-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Fix x86_64 build Change-Id: Id81c059bf3ecdb9cc84d04d16ffda34baaadc5a1
|
aae859cc3ca127d890e853cbf12b731e05624a22 |
|
31-Mar-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Add realpath for soinfo This change adds realpath to soinfo and extends limit on filenames from 128 to PATH_MAX. It also removes soinfo::name field, linker uses dt_soname instead. Bug: http://b/19818481 Bug: https://code.google.com/p/android/issues/detail?id=80336 Change-Id: I9cff4cb5bda3ee2bc74e1bbded9594ea7fbe2a08
|