diff options
author | Iris Chang <iris.chang@mediatek.com> | 2019-05-06 15:20:16 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2019-05-07 09:26:49 +0000 |
commit | 705fd7f52cae7a82faeee6a8de429d746a512f77 (patch) | |
tree | 412b5413ff2e88bfc036c57418fd36186c56bfc7 /libunwindstack/tests/MemoryCacheTest.cpp | |
parent | fc78be29352653e13e4c9ecdb75ad0a166b61ee7 (diff) |
Support booting a chained boot-debug.img
boot-debug.img is introduced to allow 'adb root' if the device is
unlocked, and it cannot be release signed. If /boot partition is chained
in AVB signing and boot-debug.img is used, avb_slot_verify() in
userspace will return AVB_SLOT_VERIFY_RESULT_ERROR_PUBLIC_KEY_REJECTED
and fs_mgr will refuse to boot. This CL treats the public key rejection
as non-fatal for chained vbmeta to continue booting, if the device is
unlocked.
Bug: 129508966
Test: can root with user load which /boot chained in AVB signing
Change-Id: Idfa8caffbb96f33702b1749afd2e2a59616ddba7
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions