39 lines
1.8 KiB
Diff
39 lines
1.8 KiB
Diff
From d64b74058176dedbe0c7f209956ecb1a9377f079 Mon Sep 17 00:00:00 2001
|
|
From: Peter Cai <peter@typeblog.net>
|
|
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 +
|
|
private/property_contexts | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/prebuilts/api/31.0/private/property_contexts b/prebuilts/api/31.0/private/property_contexts
|
|
index 8ac1e7005..b8be6dbf2 100644
|
|
--- a/prebuilts/api/31.0/private/property_contexts
|
|
+++ b/prebuilts/api/31.0/private/property_contexts
|
|
@@ -710,6 +710,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 8ac1e7005..b8be6dbf2 100644
|
|
--- a/private/property_contexts
|
|
+++ b/private/property_contexts
|
|
@@ -710,6 +710,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.33.1
|
|
|