From 0c57ab86da5a579bf725c86703053add9e074687 Mon Sep 17 00:00:00 2001 From: Richard Chang Date: Mon, 6 Jan 2025 11:18:55 +0000 Subject: [PATCH] dumpstate: add readtracefs group permission for vendor dumpstate service Fix the permission problem when bugreport wants to read pixel trace node /sys/kernel/tracing/instances/pixel/trace. Bug: 387943504 Test: adb bugreport Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_memory Test: system-ui trigger bugreport Flag: EXEMPT bugfix Change-Id: I2e666e8a1e40bce83b1f8c1b447e2d64e8912098 --- gear/dumpstate/android.hardware.dumpstate-service.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gear/dumpstate/android.hardware.dumpstate-service.rc b/gear/dumpstate/android.hardware.dumpstate-service.rc index ee69a68..3aba985 100644 --- a/gear/dumpstate/android.hardware.dumpstate-service.rc +++ b/gear/dumpstate/android.hardware.dumpstate-service.rc @@ -1,5 +1,5 @@ service vendor.dumpstate-default /vendor/bin/hw/android.hardware.dumpstate-service class hal user system - group system shell + group system shell readtracefs interface aidl android.hardware.dumpstate.IDumpstateDevice/default