summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yi Jin <jinyithu@google.com> 2018-03-20 15:51:14 -0700
committer Yi Jin <jinyithu@google.com> 2018-03-20 16:00:50 -0700
commit35786343501520064cb21c6f44e74757aba711a3 (patch)
tree77c0d13bd320baf7a2f68c6521bbdb588fc323d2
parentdba47fcd09a50bdddcf6509d0766dfca3a5d39a7 (diff)
Disable app_stacks and last_kmsg until they get selinux permissions.
Bug: 73487276 Test: atest CtsIncidentHostTestCases:com.android.server.cts.IncidentdIsolatedTest and atest CtsIncidentHostTestCases:com.android.server.cts.IncidentdTest Change-Id: Ifc0813d59c243a1b4afa150bbcfa4b072a044ffc
-rw-r--r--core/proto/android/os/incident.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/proto/android/os/incident.proto b/core/proto/android/os/incident.proto
index 4657dc478059..6a3aaabb3614 100644
--- a/core/proto/android/os/incident.proto
+++ b/core/proto/android/os/incident.proto
@@ -118,17 +118,17 @@ message IncidentProto {
// Stack dumps
optional android.os.BackTraceProto native_traces = 1200 [
- (section).type = SECTION_TOMBSTONE,
+ (section).type = SECTION_NONE,
(section).args = "native"
];
optional android.os.BackTraceProto hal_traces = 1201 [
- (section).type = SECTION_TOMBSTONE,
+ (section).type = SECTION_NONE,
(section).args = "hal"
];
optional android.os.BackTraceProto java_traces = 1202 [
- (section).type = SECTION_TOMBSTONE,
+ (section).type = SECTION_NONE,
(section).args = "java"
];
@@ -169,7 +169,7 @@ message IncidentProto {
];
optional GZippedFileProto last_kmsg = 2007 [
- (section).type = SECTION_GZIP,
+ (section).type = SECTION_NONE, // disable until selinux permission is gained
(section).args = "/sys/fs/pstore/console-ramoops /sys/fs/pstore/console-ramoops-0 /proc/last_kmsg",
(privacy).dest = DEST_AUTOMATIC
];