platform_system_core/debuggerd
Peter Collingbourne ebc78cc852 Switch to the new kernel API for obtaining fault address tag bits.
The discussion on LKML is converging on v16 of the fault address tag
bits patch [1]. In this version of the patch the presence of the tag
bits in si_addr is controlled by a sa_flags bit, and a protocol is
introduced to allow userspace to detect kernel support for sa_flags
bits. Update the tombstone signal handler to use this API to read
the tag bits, update the interceptors in libsigchain to implement
the flag support detection protocol and hide the tag bits in si_addr
from chained signal handlers that did not request them to match the
kernel behavior.

[1] https://lore.kernel.org/linux-arm-kernel/cover.1605235762.git.pcc@google.com/

Change-Id: I57f24c07c01ceb3e5b81cfc15edf559ef7dfc740
2020-11-13 16:08:27 -08:00
..
client debuggerd: use One True timestamp function. 2020-07-23 16:33:53 -07:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Create a debugger_process_info data structure with the process info pointers. 2020-03-24 17:23:15 -07:00
handler Switch to the new kernel API for obtaining fault address tag bits. 2020-11-13 16:08:27 -08:00
include/debuggerd Add support for MTE error reports in tombstones. 2020-04-27 13:15:49 -07:00
libdebuggerd Switch to the new kernel API for obtaining fault address tag bits. 2020-11-13 16:08:27 -08:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned Start tombstoned early in post-fs-data. 2020-10-01 14:25:36 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp libdebuggerd_handler_fallback: make vendor_ramdisk_available. 2020-10-28 10:57:51 -07: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 Switch to the new kernel API for obtaining fault address tag bits. 2020-11-13 16:08:27 -08:00
debuggerd.cpp debuggerd: add support for Java traces. 2018-06-14 15:40:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Fix the expected tagged_addr_ctrl in a test. 2020-11-02 16:00:08 -08:00
protocol.h Add support for MTE error reports in tombstones. 2020-04-27 13:15:49 -07:00
util.cpp debuggerd: use One True timestamp function. 2020-07-23 16:33:53 -07:00
util.h debuggerd: use One True timestamp function. 2020-07-23 16:33:53 -07:00