From a72de23da14c3e2f8229c4f381f12efddedf77a9 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Tue, 30 Jul 2019 13:29:22 -0700 Subject: msm8996-common: rootdir: Change user/group permission for for charger Make charger binary run as system instead of root. Since it needs to handle input key events, add input as a supplemental group in addition to system and graphics. Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1 --- rootdir/etc/init.qcom.power.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 3f4c624..6987c24 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -181,5 +181,6 @@ on property:init.svc.recovery=running service charger /system/bin/charger class charger - group system graphics + user system + group system graphics input seclabel u:r:charger:s0 -- cgit v1.2.3