diff options
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2019-07-30 13:29:22 -0700 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-02-07 20:09:45 +0100 |
commit | 07c8dff56f3113b8b829edf6773d0a57d409bdc2 (patch) | |
tree | 2ff51fd7729eb8208f14608c749310c957dda390 | |
parent | aafeb6cccdbf92b6b03da0d3d9cb42973887f175 (diff) |
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
-rw-r--r-- | rootdir/etc/init.qcom.rc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |