diff --git a/non_plat/aee_aedv.te b/non_plat/aee_aedv.te index c7a9982..96fa466 100644 --- a/non_plat/aee_aedv.te +++ b/non_plat/aee_aedv.te @@ -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) diff --git a/non_plat/dumpstate.te b/non_plat/dumpstate.te index 886a947..c1cb3ff 100644 --- a/non_plat/dumpstate.te +++ b/non_plat/dumpstate.te @@ -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; diff --git a/non_plat/file.te b/non_plat/file.te index 30215b4..e5dab71 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -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; diff --git a/non_plat/genfs_contexts b/non_plat/genfs_contexts index 746967f..d1b67db 100644 --- a/non_plat/genfs_contexts +++ b/non_plat/genfs_contexts @@ -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