diff --git a/legacy/whitechapel_pro/property.te b/legacy/whitechapel_pro/property.te index 35f92068..78df728b 100644 --- a/legacy/whitechapel_pro/property.te +++ b/legacy/whitechapel_pro/property.te @@ -16,3 +16,6 @@ vendor_internal_prop(vendor_dynamic_sensor_prop) # Trusty storage FS ready vendor_internal_prop(vendor_trusty_storage_prop) + +# Mali Integration +vendor_public_prop(vendor_arm_runtime_option_prop) diff --git a/legacy/whitechapel_pro/property_contexts b/legacy/whitechapel_pro/property_contexts index 103ff838..fa45110d 100644 --- a/legacy/whitechapel_pro/property_contexts +++ b/legacy/whitechapel_pro/property_contexts @@ -23,3 +23,6 @@ vendor.dynamic_sensor. u:object_r:vendor_dynamic_sensor_prop # Trusty ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage_prop:s0 + +# Mali GPU driver configuration and debug options +vendor.mali. u:object_r:vendor_arm_runtime_option_prop:s0 prefix diff --git a/vendor/domain.te b/vendor/domain.te index fd876e09..a8bad53f 100644 --- a/vendor/domain.te +++ b/vendor/domain.te @@ -1,2 +1,5 @@ allow {domain -appdomain -rs} proc_vendor_sched:dir r_dir_perms; allow {domain -appdomain -rs} proc_vendor_sched:file w_file_perms; + +# Mali +get_prop(domain, vendor_arm_runtime_option_prop) diff --git a/vendor/vendor_init.te b/vendor/vendor_init.te index 024387b9..9b3365cb 100644 --- a/vendor/vendor_init.te +++ b/vendor/vendor_init.te @@ -25,3 +25,6 @@ set_prop(vendor_init, vendor_secure_element_prop) # USB property set_prop(vendor_init, vendor_usb_config_prop) + +# Mali +set_prop(vendor_init, vendor_arm_runtime_option_prop)