From 2586397a0d9f1d7ade0e9919821a6a194f011475 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 20 Oct 2021 16:01:00 -0400 Subject: [PATCH] Protect real SPL property Label it with the same SELinux context as the original SPL property. --- prebuilts/api/31.0/private/property_contexts | 1 + prebuilts/api/32.0/private/property_contexts | 1 + private/property_contexts | 1 + 3 files changed, 3 insertions(+) diff --git a/prebuilts/api/31.0/private/property_contexts b/prebuilts/api/31.0/private/property_contexts index 192e55e56..f7aba0c96 100644 --- a/prebuilts/api/31.0/private/property_contexts +++ b/prebuilts/api/31.0/private/property_contexts @@ -711,6 +711,7 @@ ro.build.version.release u:object_r:build_prop:s0 exact string ro.build.version.release_or_codename u:object_r:build_prop:s0 exact string ro.build.version.sdk u:object_r:build_prop:s0 exact int ro.build.version.security_patch u:object_r:build_prop:s0 exact string +ro.build.version.real_security_patch u:object_r:build_prop:s0 exact string ro.actionable_compatible_property.enabled u:object_r:build_prop:s0 exact bool diff --git a/prebuilts/api/32.0/private/property_contexts b/prebuilts/api/32.0/private/property_contexts index 1c7151837..709328436 100644 --- a/prebuilts/api/32.0/private/property_contexts +++ b/prebuilts/api/32.0/private/property_contexts @@ -716,6 +716,7 @@ ro.build.version.release u:object_r:build_prop:s0 exact string ro.build.version.release_or_codename u:object_r:build_prop:s0 exact string ro.build.version.sdk u:object_r:build_prop:s0 exact int ro.build.version.security_patch u:object_r:build_prop:s0 exact string +ro.build.version.real_security_patch u:object_r:build_prop:s0 exact string ro.actionable_compatible_property.enabled u:object_r:build_prop:s0 exact bool diff --git a/private/property_contexts b/private/property_contexts index 1c7151837..709328436 100644 --- a/private/property_contexts +++ b/private/property_contexts @@ -716,6 +716,7 @@ ro.build.version.release u:object_r:build_prop:s0 exact string ro.build.version.release_or_codename u:object_r:build_prop:s0 exact string ro.build.version.sdk u:object_r:build_prop:s0 exact int ro.build.version.security_patch u:object_r:build_prop:s0 exact string +ro.build.version.real_security_patch u:object_r:build_prop:s0 exact string ro.actionable_compatible_property.enabled u:object_r:build_prop:s0 exact bool -- 2.36.0