From 17cb046079651b6ad8ea8a5e826ae133a59c5352 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Fri, 6 Mar 2020 21:36:16 +0100 Subject: [PATCH] msm8976-common: rootdir: add CAP_SYS_BOOT for charger Add CAP_SYS_BOOT capability for charger service so that it can shutdown/reboot the system. --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index bde1f4b..8c5bf9b 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1426,6 +1426,7 @@ service charger /system/bin/charger user system group system graphics input group log + capabilities SYS_BOOT seclabel u:r:charger:s0 service msm_irqbal_lb /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance_little_big.conf