ld.config.txt for APEX

When executing an executable in an APEX (i.e., /apex/<name>/bin),
ld.config.txt file is read from the same APEX, not from /system/etc.

Bug: 115787633
Test: m apex.test; adb push ...apex.test.apex /data/apex; adb reboot
Test: adb root; adb shell /apex/com.android.example.apex/bin/dex2oat
is runnable.

Change-Id: Id1ee08bb86ed107fd8b60b5f672607bfbe1d64d1
2 files changed
tree: de0e525c2041ef8b05b9c366464fccc2bb49141a
  1. apexd/
  2. apexer/
  3. testdata/
  4. Android.bp
  5. OWNERS
  6. PREUPLOAD.cfg