[ALPS04328846] power: enable cache audit
[Detail] 1. Add label for cache audit 2. Add permission to PowerHal MTK-Commit-Id: b0f9581a8cb23b9dcb655b33b7255aedb597574e Change-Id: Iea67821d04cb287c3492bf2eb6f3c4adc07aef84 CR-Id: ALPS04328846 Feature: [Module]PowerHAL
This commit is contained in:
parent
e32b6f7663
commit
19ad399e64
@ -400,12 +400,15 @@ type proc_ppm, fs_type, proc_type;
|
||||
type proc_cpufreq, fs_type, proc_type;
|
||||
type proc_hps, fs_type, proc_type;
|
||||
type proc_cm_mgr, fs_type, proc_type;
|
||||
type proc_ca_drv, fs_type, proc_type;
|
||||
type sysfs_ged, fs_type, sysfs_type;
|
||||
type sysfs_fbt_cpu, fs_type, sysfs_type;
|
||||
type sysfs_fbt_fteh, fs_type, sysfs_type;
|
||||
|
||||
# Date : 2019/09/17
|
||||
# Purpose: Allow powerhal to control cache audit
|
||||
type sysfs_ca_drv, fs_type, sysfs_type;
|
||||
type sysfs_pftch_qos, fs_type, sysfs_type;
|
||||
|
||||
# Date : WK19.38
|
||||
# Purpose: Android Migration for video codec driver
|
||||
type sysfs_device_tree_model, fs_type, sysfs_type;
|
||||
|
||||
|
@ -230,18 +230,21 @@ genfscon sysfs /devices/platform/trusty u:object_r:mtee_trusty_file:s0
|
||||
# Purpose: allow rild to access /proc/aed/reboot-reason
|
||||
genfscon proc /aed/reboot-reason u:object_r:proc_aed_reboot_reason:s0
|
||||
|
||||
|
||||
# 2019/09/05
|
||||
# Purpose: Allow powerhal to control kernel resources
|
||||
genfscon proc /ppm u:object_r:proc_ppm:s0
|
||||
genfscon proc /cpufreq u:object_r:proc_cpufreq:s0
|
||||
genfscon proc /hps u:object_r:proc_hps:s0
|
||||
genfscon proc /cm_mgr u:object_r:proc_cm_mgr:s0
|
||||
genfscon proc /ca_drv u:object_r:proc_ca_drv:s0
|
||||
genfscon sysfs /module/ged u:object_r:sysfs_ged:s0
|
||||
genfscon sysfs /module/fbt_cpu u:object_r:sysfs_fbt_cpu:s0
|
||||
genfscon sysfs /module/fbt_fteh u:object_r:sysfs_fbt_fteh:s0
|
||||
|
||||
# 2019/09/05
|
||||
# Purpose: Allow powerhal to control cache audit
|
||||
genfscon sysfs /module/ca_drv u:object_r:sysfs_ca_drv:s0
|
||||
genfscon sysfs /module/pftch_qos u:object_r:sysfs_pftch_qos:s0
|
||||
|
||||
# Date : WK19.38
|
||||
# Purpose: Android Migration for video codec driver
|
||||
genfscon sysfs /firmware/devicetree/base/model u:object_r:sysfs_device_tree_model:s0
|
||||
|
@ -159,3 +159,11 @@ allow mtk_hal_power sysfs_fbt_cpu:dir r_dir_perms;
|
||||
allow mtk_hal_power sysfs_fbt_cpu:file rw_file_perms;
|
||||
allow mtk_hal_power sysfs_fbt_fteh:dir r_dir_perms;
|
||||
allow mtk_hal_power sysfs_fbt_fteh:file rw_file_perms;
|
||||
|
||||
# Date : 2019/09/17
|
||||
# Operation: SQC
|
||||
# Purpose : Add cache audit
|
||||
allow mtk_hal_power sysfs_ca_drv:dir r_dir_perms;
|
||||
allow mtk_hal_power sysfs_ca_drv:file rw_file_perms;
|
||||
allow mtk_hal_power sysfs_pftch_qos:dir r_dir_perms;
|
||||
allow mtk_hal_power sysfs_pftch_qos:file rw_file_perms;
|
||||
|
Loading…
x
Reference in New Issue
Block a user