modem_svc: to send modemstat command to modem
1. To resolve the denials
avc: denied { search } for path="/sys/bus/msm_subsys/devices" dev="sysfs" ino=20150 scontext=u:r:modem_svc:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=1
avc: denied { use } for comm="modem_svc" path="/data/user_de/0/com.android.shell/files/bugreports/dumpstate_board.txt" dev="dm-6" ino=64745 scontext=u:r:modem_svc:s0 tcontext=u:r:dumpstate:s0 tclass=fd permissive=0
avc: denied { write } for comm="modem_svc" path="/data/user_de/0/com.android.shell/files/bugreports/dumpstate_board.txt" dev="dm-6" ino=65674 scontext=u:r:modem_svc:s0 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0
2. Allow dumpstate calling modem_svc
Bug: 118760640
Change-Id: Ie03067bb13cbbec413aadad38f67ed86401b76e3
2 files changed