android_device_oneplus_sm81.../sepolicy/vendor/vendor_init.te

18 lines
590 B
Plaintext
Raw Normal View History

# Allow vendor_init to read and write to ion_device
allow vendor_init ion_device:chr_file rw_file_perms;
# Allow vendor_init to read and write to tee_device
allow vendor_init tee_device:chr_file rw_file_perms;
# Allow vendor_init to write to sysfs_ssr_toggl
allow vendor_init sysfs_ssr_toggle:file w_file_perms;
# Allow init to create tmpfs
allow vendor_init tmpfs:dir create_dir_perms;
# Allow vendor_init to set vendor_disable_spu_prop
set_prop(vendor_init, vendor_disable_spu_prop)
# Allow vendor_init to set vendor_tee_listener_prop
get_prop(vendor_init, vendor_tee_listener_prop)