commit | 7c93b040acbc048a25ea873609cb7374903ce9f4 | [log] [tgz] |
---|---|---|
author | David Ng <dave@codeaurora.org> | Fri Aug 28 17:20:18 2015 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Oct 06 03:22:43 2015 -0600 |
tree | 36dec1421ad54c6de3c92ffcf41a5a5751f4fb30 | |
parent | 725a8913291aa88d1ba55f4ca888a5f0bf06c742 [diff] |
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