aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordd3boh <dade.garberi@gmail.com>2017-10-27 20:06:49 +0200
committerdd3boh <dade.garberi@gmail.com>2017-10-31 12:34:44 +0100
commitc5f4698b786cac417e9d9b87c94b8889d7ac4134 (patch)
treea19c19e5ceadc356907ea37b80ad4303b272c176
parentbbdcd4c0bef0d53dca57dc3d752dd6d424d36a89 (diff)
Revert "z2_plus: rootdir: Get rid of qcom_diag"
This reverts commit bd10d1a6243b013efd4b89cb9ec6416225f6b053.
-rw-r--r--gps/etc/izat.conf4
-rwxr-xr-xrootdir/etc/init.qcom.rc24
-rw-r--r--rootdir/etc/ueventd.qcom.rc2
3 files changed, 15 insertions, 15 deletions
diff --git a/gps/etc/izat.conf b/gps/etc/izat.conf
index 86dbc26..336fbea 100644
--- a/gps/etc/izat.conf
+++ b/gps/etc/izat.conf
@@ -155,7 +155,7 @@ WIFI_SUPPLICANT_INFO=BASIC
PROCESS_NAME=/system/bin/DR_AP_Service
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED
-PROCESS_GROUPS=gps net_raw diag diag
+PROCESS_GROUPS=gps net_raw diag qcom_diag
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
@@ -191,7 +191,7 @@ HARDWARE_TYPE=all
PROCESS_NAME=/system/bin/lowi-server
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
-PROCESS_GROUPS=gps net_admin wifi inet diag
+PROCESS_GROUPS=gps net_admin wifi inet qcom_diag
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0xf303
PLATFORMS=all
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 4962ac1..981dd57 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -722,7 +722,7 @@ service iop /system/bin/iop
service qcomsysd /system/bin/qcom-system-daemon
class main
user root
- group root diag
+ group root qcom_diag
service ssr_setup /system/bin/ssr_setup
oneshot
@@ -837,7 +837,7 @@ on property:wc_transport.start_hci=false
service start_hci_filter /system/bin/wcnss_filter
class late_start
user bluetooth
- group bluetooth diag
+ group bluetooth qcom_diag
disabled
on property:wc_transport.start_root=true
start hci_filter_root
@@ -866,7 +866,7 @@ on property:wc_transport.start_root=false
service hci_filter_root /system/bin/wcnss_filter
class late_start
user bluetooth
- group bluetooth diag system
+ group bluetooth qcom_diag system
disabled
service config_bluetooth /system/bin/sh /system/etc/init.qcom.bt.sh "onboot"
@@ -918,14 +918,14 @@ service btsnoop /system/bin/btsnoop
service ftmd /system/bin/logwrapper /system/bin/ftmdaemon
class late_start
user root
- group bluetooth net_bt_admin misc net_bt_stack diag net_bt
+ group bluetooth net_bt_admin misc net_bt_stack qcom_diag net_bt
disabled
oneshot
service bridgemgrd /system/bin/bridgemgrd
class late_start
user radio
- group radio diag
+ group radio qcom_diag
disabled
service port-bridge /system/bin/port-bridge
@@ -937,14 +937,14 @@ service port-bridge /system/bin/port-bridge
service qmiproxy /system/bin/qmiproxy
class main
user radio
- group radio diag
+ group radio qcom_diag
disabled
# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main
user root
- group radio audio bluetooth gps nfc diag wakelock
+ group radio audio bluetooth gps nfc qcom_diag wakelock
writepid /dev/cpuset/system-background/tasks
service netmgrd /system/bin/netmgrd
@@ -956,7 +956,7 @@ service ipacm-diag /system/bin/ipacm-diag
class main
user system
socket ipacm_log_file dgram 660 system net_admin
- group net_admin diag
+ group net_admin qcom_diag
service ipacm /system/bin/ipacm
class main
@@ -967,7 +967,7 @@ service ipacm /system/bin/ipacm
service qti /system/vendor/bin/qti
class main
user radio
- group radio net_raw diag usb net_admin
+ group radio net_raw qcom_diag usb net_admin
writepid /dev/cpuset/system-background/tasks
service sensors /system/bin/sensors.qcom
@@ -1064,7 +1064,7 @@ on property:sys.shutdown.requested=*
service loc_launcher /system/bin/loc_launcher
# loc_launcher will start as root and set its uid to gps
class late_start
- group gps inet diag wifi
+ group gps inet qcom_diag wifi
writepid /dev/cpuset/system-background/tasks
service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
@@ -1202,14 +1202,14 @@ on property:sys.qbcharger.enable=false
service diag_mdlog_start /system/bin/diag_mdlog -c
class late_start
user shell
- group system diag sdcard_rw sdcard_r media_rw
+ group system qcom_diag sdcard_rw sdcard_r media_rw
disabled
oneshot
service diag_mdlog_stop /system/bin/diag_mdlog -k
class late_start
user shell
- group system diag sdcard_rw sdcard_r media_rw
+ group system qcom_diag sdcard_rw sdcard_r media_rw
disabled
oneshot
diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc
index d6f385f..f4e00cb 100644
--- a/rootdir/etc/ueventd.qcom.rc
+++ b/rootdir/etc/ueventd.qcom.rc
@@ -26,7 +26,7 @@
#
# the DIAG device node is not world writable/readable.
-/dev/diag 0660 system diag
+/dev/diag 0660 system qcom_diag
/dev/genlock 0666 system system
/dev/kgsl 0666 system system