device_google_zuma/legacy/whitechapel_pro/vendor_init.te
Stephen Crane c5ac946a7a Allow Trusty storageproxy property
Allows the Trusty storageproxyd to set ro.vendor.trusty.storage.fs_ready
when the data filesystems are ready for use, and allows vendor init to
query and wait on this property.

Test: build, flash, test app loading
Bug: 258018785
Change-Id: I5fe83524d74a6f5017011553c6d5ad0e3831751c
2022-11-22 23:27:44 +00:00

28 lines
894 B
Text

allow vendor_init bootdevice_sysdev:file create_file_perms;
set_prop(vendor_init, vendor_ssrdump_prop)
get_prop(vendor_init, vendor_battery_profile_prop)
set_prop(vendor_init, vendor_device_prop)
set_prop(vendor_init, vendor_usb_config_prop)
set_prop(vendor_init, logpersistd_logging_prop)
set_prop(vendor_init, vendor_logger_prop)
allow vendor_init proc_dirty:file w_file_perms;
allow vendor_init proc_sched:file w_file_perms;
# NFC vendor property
set_prop(vendor_init, vendor_nfc_prop)
# SecureElement vendor property
set_prop(vendor_init, vendor_secure_element_prop)
allow vendor_init sysfs_st33spi:file w_file_perms;
# Fingerprint property
set_prop(vendor_init, vendor_fingerprint_prop)
allow vendor_init modem_img_file:filesystem { getattr };
# Battery
set_prop(vendor_init, vendor_battery_defender_prop)
# Trusty storage FS ready
get_prop(vendor_init, vendor_trusty_storage_prop)