mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 20:45:31 -04:00
universal7885: import thermal-symlinks sepolicy
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
acc922ef39
commit
3e8358f7a2
2 changed files with 11 additions and 0 deletions
10
universal7885-common/sepolicy/vendor/init-thermal-symlinks.sh.te
vendored
Normal file
10
universal7885-common/sepolicy/vendor/init-thermal-symlinks.sh.te
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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)
|
||||
Loading…
Reference in a new issue