Files
device_xiaomi_sm6250-common/sepolicy/vendor/init-thermal-symlinks.sh.te
Alexander Winkowski 7f99605ccc sm6250-common: Update thermal HAL
* From hardware/google/pixel at d774cbb949e98627e4172bf8fc11e8d954599aa7.

Change-Id: I3a3a0c29575d0595e71a30f1e64e33ca34d2eb27
2021-11-01 08:20:48 +00:00

13 lines
631 B
Plaintext

type init-thermal-symlinks-sh, domain;
type init-thermal-symlinks-sh_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init-thermal-symlinks-sh)
allow init-thermal-symlinks-sh vendor_toolbox_exec:file rx_file_perms;
allow init-thermal-symlinks-sh thermal_link_device:dir rw_dir_perms;
allow init-thermal-symlinks-sh thermal_link_device:lnk_file create_file_perms;
allow init-thermal-symlinks-sh sysfs_thermal:dir r_dir_perms;
allow init-thermal-symlinks-sh sysfs_thermal:file r_file_perms;
allow init-thermal-symlinks-sh sysfs_thermal:lnk_file r_file_perms;
set_prop(init-thermal-symlinks-sh, vendor_thermal_prop)