2020-10-13 11:20:41 +00:00
|
|
|
typeattribute vendor_init data_between_core_and_vendor_violators;
|
|
|
|
|
2019-07-11 12:49:27 +00:00
|
|
|
# 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;
|
|
|
|
|
2019-07-11 13:32:52 +00:00
|
|
|
# Allow vendor_init to write to sysfs_ssr_toggl
|
2020-10-12 18:40:21 +00:00
|
|
|
allow vendor_init vendor_sysfs_ssr_toggle:file w_file_perms;
|
2019-07-11 13:32:52 +00:00
|
|
|
|
2020-10-13 11:20:41 +00:00
|
|
|
# Allow init to create fpc_images_file
|
|
|
|
allow vendor_init fpc_images_file:dir create_dir_perms;
|
|
|
|
|
|
|
|
# Allow init to create nfc_data_file
|
|
|
|
allow vendor_init nfc_data_file:dir create_dir_perms;
|
|
|
|
|
2019-07-11 12:49:27 +00:00
|
|
|
# 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)
|
|
|
|
|
2021-04-04 06:24:22 +00:00
|
|
|
# Allow vendor_init to get vendor_tee_listener_prop
|
2019-07-11 12:49:27 +00:00
|
|
|
get_prop(vendor_init, vendor_tee_listener_prop)
|
2021-04-04 06:24:22 +00:00
|
|
|
|
|
|
|
# Allow vendor_init to set vendor_nfc_prop
|
|
|
|
set_prop(vendor_init, vendor_nfc_prop)
|