From cd905228d14f59695bbfc168a9bfddb5e3478678 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 14 Apr 2023 09:20:40 +0000 Subject: [PATCH] Move ARM runtime option SELinux rules out of 'legacy/' Addressing some review feedback on ag/22381542 about this folder being removed in the future. Bug: b/272740524 Test: CtsDeqpTestCases (dEQP-VK.protected_memory.stack.stacksize_*) Change-Id: I8506da9b80fe060cd5093acafd58594e4db3341b --- legacy/whitechapel_pro/property.te | 3 --- legacy/whitechapel_pro/property_contexts | 3 --- vendor/property.te | 2 ++ vendor/property_contexts | 2 ++ 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/legacy/whitechapel_pro/property.te b/legacy/whitechapel_pro/property.te index 7e6bc5b3..a62eef67 100644 --- a/legacy/whitechapel_pro/property.te +++ b/legacy/whitechapel_pro/property.te @@ -12,6 +12,3 @@ system_vendor_config_prop(vendor_uwb_calibration_prop) # Trusty storage FS ready vendor_internal_prop(vendor_trusty_storage_prop) - -# Mali Integration -vendor_restricted_prop(vendor_arm_runtime_option_prop) diff --git a/legacy/whitechapel_pro/property_contexts b/legacy/whitechapel_pro/property_contexts index 6faf2397..fa5c9170 100644 --- a/legacy/whitechapel_pro/property_contexts +++ b/legacy/whitechapel_pro/property_contexts @@ -20,6 +20,3 @@ ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibration_pro # 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/property.te b/vendor/property.te index a7450c32..8ef51a8c 100644 --- a/vendor/property.te +++ b/vendor/property.te @@ -11,3 +11,5 @@ vendor_internal_prop(vendor_usb_config_prop) # Dynamic sensor vendor_internal_prop(vendor_dynamic_sensor_prop) +# Mali Integration +vendor_restricted_prop(vendor_arm_runtime_option_prop) diff --git a/vendor/property_contexts b/vendor/property_contexts index b020540c..8e439464 100644 --- a/vendor/property_contexts +++ b/vendor/property_contexts @@ -18,3 +18,5 @@ vendor.usb. u:object_r:vendor_usb_config_prop:s0 # Dynamic sensor vendor.dynamic_sensor. u:object_r:vendor_dynamic_sensor_prop:s0 +# Mali GPU driver configuration and debug options +vendor.mali. u:object_r:vendor_arm_runtime_option_prop:s0 prefix