diff --git a/non_plat/file.te b/non_plat/file.te index 29e229f..73479f7 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -400,6 +400,7 @@ 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_fliperfs, 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; diff --git a/non_plat/genfs_contexts b/non_plat/genfs_contexts index 511c414..6bdae85 100644 --- a/non_plat/genfs_contexts +++ b/non_plat/genfs_contexts @@ -236,6 +236,7 @@ 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 /fliperfs u:object_r:proc_fliperfs: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 diff --git a/non_plat/mtk_hal_power.te b/non_plat/mtk_hal_power.te index fd64a18..9689a14 100644 --- a/non_plat/mtk_hal_power.te +++ b/non_plat/mtk_hal_power.te @@ -153,6 +153,8 @@ allow mtk_hal_power proc_hps:dir r_dir_perms; allow mtk_hal_power proc_hps:file rw_file_perms; allow mtk_hal_power proc_cm_mgr:dir r_dir_perms; allow mtk_hal_power proc_cm_mgr:file rw_file_perms; +allow mtk_hal_power proc_fliperfs:dir r_dir_perms; +allow mtk_hal_power proc_fliperfs:file rw_file_perms; allow mtk_hal_power sysfs_ged:dir r_dir_perms; allow mtk_hal_power sysfs_ged:file rw_file_perms; allow mtk_hal_power sysfs_fbt_cpu:dir r_dir_perms;