summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2019-09-23 16:01:32 -0700
committerArian <arian.kulmer@web.de>2020-02-07 20:09:45 +0100
commitf99da75767c915d354990eba6d0d1e58ee32a461 (patch)
treeb32a90578f5d4d2a8565ac6512188ca908a5ab18 /rootdir
parent07c8dff56f3113b8b829edf6773d0a57d409bdc2 (diff)
shinano-common: Add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can shutdown/reboot the system. Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 298c35c..fdbfdde 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -470,6 +470,7 @@ service charger /system/bin/charger
class charger
user system
group system graphics input
+ capabilities SYS_BOOT
seclabel u:r:charger:s0
# Redefined Service