summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2015-11-23 17:42:22 -0800
committerMax Weffers <rcstar6696@gmail.com>2017-03-14 13:17:29 +0100
commit792ed4e38d3b92c93e9aaa9636f665c08386c834 (patch)
tree89ddbf90f7ec505d6a48ae39d450fc517a6e3da4 /rootdir
parent29835795664d62ba7997f6587c82321885094fab (diff)
Use GID "wakelock" to control access to kernel wakelock
Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.camera.rc2
-rw-r--r--rootdir/init.qcom.rc4
2 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.camera.rc b/rootdir/init.camera.rc
index 6117444..619849f 100644
--- a/rootdir/init.camera.rc
+++ b/rootdir/init.camera.rc
@@ -192,7 +192,7 @@ service wvkbd_installer /system/bin/wvkbd
service rmt_storage /system/bin/rmt_storage
class core
user root
-
+ group system wakelock
#service qcamerasvr /system/bin/logwrapper /system/bin/mm-qcamera-daemon
service qcamerasvr /system/bin/mm-qcamera-daemon
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 39a3255..c97cfca 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -410,7 +410,7 @@ on property:init.svc.wpa_supplicant=stopped
service qmuxd /system/bin/qmuxd
class main
user root
- group radio audio bluetooth gps nfc diag qcom_diag
+ group radio audio bluetooth gps nfc diag wakelock qcom_diag
service netmgrd /system/bin/netmgrd
class main
@@ -564,7 +564,7 @@ service irsc_util /system/bin/irsc_util "/etc/sec_config"
service sensors /system/bin/sensors.qcom
class core
user root
- group root
+ group root wakelock
service qcom-sensor-sh /system/bin/sh /system/etc/init.qcom-sensor.sh
class main