platform_system_core/debuggerd
Josh Gao 2e7b8e2d1a debuggerd_handler: use syscall(__NR_get[pt]id) instead of get[pt]id.
bionic's cached values for getpid/gettid can be invalid if the crashing
process manually invoked clone to create a thread or process, which
will lead the crash_dump refusing to do anything, because it sees the
actual values.

Use the getpid/gettid syscalls directly to ensure correct values on
this end.

Bug: http://b/37769298
Test: debuggerd_test
Change-Id: I0b1e652beb1a66e564a48b88ed7fa971d61c6ff9
2017-05-05 14:58:12 -07:00
..
client check send_signal result before further dealing 2017-04-06 22:47:00 +08:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler debuggerd_handler: use syscall(__NR_get[pt]id) instead of get[pt]id. 2017-05-05 14:58:12 -07:00
include/debuggerd debuggerd_client: fix infinite timeouts. 2017-04-04 14:08:54 -07:00
libdebuggerd crash_dump: during early boot, output to kmsg on userdebug. 2017-04-06 15:00:52 -07:00
tombstoned tombstoned: fix a race between intercept and crash_dump. 2017-03-30 16:49:02 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Move libc_logging to libasync_safe. 2017-05-02 18:38:46 -07:00
crash_dump.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
debuggerd.cpp Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
debuggerd_test.cpp debuggerd_handler: use syscall(__NR_get[pt]id) instead of get[pt]id. 2017-05-05 14:58:12 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
tombstoned_client.cpp Move libc_logging to libasync_safe. 2017-05-02 18:38:46 -07:00
util.cpp Move libc_logging to libasync_safe. 2017-05-02 18:38:46 -07:00