davinci: rootdir: init.qcom.rc: 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
This commit is contained in:
Subbaraman Narayanamurthy 2019-07-30 13:29:22 -07:00 committed by Arian
parent ed256498c6
commit a9303bcee9
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -305,7 +305,8 @@ on property:ro.vendor.ril.mbn_copy_completed=1
service charger /system/bin/charger service charger /system/bin/charger
class charger class charger
group system graphics user system
group system graphics input
seclabel u:r:charger:s0 seclabel u:r:charger:s0
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf