Randall Huang | 05688c6 | 2023-08-24 03:27:09 +0000 | [diff] [blame] | 1 | type pixel-thermal-control-sh, domain; |
| 2 | type pixel-thermal-control-sh_exec, exec_type, vendor_file_type, file_type; |
| 3 | |
| 4 | init_daemon_domain(pixel-thermal-control-sh) |
| 5 | |
| 6 | userdebug_or_eng(` |
| 7 | allow pixel-thermal-control-sh vendor_toolbox_exec:file execute_no_trans; |
| 8 | allow pixel-thermal-control-sh sysfs_thermal:dir r_dir_perms; |
| 9 | allow pixel-thermal-control-sh sysfs_thermal:file rw_file_perms; |
| 10 | allow pixel-thermal-control-sh sysfs_thermal:lnk_file r_file_perms; |
| 11 | allow pixel-thermal-control-sh thermal_link_device:dir r_dir_perms; |
| 12 | get_prop(pixel-thermal-control-sh, vendor_thermal_prop) |
| 13 | ') |