Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c93b040 authored by David Ng's avatar David Ng Committed by Linux Build Service Account
Browse files

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
parent 725a8913
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment