diff options
author | David Ng <dave@codeaurora.org> | 2015-08-28 17:20:18 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:22:43 -0600 |
commit | 7c93b040acbc048a25ea873609cb7374903ce9f4 (patch) | |
tree | 36dec1421ad54c6de3c92ffcf41a5a5751f4fb30 /init/bootchart.cpp | |
parent | 725a8913291aa88d1ba55f4ca888a5f0bf06c742 (diff) | |
download | system_core-7c93b040acbc048a25ea873609cb7374903ce9f4.zip system_core-7c93b040acbc048a25ea873609cb7374903ce9f4.tar.gz system_core-7c93b040acbc048a25ea873609cb7374903ce9f4.tar.bz2 |
init: powerctl: Reject "keys*" reboot reason unless in recovery
Reject all reboot reason starting with "keys" unless in
recovery mode. This avoids mission mode, non-root (e.g. shell)
users for triggering privileged reboot modes.
Change-Id: I3727d0a92627a6cdf5f762ac61625c30bfa88946
Diffstat (limited to 'init/bootchart.cpp')
0 files changed, 0 insertions, 0 deletions