Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35786343 authored by Yi Jin's avatar Yi Jin
Browse files

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
parent dba47fcd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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
    ];