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.

Bug: 261718474

(cherry picked from commit 6834d6f59f)
Merged-In: I785106b6d2d05e21bf60fcd6da3d716b32e1bc1d
Change-Id: I0469e2f24abe7a9458305d5752ae655cf4f42547
This commit is contained in:
Jörg Wagner 2022-12-27 14:28:56 +00:00
parent 85829f2265
commit d8c6712f5b
4 changed files with 12 additions and 0 deletions

View file

@ -13,3 +13,6 @@ system_vendor_config_prop(vendor_uwb_calibration_prop)
# Trusty storage FS ready # Trusty storage FS ready
vendor_internal_prop(vendor_trusty_storage_prop) vendor_internal_prop(vendor_trusty_storage_prop)
# Mali Integration
vendor_public_prop(vendor_arm_runtime_option_prop)

View file

@ -20,3 +20,6 @@ ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibration_pro
# Trusty # Trusty
ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage_prop:s0 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

3
vendor/domain.te vendored
View file

@ -1,2 +1,5 @@
allow {domain -appdomain -rs} proc_vendor_sched:dir r_dir_perms; allow {domain -appdomain -rs} proc_vendor_sched:dir r_dir_perms;
allow {domain -appdomain -rs} proc_vendor_sched:file w_file_perms; allow {domain -appdomain -rs} proc_vendor_sched:file w_file_perms;
# Mali
get_prop(domain, vendor_arm_runtime_option_prop)

View file

@ -27,3 +27,6 @@ set_prop(vendor_init, vendor_secure_element_prop)
set_prop(vendor_init, vendor_usb_config_prop) set_prop(vendor_init, vendor_usb_config_prop)
set_prop(vendor_init, vendor_ssrdump_prop) set_prop(vendor_init, vendor_ssrdump_prop)
# Mali
set_prop(vendor_init, vendor_arm_runtime_option_prop)