summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2015-11-23 17:42:22 -0800
committerPavlin Radoslavov <pavlin@google.com>2015-12-28 14:47:19 -0800
commit507b20ceecbf2be336f93ccacd6a728c8f7dae5b (patch)
tree17d8d7c5394337f487be7541b11ac0ffbe9ccf8d
parent2b3472f6257c8742a2904d566d436b611f3f3900 (diff)
downloadhammerhead-507b20ceecbf2be336f93ccacd6a728c8f7dae5b.tar.gz
Use GID "wakelock" to control access to kernel wakelock
Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
-rw-r--r--init.hammerhead.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.hammerhead.rc b/init.hammerhead.rc
index e625020..07f1ff8 100644
--- a/init.hammerhead.rc
+++ b/init.hammerhead.rc
@@ -274,7 +274,7 @@ on property:ro.debuggable=1
service rmt_storage /system/bin/rmt_storage
class core
user root
- group system
+ group system wakelock
service bridgemgrd /system/bin/bridgemgrd
class main
@@ -285,7 +285,7 @@ service bridgemgrd /system/bin/bridgemgrd
service qmuxd /system/bin/qmuxd
class main
user radio
- group radio audio bluetooth gps
+ group radio audio bluetooth wakelock gps
service netmgrd /system/bin/netmgrd
class main
@@ -295,7 +295,7 @@ service netmgrd /system/bin/netmgrd
service sensors /system/bin/sensors.qcom
class main
user root
- group root
+ group root wakelock
service irsc_util /system/bin/irsc_util "/etc/sec_config"
class main