[ALPS04023420] cmdq: CMDQ_STATUS not gen in db

Miss rule in aee_aedv.te and cause cmdq status blocking by rule.
Add rule and fix name typo.

MTK-Commit-Id: 589feaa73ff62b1893f30d5e4b1ce02d34c94edf

Change-Id: I046f73e29f404cb51908f8191599cb46a7c1399d
Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
CR-Id: ALPS04023420
Feature: Android Exception Engine(AEE)
This commit is contained in:
Dennis YC Hsieh 2020-01-18 10:06:20 +08:00 committed by Ping-Hsun Wu
parent 83cba54243
commit 28cf5af63a
4 changed files with 7 additions and 4 deletions

View File

@ -397,6 +397,9 @@ userdebug_or_eng(`allow aee_aedv self:capability { sys_ptrace dac_read_search da
#Purpose: Allow aee_aedv to read /sys/mtk_memcfg/slabtrace
allow aee_aedv proc_slabtrace:file r_file_perms;
#Purpose: Allow aee_aedv to read /proc/mtk_cmdq_debug/status
allow aee_aedv proc_cmdq_debug:file r_file_perms;
# temp solution
get_prop(aee_aedv, vendor_default_prop)

View File

@ -126,5 +126,5 @@ allow dumpstate sf_rtt_file:file r_file_perms;
#Purpose: Allow dumpstate to read/write /sys/mtk_memcfg/slabtrace
allow dumpstate proc_slabtrace:file r_file_perms;
#Purpose: Allow dumpstate to read/write /sys/mtk_cmdq_debug/status
allow dumpstate proc_cmqd_debug:file r_file_perms;
#Purpose: Allow dumpstate to read /proc/mtk_cmdq_debug/status
allow dumpstate proc_cmdq_debug:file r_file_perms;

View File

@ -69,7 +69,7 @@ type proc_msdc_debug, fs_type, proc_type;
type proc_pidmap, fs_type, proc_type;
type proc_kpageflags, fs_type, proc_type;
type proc_slabtrace, fs_type, proc_type;
type proc_cmqd_debug, fs_type, proc_type;
type proc_cmdq_debug, fs_type, proc_type;
type sysfs_therm, fs_type, sysfs_type;
type sysfs_fps, fs_type, sysfs_type;
type sysfs_ccci, fs_type, sysfs_type;

View File

@ -34,7 +34,7 @@ genfscon proc /msdc_debug u:object_r:proc_msdc_debug:s0
genfscon proc /pidmap u:object_r:proc_pidmap:s0
genfscon proc /kpageflags u:object_r:proc_kpageflags:s0
genfscon proc /mtk_memcfg/slabtrace u:object_r:proc_slabtrace:s0
genfscon proc /mtk_cmdq_debug/status u:object_r:proc_cmqd_debug:s0
genfscon proc /mtk_cmdq_debug/status u:object_r:proc_cmdq_debug:s0
genfscon iso9660 / u:object_r:iso9660:s0