summaryrefslogtreecommitdiffstats
path: root/debuggerd/utility.h
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2013-03-19 13:12:23 -0700
committerChristopher Tate <ctate@google.com>2013-04-01 10:37:24 -0700
commitded2e5acfcf0c705f08577d0ccb720bd5037f4ba (patch)
tree909be0b0bf450f3fcc1f5a6313f799b151e0572b /debuggerd/utility.h
parentd67bbab6d873c073fa5c3bdb93e8f32106898123 (diff)
downloadcore-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.tar.gz
core-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.tar.bz2
core-ded2e5acfcf0c705f08577d0ccb720bd5037f4ba.zip
debuggerd now notifies the Activity Manager about native crashes
The Activity Manager sets up a permission-guarded domain socket, which debuggerd connects to when a crash happens. If this is successful, the daemon then mirrors the logged crash report to that socket, then closes it. Bug 8322568 Change-Id: Ife0c772a628ef82e8457094e511ce1edbfe57460
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r--debuggerd/utility.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h
index 136f46d8d..8d31e5edf 100644
--- a/debuggerd/utility.h
+++ b/debuggerd/utility.h
@@ -24,7 +24,9 @@
typedef struct {
/* tombstone file descriptor */
int tfd;
- /* if true, does not log anything to the Android logcat */
+ /* Activity Manager socket file descriptor */
+ int amfd;
+ /* if true, does not log anything to the Android logcat or Activity Manager */
bool quiet;
} log_t;