aboutsummaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
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/init.qcom.rc
parent29835795664d62ba7997f6587c82321885094fab (diff)
Use GID "wakelock" to control access to kernel wakelock
Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r--rootdir/init.qcom.rc4
1 files changed, 2 insertions, 2 deletions
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