• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# Date : WK18.23
3# Operation : P Migration
4# Purpose : add grant permission for Thermal HAL mtktz and proc
5
6allow hal_thermal_default proc_mtktz:dir search;
7allow hal_thermal_default proc_mtktz:file {open read getattr};
8allow hal_thermal_default proc_stat:file {open read getattr };
9
10#for uevent handle
11allow hal_thermal_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
12
13#for thermal sysfs
14allow hal_thermal_default sysfs_therm:file w_file_perms;
15allow hal_thermal_default sysfs_therm:file r_file_perms;
16allow hal_thermal_default sysfs_therm:dir search;