Rework the radio vs rild property split.
Only label properties with the ril. prefix with rild_prop.
Allow rild and system (and radio) to set radio_prop.
Only rild can set rild_prop presently.
diff --git a/property_contexts b/property_contexts
index 320179c..dc87c9b 100644
--- a/property_contexts
+++ b/property_contexts
@@ -7,17 +7,13 @@
net.ppp u:object_r:radio_prop:s0
net.qmi u:object_r:radio_prop:s0
net.lte u:object_r:radio_prop:s0
+net.cdma u:object_r:radio_prop:s0
+gsm. u:object_r:radio_prop:s0
persist.radio u:object_r:radio_prop:s0
net.dns u:object_r:radio_prop:s0
sys.usb.config u:object_r:radio_prop:s0
-gsm.current.phone-type u:object_r:radio_prop:s0
-gsm.sim. u:object_r:radio_prop:s0
-gsm.operator. u:object_r:radio_prop:s0
-gsm.version.baseband u:object_r:radio_prop:s0
ril. u:object_r:rild_prop:s0
-gsm. u:object_r:rild_prop:s0
-net.cdma u:object_r:rild_prop:s0
net. u:object_r:system_prop:s0
dev. u:object_r:system_prop:s0
diff --git a/rild.te b/rild.te
index 684bc1d..a0a4a37 100644
--- a/rild.te
+++ b/rild.te
@@ -23,3 +23,4 @@
# property service
allow rild rild_prop:property_service set;
+allow rild radio_prop:property_service set;
diff --git a/system.te b/system.te
index 58e4f47..6466e96 100644
--- a/system.te
+++ b/system.te
@@ -148,6 +148,7 @@
# Property Service write
allow system system_prop:property_service set;
+allow system radio_prop:property_service set;
# ctl interface
allow system ctl_default_prop:property_service set;