From 3a099879fb976cd153c9a02312b9a08b58576f3e Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@tycho.nsa.gov> Date: Thu, 29 May 2014 09:06:38 -0400 Subject: [PATCH] Label ril.cdma with radio_prop. Resolves denials such as: avc: denied { set } for property=ril.cdma.inecmmode scontext=u:r:radio:s0 tcontext=u:object_r:rild_prop:s0 tclass=property_service This makes ril.cdma consistent with net.cdma. We may ultimately need to coalesce rild_prop and radio_prop; they were an attempt to distinguish what can be set by rild from what can be set by com.android.phone, but the init property service DAC checking permits any of them to be set by anything with the radio AID. We presently allow rild to set either type, but radio can only set radio_prop. Change-Id: Ia3852db187e52427e18075e24b2beab19dd59c1f Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> --- property_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/property_contexts b/property_contexts index aedf60c4a..c525c3bca 100644 --- a/property_contexts +++ b/property_contexts @@ -14,6 +14,7 @@ net.dns u:object_r:radio_prop:s0 sys.usb.config u:object_r:radio_prop:s0 ril. u:object_r:rild_prop:s0 +ril.cdma u:object_r:radio_prop:s0 net. u:object_r:system_prop:s0 dev. u:object_r:system_prop:s0 -- GitLab