summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukul Sharma <mukul@codeaurora.org>2018-10-03 16:00:16 +0530
committerJulian Veit <claymore1298@gmail.com>2019-01-26 10:22:51 +0100
commit87af11e35d75149e5aed924ad21910825fe825f9 (patch)
tree3c7c74c852ae201da0b090c19a28f1af7c9aa9cd
parent7a24093959b851d62c99a6e59066eee1e25a756e (diff)
sepolicy: Add vendor wifi prop in vendor partition access
Due to never allow for wifi_prop, vendor process cannot access the system wifi_prop property. But in certain scenario other process need it. Hence add a support of same. Change-Id: I6648e0e038888e79bee5f987bc584ad126924a66 CRs-fixed: 2293118
-rw-r--r--common/property.te3
-rw-r--r--common/property_contexts3
2 files changed, 6 insertions, 0 deletions
diff --git a/common/property.te b/common/property.te
index 7881756..8ebc0a0 100644
--- a/common/property.te
+++ b/common/property.te
@@ -136,3 +136,6 @@ type mmi_prop, property_type;
#imsrcsservice
type ctl_vendor_imsrcsservice_prop, property_type;
+
+#wlan-vendor prop
+type vendor_wifi_prop, property_type;
diff --git a/common/property_contexts b/common/property_contexts
index 427af65..ea774e2 100644
--- a/common/property_contexts
+++ b/common/property_contexts
@@ -131,3 +131,6 @@ persist.vendor.crash.detect u:object_r:crash_prop:s0
persist.vendor.mmi. u:object_r:mmi_prop:s0
ctl.vendor.imsrcsservice u:object_r:ctl_vendor_imsrcsservice_prop:s0
+
+#vendor-wlan
+vendor.wlan. u:object_r:vendor_wifi_prop:s0