From 792ed4e38d3b92c93e9aaa9636f665c08386c834 Mon Sep 17 00:00:00 2001 From: Pavlin Radoslavov Date: Mon, 23 Nov 2015 17:42:22 -0800 Subject: Use GID "wakelock" to control access to kernel wakelock Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c --- rootdir/init.camera.rc | 2 +- rootdir/init.qcom.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'rootdir') 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 -- cgit v1.2.3