From 07c8dff56f3113b8b829edf6773d0a57d409bdc2 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Tue, 30 Jul 2019 13:29:22 -0700 Subject: shinano-common: 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.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index ca20c00..298c35c 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -468,7 +468,8 @@ service adsprpcd /vendor/bin/adsprpcd service charger /system/bin/charger class charger - group system graphics + user system + group system graphics input seclabel u:r:charger:s0 # Redefined Service -- cgit v1.2.3