Add qcom_diag group for relevant processes, set sdio permissions

Access to Diag requires processes to be part of a new "qcom_diag" group.
Adding QMUXD, QMI Proxy to be part of this new group to be able
to log messages to Diag.

Change-Id: I9eb08ac8f44590656c0bd8f0e8ce648e9e406deb
This commit is contained in:
Praveena Pachipulusu 2012-07-18 16:26:06 +05:30
parent b8ed0ff26d
commit 3cfed4b955
2 changed files with 15 additions and 3 deletions

View File

@ -276,7 +276,7 @@ service bt-sap /system/bin/sapd 15
service bridgemgrd /system/bin/bridgemgrd
class late_start
user radio
group radio
group radio qcom_diag
disabled
service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0
@ -288,14 +288,14 @@ service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0
service qmiproxy /system/bin/qmiproxy
class main
user radio
group radio
group radio qcom_diag
disabled
# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main
user radio
group radio audio bluetooth gps
group radio audio bluetooth gps qcom_diag
disabled
service netmgrd /system/bin/netmgrd

View File

@ -25,6 +25,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# the DIAG device node is not world writable/readable.
/dev/diag 0660 system qcom_diag
/dev/genlock 0666 system system
/dev/kgsl 0666 system system
/dev/kgsl-3d0 0666 system system
@ -42,6 +45,15 @@
/dev/smdcntl6 0640 radio radio
/dev/smdcntl7 0640 radio radio
/dev/smuxctl32 0640 radio radio
/dev/sdioctl0 0640 radio radio
/dev/sdioctl1 0640 radio radio
/dev/sdioctl2 0640 radio radio
/dev/sdioctl3 0640 radio radio
/dev/sdioctl4 0640 radio radio
/dev/sdioctl5 0640 radio radio
/dev/sdioctl6 0640 radio radio
/dev/sdioctl7 0640 radio radio
/dev/sdioctl8 0640 radio radio
/dev/rmnet_mux_ctrl 0640 radio radio
/dev/hsicctl0 0640 radio radio
/dev/hsicctl1 0640 radio radio