From ba042ba0a3d430c42e118634588a4de0ddd66d45 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Fri, 24 Jan 2020 17:13:29 +0200 Subject: [PATCH] msm8226-common: rootdir: 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(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d5c9b5e..7040b11 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -579,6 +579,7 @@ service charger /system/bin/charger class charger user system group system graphics input + capabilities SYS_BOOT seclabel u:r:charger:s0 service ds_fmc_appd /vendor/bin/ds_fmc_appd -p "rmnet0" -D