From f85f298b2fbb4a380498eb09282a55f27f64f30f Mon Sep 17 00:00:00 2001 From: Alan Stokes Date: Tue, 4 Apr 2023 15:17:06 +0100 Subject: [PATCH] Fix dalvik property attribute for Microdroid Commit 22fb5c7d248d24f68c08356e9ce2f8a5a69e5105 migrated from property types to attributes in some Microdroid rules, but omitted to associated the attribute with the relevant types. So we fix that. Bug: 274530433 Bug: 275469579 Bug: 276895565 Test: Will schedule a test run Change-Id: I11194be9d1e352fa456c24a3b5784c18ccc03a69 --- microdroid/system/private/property.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/microdroid/system/private/property.te b/microdroid/system/private/property.te index 30773018f..de320032c 100644 --- a/microdroid/system/private/property.te +++ b/microdroid/system/private/property.te @@ -6,6 +6,9 @@ system_public_prop(dalvik_dynamic_config_prop) system_restricted_prop(device_config_runtime_native_prop) system_restricted_prop(device_config_runtime_native_boot_prop) +typeattribute dalvik_config_prop dalvik_config_prop_type; +typeattribute dalvik_dynamic_config_prop dalvik_config_prop_type; + # Don't audit legacy ctl. property handling. We only want the newer permission check to appear # in the audit log dontaudit domain {