diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2017-03-01 18:24:46 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2017-03-02 00:30:58 +0800 |
commit | 32232724fbb21bba8aafa9e40036ace7f1c619db (patch) | |
tree | 80fbf46bbcc27a6125621570ac657020164b53c1 /libutils/ProcessCallStack.cpp | |
parent | b6cb9b0457bf4101f8872d88935b5a7ee6d6ea4a (diff) |
init: skip early mount in recovery mode
We don't need early mount in recovery mode for security considerations,
e.g., users should explicitly select 'mount /system' from the recovery
menu. This CL checks the existence of file "/sbin/recovery" and skip
early mount when it is found.
Bug: 35853576
Test: early mount /vendor without dm-verity on sailfish
Test: early mount not happen in recovery mode on sailfish
Change-Id: I69cc96f6fd0de6ce493082921738a958dd571115
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions