[ALPS04383536] debugfs_tracing_debug allow rule

add debugfs_tracing_debug allow rule for aee_aedv

MTK-Commit-Id: b41cff1758cf4f62b8e177cb51f885056b476f17

Change-Id: I4981c061795d745628eae68f56b8697990f8005f
CR-Id: ALPS04383536
Feature: Android Exception Engine(AEE)
This commit is contained in:
Huaiming Li 2020-01-18 10:11:12 +08:00
parent 6572ac2fa3
commit 2cd4f92785

View File

@ -388,9 +388,9 @@ allow aee_aedv sysfs_vcore_debug:file r_file_perms;
allow aee_aedv sysfs_boot_mode:file r_file_perms;
#Purpose: Allow aee_aedv to read/write /sys/kernel/debug/tracing/buffer_total_size_kb
#userdebug_or_eng(`
# allow aee_aedv debugfs_tracing_debug:file { r_file_perms write };
#')
userdebug_or_eng(`
allow aee_aedv debugfs_tracing_debug:file { rw_file_perms };
')
#Purpose: Allow aee_aedv to read /sys/mtk_memcfg/slabtrace
allow aee_aedv proc_slabtrace:file r_file_perms;