Update Mali DDK to r40 : Additional SELinux settings

Expose DDK's dynamic configuration options through the Android Sysprop
interface, following recommendations from Arm's Android Integration
Manual.

b/261718474

Change-Id: I75457d2d4f6e37bdd85329bac7fd81327cfff628
This commit is contained in:
Jörg Wagner 2022-12-27 14:00:23 +00:00
parent 62eebf952f
commit 4183daf7f1
4 changed files with 13 additions and 0 deletions

View file

@ -1,2 +1,6 @@
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)

View file

@ -38,3 +38,6 @@ vendor_internal_prop(vendor_telephony_app_prop)
# Trusty storage FS ready
vendor_internal_prop(vendor_trusty_storage_prop)
# Mali Integration
vendor_public_prop(vendor_arm_runtime_option_prop)

View file

@ -102,3 +102,6 @@ vendor.config.debug. u:object_r:vendor_telephony_app_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

View file

@ -38,3 +38,6 @@ allow vendor_init proc_watermark_scale_factor:file w_file_perms;
# Trusty storage FS ready
get_prop(vendor_init, vendor_trusty_storage_prop)
# Mali
set_prop(vendor_init, vendor_arm_runtime_option_prop)