2021-07-11 12:59:44 -04:00
|
|
|
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;
|
|
|
|
|
2019-07-11 09:32:52 -04:00
|
|
|
# Allow vendor_init to write to sysfs_ssr_toggl
|
|
|
|
allow vendor_init sysfs_ssr_toggle:file w_file_perms;
|
|
|
|
|
2021-07-11 12:59:44 -04:00
|
|
|
# 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)
|