Add ArmNN config sysprops SELinux rules
Bug: 205202540 Bug: 264489188 Test: manual - reboot device and check the absence of AVC denials (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0f99f3e63450befc661d38827e9afc853ca9257a) Merged-In: I70c89dcc4b2bbe665d69cc4be1ac2f6cf8155a10 Change-Id: I70c89dcc4b2bbe665d69cc4be1ac2f6cf8155a10
This commit is contained in:
parent
26e3d2abd0
commit
a668555419
3 changed files with 8 additions and 0 deletions
3
whitechapel/vendor/google/property.te
vendored
3
whitechapel/vendor/google/property.te
vendored
|
@ -57,3 +57,6 @@ vendor_internal_prop(vendor_trusty_storage_prop)
|
||||||
|
|
||||||
# Mali Integration
|
# Mali Integration
|
||||||
vendor_restricted_prop(vendor_arm_runtime_option_prop)
|
vendor_restricted_prop(vendor_arm_runtime_option_prop)
|
||||||
|
|
||||||
|
# ArmNN configuration
|
||||||
|
vendor_internal_prop(vendor_armnn_config_prop)
|
||||||
|
|
3
whitechapel/vendor/google/property_contexts
vendored
3
whitechapel/vendor/google/property_contexts
vendored
|
@ -101,3 +101,6 @@ ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage
|
||||||
|
|
||||||
# Mali GPU driver configuration and debug options
|
# Mali GPU driver configuration and debug options
|
||||||
vendor.mali. u:object_r:vendor_arm_runtime_option_prop:s0 prefix
|
vendor.mali. u:object_r:vendor_arm_runtime_option_prop:s0 prefix
|
||||||
|
|
||||||
|
# ArmNN configuration
|
||||||
|
ro.vendor.armnn. u:object_r:vendor_armnn_config_prop:s0 prefix
|
||||||
|
|
2
whitechapel/vendor/google/vendor_init.te
vendored
2
whitechapel/vendor/google/vendor_init.te
vendored
|
@ -45,3 +45,5 @@ get_prop(vendor_init, vendor_trusty_storage_prop)
|
||||||
# Mali
|
# Mali
|
||||||
set_prop(vendor_init, vendor_arm_runtime_option_prop)
|
set_prop(vendor_init, vendor_arm_runtime_option_prop)
|
||||||
|
|
||||||
|
# ArmNN
|
||||||
|
set_prop(vendor_init, vendor_armnn_config_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue