platform_system_core/debuggerd
Christopher Ferris 8fb38ae82d Connect to activity manager as root.
Before dropping root privileges, connect to the activity manager.
Also, only connect to the activity manager if this is a crash.

Bug: 28210681
(cherry picked from commit 0fc89f34b9)

Change-Id: Id25b92e550d71ffe1b9eafe43976ef514a83714b
2016-04-20 14:38:44 -07:00
..
arm Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
arm64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
test debuggerd_test: provide stub selinux/android.h 2015-12-21 16:29:02 -08:00
x86 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
x86_64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
.clang-format debuggerd: add .clang-format. 2015-11-16 17:26:22 -08:00
Android.mk debuggerd: fork the signal sender once. 2016-03-17 11:27:31 -07:00
backtrace.cpp Add error reporting mechanism for failing Unwind. 2016-03-10 12:39:15 -08:00
backtrace.h debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00
crasher.c Fix build break due to unknown pragma (on gcc). 2015-09-30 23:30:38 -07:00
debuggerd.cpp Connect to activity manager as root. 2016-04-20 14:38:44 -07:00
debuggerd.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
debuggerd64.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
elf_utils.cpp Merge "Track rename of base/ to android-base/." am: 912ed3d8ca 2015-12-07 23:36:59 +00:00
elf_utils.h Print the build id of shared libraries if present. 2015-03-17 15:13:35 -07:00
getevent.cpp system/core: Cleanup direct calls to opendir by containing in a 2016-02-18 14:52:46 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Refactor dump_memory function. 2015-05-28 11:45:34 -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 debuggerd: set the name of the signal sender. 2016-03-29 17:56:47 -07:00
signal_sender.h debuggerd: fork the signal sender once. 2016-03-17 11:27:31 -07:00
tombstone.cpp Connect to activity manager as root. 2016-04-20 14:38:44 -07:00
tombstone.h Connect to activity manager as root. 2016-04-20 14:38:44 -07:00
utility.cpp debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00
utility.h debuggerd: fix several bugs caused by fork/setuid change. 2016-01-14 15:06:37 -08:00