Merge "[ALPS03946757] Thermal: Add permission" into alps-trunk-p0.basic
Change-Id: I1462cb40ec93cfc0293baf2d3bb9c095343880de MTK-Commit-Id: 82833fac68b459f3d602416900a6c4aa3aacbe4d
This commit is contained in:
commit
7a3f9b9cc0
8
non_plat/hal_thermal_default.te
Executable file
8
non_plat/hal_thermal_default.te
Executable file
@ -0,0 +1,8 @@
|
||||
|
||||
# Date : WK18.23
|
||||
# Operation : P Migration
|
||||
# Purpose : add grant permission for Thermal HAL mtktz and proc
|
||||
|
||||
allow hal_thermal_default proc_mtktz:dir search;
|
||||
allow hal_thermal_default proc_mtktz:file {open read getattr};
|
||||
allow hal_thermal_default proc_stat:file {open read getattr };
|
@ -78,3 +78,11 @@ allow merged_hal_service sysfs_devices_system_cpu:file write;
|
||||
allow merged_hal_service mtk_powerhal_data_file:dir {create_dir_perms rw_dir_perms};
|
||||
allow merged_hal_service mtk_powerhal_data_file:file {create_file_perms rw_file_perms};
|
||||
allow merged_hal_service mtk_powerhal_data_file:sock_file {create_file_perms rw_file_perms};
|
||||
|
||||
|
||||
# Date : WK18.23
|
||||
# Operation : P Migration
|
||||
# Purpose : add grant permission for Thermal HAL mtktz and proc
|
||||
allow merged_hal_service proc_mtktz:dir search;
|
||||
allow merged_hal_service proc_mtktz:file {open read getattr};
|
||||
allow merged_hal_service proc_stat:file {open read getattr };
|
||||
|
Loading…
x
Reference in New Issue
Block a user