diff options
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2019-07-30 13:29:22 -0700 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2020-01-25 15:07:22 +0100 |
commit | a72de23da14c3e2f8229c4f381f12efddedf77a9 (patch) | |
tree | 1512e89f5ea525e2f895ce3db9463cca0756f9f4 /rootdir/etc | |
parent | 8c11dd5247312f6401d179e7fa65b733130c60a1 (diff) |
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
Diffstat (limited to 'rootdir/etc')
-rw-r--r-- | rootdir/etc/init.qcom.power.rc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |