From 6fa748ff45614a450a2b442bb9fa46b40849d213 Mon Sep 17 00:00:00 2001 From: Jayachandran C Date: Thu, 22 Jun 2017 08:35:57 -0700 Subject: [PATCH] Allow radio to set telephony monitor property on userdebug builds This is need to fix the following denial selinux: avc: denied { set } for property=persist.radio.enable_tel_mon pid=9378 uid=1001 gid=1001 scontext=u:r:radio:s0 tcontext=u:object_r: tel_mon_prop:s0 tclass=property_service permissive=0 Test: Verifed no telephony monitor crash at power up Bug: 62870818 Change-Id: If72bb39552d38c5498094170fd27ca6cda6efa2b --- sepolicy/vendor/radio.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/vendor/radio.te b/sepolicy/vendor/radio.te index 96640ba7..36c9050c 100644 --- a/sepolicy/vendor/radio.te +++ b/sepolicy/vendor/radio.te @@ -1,5 +1,5 @@ get_prop(radio, ims_prop) -userdebug_or_eng(`get_prop(radio, tel_mon_prop)') +userdebug_or_eng(`set_prop(radio, tel_mon_prop)') allow radio qmuxd_socket:dir search; allow radio qmuxd_socket:sock_file write;