diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2019-09-23 16:01:32 -0700 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2020-10-22 14:55:13 +0100 |
| commit | 4e7524e5a19ad39047be3641a77d12501a095e62 (patch) | |
| tree | 58042cb865f1c93c8ad74da2bb5a8dfb6bc01fd3 /rootdir | |
| parent | a58862c40aa7165da01d44ac6e247296a83ca17a (diff) | |
pro1: 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
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.qcom.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index f6e0b5a..8d53bb2 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -422,6 +422,7 @@ service charger /system/bin/charger class charger user system group system graphics input + capabilities SYS_BOOT seclabel u:r:charger:s0 service init-btlfp-sh /vendor/bin/init.btlfp.sh |
