device_lenovo_sdm710-common/sepolicy/vendor/vendor_init.te
LuK1337 68d09ebf7f
Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00

16 lines
590 B
Text

permissive vendor_init;
#type qti_init_shell_exec, exec_type, vendor_file_type,file_type;
# Allow vendor_init to set public_vendor_default_prop
set_prop(vendor_init, public_vendor_default_prop)
typeattribute vendor_init data_between_core_and_vendor_violators;
# Allow vendor_init to write to sysfs_ssr_toggl
allow vendor_init sysfs_ssr_toggle:file w_file_perms;
# Allow vendor_init to check encryption status of system_data_file
allow vendor_init system_data_file:dir { ioctl open read setattr };
# Allow vendor_init to set vendor_camera_prop
set_prop(vendor_init, vendor_camera_prop)