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 74d31a1568
)
Merged-In: I5c69a8bafe3a4c738c124facb1f437ec721cc3ea
Change-Id: I7e6734cb79b38898eb65a0194b37381a1367fc36
This commit is contained in:
parent
4d9aa0b28f
commit
cb6bad65e7
4 changed files with 15 additions and 0 deletions
4
whitechapel/vendor/google/domain.te
vendored
4
whitechapel/vendor/google/domain.te
vendored
|
@ -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)
|
||||
|
||||
|
|
4
whitechapel/vendor/google/property.te
vendored
4
whitechapel/vendor/google/property.te
vendored
|
@ -56,3 +56,7 @@ system_vendor_config_prop(vendor_uwb_calibration_prop)
|
|||
|
||||
# Trusty storage FS ready
|
||||
vendor_internal_prop(vendor_trusty_storage_prop)
|
||||
|
||||
# Mali Integration
|
||||
vendor_public_prop(vendor_arm_runtime_option_prop)
|
||||
|
||||
|
|
3
whitechapel/vendor/google/property_contexts
vendored
3
whitechapel/vendor/google/property_contexts
vendored
|
@ -99,3 +99,6 @@ ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibratio
|
|||
|
||||
# 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
|
||||
|
|
4
whitechapel/vendor/google/vendor_init.te
vendored
4
whitechapel/vendor/google/vendor_init.te
vendored
|
@ -41,3 +41,7 @@ set_prop(vendor_init, vendor_display_prop)
|
|||
|
||||
# Trusty storage FS ready
|
||||
get_prop(vendor_init, vendor_trusty_storage_prop)
|
||||
|
||||
# Mali
|
||||
set_prop(vendor_init, vendor_arm_runtime_option_prop)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue