From 2f5af1ae5941bb0d2a494dd664937faf427b4193 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Mon, 23 Sep 2019 16:01:32 -0700 Subject: [PATCH] flo: 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.deb.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.deb.rc b/rootdir/etc/init.deb.rc index 17cee1f..8c53550 100644 --- a/rootdir/etc/init.deb.rc +++ b/rootdir/etc/init.deb.rc @@ -315,6 +315,7 @@ service charger /charger class charger user system group system graphics input + capabilities SYS_BOOT critical seclabel u:r:charger:s0