android_system_core/fs_mgr/libfs_avb
Iris Chang 9d7d26a5cf 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
Merged-In: Idfa8caffbb96f33702b1749afd2e2a59616ddba7
(cherry picked from commit 705fd7f52c)
2019-05-08 08:04:33 +08:00
..
include/fs_avb init: add umount_all builtin. 2019-04-15 10:22:57 -07:00
tests init: add umount_all builtin. 2019-04-15 10:22:57 -07:00
Android.bp libfs_avb: adding two public APIs 2019-02-12 22:03:20 +08:00
avb_ops.cpp avb_ops: support reading from a logical partition 2019-04-12 08:44:55 +08:00
avb_ops.h avb_ops: support reading from a logical partition 2019-04-12 08:44:55 +08:00
avb_util.cpp Fix device mapper name clashes on non-A/B devices. 2019-03-22 13:47:27 -07:00
avb_util.h libfs_avb: Pass const string by reference 2019-02-28 06:34:25 -08:00
fs_avb.cpp Support booting a chained boot-debug.img 2019-05-08 08:04:33 +08:00
fs_avb_util.cpp libfs_avb: adding two public APIs 2019-02-12 22:03:20 +08:00
run_tests.sh libfs_avb: adding two public APIs 2019-02-12 22:03:20 +08:00
sha.h fs_mgr: move AVB related source into libfs_avb 2018-11-29 22:21:33 +08:00
TEST_MAPPING Move the tests to postsubmit group 2019-02-04 10:31:32 -08:00
types.cpp libfs_avb: adding two public APIs 2019-02-12 22:03:20 +08:00
util.cpp init: add umount_all builtin. 2019-04-15 10:22:57 -07:00
util.h init: add umount_all builtin. 2019-04-15 10:22:57 -07:00