From f99da75767c915d354990eba6d0d1e58ee32a461 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Mon, 23 Sep 2019 16:01:32 -0700 Subject: 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 --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'rootdir') 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 -- cgit v1.2.3