platform_system_core/debuggerd
Jiyong Park 011ee12b1d Shared libs are supported in recovery mode
adbd has been built as a static executable since the same binary was
copied to the recovery partition where shared library is not supported.
However, since we now support shared library in the recovery partition,
adbd is built as a dynamic executable.

In addition, the dependency from adbd to libdebuggerd_handler is removed
as debuggerd is handled by the dynamic linker.

A few more modules in /system/core are marked as recovery_available:
true as they are transitive dependencies of the dynamic linker.

This change also includes ld.config.recovery.txt which is the linker
config file for the recovery mode. It is installed to /etc/ld.config.txt
and contains linker namespace config for the dynamic binaries under
/sbin.

Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: Select 'mount /system' in the recovery mode, then `adb shell`.
$ lsof -p `pidof adbd` shows that libm.so, libc.so, etc. are loaded from
the /lib directory.

Change-Id: I363d5a787863f1677ee40afb5d5841321ddaae77
2018-06-10 08:32:24 +09:00
..
client crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices 2017-06-23 08:59:22 +09:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Improve SIGILL support. 2018-05-30 12:58:43 -07:00
handler debuggerd: fix CrasherTest.seccomp_crash_oom. 2018-05-16 00:16:09 -07:00
include/debuggerd tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
libdebuggerd Improve SIGILL support. 2018-05-30 12:58:43 -07:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned tombstoned: make missing O_TMPFILE workaround actually work around. 2018-05-03 16:05:32 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
Android.mk Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
crash_dump.cpp crash_dump: defuse our signal handlers earlier. 2018-04-27 13:31:47 -07:00
debuggerd.cpp Remove unnecessary SELinux dependencies 2017-07-01 07:41:48 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Expect optional (offset ...) in frame dump. 2018-05-14 11:07:54 -07:00
protocol.h crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
util.cpp crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00
util.h crash_dump: fork a copy of the target's address space. 2017-12-15 14:11:12 -08:00