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
This commit is contained in:
Jayachandran C
2017-06-22 08:35:57 -07:00
committed by Jayachandran Chinnakkannu
parent db87829ff1
commit 6fa748ff45

View File

@@ -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;