From fb76bf8143cd0af4f8b6e83ab49c799237b46ee9 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Sun, 22 Dec 2019 22:32:05 +0530 Subject: [PATCH] sanders: 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 Signed-off-by: Melvin --- 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 eb76f0e..c8ec7ca 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -490,6 +490,7 @@ on post-fs-data service charger /system/bin/charger class charger user system + capabilities SYS_BOOT group system graphics input seclabel u:r:charger:s0