platform_system_core/debuggerd
Jiyong Park eb769d687a Use liblog_for_runtime_apex instead of liblog
liblog_for_runtime_apex is a static variant of liblog which is
explicitly marked as available to the runtime APEX. Any static
dependency to liblog from inside the runtime APEX is changed from liblog
to liblog_for_runtime_apex.

Previously, to support the need for using liblog inside the runtime
APEX, the entire (i.e. both static and shared variants) liblog module
was marked as available to the runtime APEX, although in reality only
the static variant of the library was needed there. This was not only
looking dirty, but also has caused a problem like b/241259844.

To fix this, liblog is separated into two parts. (1) liblog and (2)
liblog_for_runtime_apex. (1) no longer is available to the runtime APEX
and is intended to be depended on in most cases: either from the
non-updatable platform, or from other APEXes. (2) is a static library
which is explicitly marked as available to the runtime APEX and also
visible to certain modules that are included in the runtime APEX.

Bug: 241259844
Test: m and check that liblog depends on stub library of libc
Change-Id: I10edd4487a6f090ef026acffe1ffbd067387a0d3
2022-08-19 13:21:02 +09:00
..
client debuggerd_client: also log errors to the dump file. 2021-06-29 11:59:14 -07:00
common/include Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
crasher Add two new crash commands. 2022-04-13 16:38:16 -07:00
handler Merge "Add permissive MTE mode." 2022-06-15 16:58:25 +00:00
include/debuggerd Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
libdebuggerd Fix scudo MTE tests. 2022-06-30 18:54:19 -07:00
proto Update for accurate unreadable elf files. 2022-03-15 09:50:48 -07:00
rust/tombstoned_client Make some debuggerd libraries available in apex com.android.virt 2022-04-05 15:55:16 +00:00
seccomp_policy Symbolic constants for older minijails 2022-03-21 16:31:00 -07:00
test_permissive_mte [LSC] Add LOCAL_LICENSE_KINDS to system/core 2022-06-16 10:01:01 -07:00
tombstoned Remove double check of fd value. 2021-09-01 13:36:03 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Use liblog_for_runtime_apex instead of liblog 2022-08-19 13:21:02 +09:00
crash_dump.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
crash_test.cpp Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
crash_test.h Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
debuggerd.cpp Always use main thread pid for manual dumping. 2021-07-30 14:08:03 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Remove jmgao from OWNERS files. 2021-08-10 21:42:14 -07:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
TEST_MAPPING Add hwasan presubmit for debuggerd. 2022-04-18 20:27:52 +00:00
util.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00