[ALPS04642542] add allow rule for reading tracing_on

ensure aee_dumpstate can read tracing_on value

MTK-Commit-Id: a97d988f87616ea966acdfc090f665237098fb22

Change-Id: I04b844de30965f943b7d3d2be1c805c3158dbf13
CR-Id: ALPS04642542
Feature: Android Exception Engine(AEE)
This commit is contained in:
Huaiming Li 2020-01-18 10:16:04 +08:00
parent 03bb250992
commit cbb2ca1665

View File

@ -81,7 +81,7 @@ allow dumpstate sf_bqdump_data_file:file r_file_perms;
# avc: denied { open } for path="/sys/kernel/debug/tracing/tracing_on" dev=
# "debugfs" ino=2087 scontext=u:r:dumpstate:s0 tcontext=u:object_r:
# tracing_shell_writable:s0 tclass=file permissive=1
allow dumpstate debugfs_tracing:file { write read open };
allow dumpstate debugfs_tracing:file rw_file_perms;
# Data : WK17.03
# Purpose: Allow to access gpu