platform_system_core/fs_mgr/liblp
David Anderson adb91b0e59 remount: Detect when flashall has happened in the bootloader.
This adds a new metadata header flag to the super partition. This flag
is set when "adb remount" is used, and is implicitly cleared when
flashing.

If there is a scratch partition present on /data, we require that the
flag be set in order to proceed using overlays. If not set, scratch is
not mapped in first-stage init, and scratch images are removed later
during startup.

Bug: 297923468
Test: adb remount -R, touch file in out/, sync, flashall
Change-Id: I9cc411a1632101b5fc043193b38db8ffb9c20e7f
2023-12-14 16:00:27 -08:00
..
fuzzer Updated liblp fuzzers. 2023-10-31 12:01:53 +05:30
include/liblp remount: Detect when flashall has happened in the bootloader. 2023-12-14 16:00:27 -08:00
Android.bp Added TestPartitionOpener_group 2023-09-19 13:01:07 +05:30
builder.cpp remount: Detect when flashall has happened in the bootloader. 2023-12-14 16:00:27 -08:00
builder_test.cpp Merge "resolve merge conflicts of 21ef3ae3fd to android11-tests-dev" into android11-tests-dev am: bdf02cc54d 2021-10-20 22:10:42 +00:00
device_test.cpp Use more inclusive language for #inclusivefixit 2020-07-23 11:13:37 -07:00
images.cpp Make partition metadata write atomic 2023-10-13 15:46:28 -07:00
images.h liblp: Export WriteToImageFile given a file descriptor. 2019-11-19 17:39:19 -08:00
io_test.cpp resolve merge conflicts of 21ef3ae3fd to android11-tests-dev 2021-06-02 23:36:48 +00:00
liblp_test.h liblp: Expose MockPropertyFetcher for liblp-dependent tests. 2019-08-23 14:44:51 -07:00
OWNERS Add OWNERS for VTS module vts_core_liblp_test 2021-08-11 16:36:21 -07:00
partition_opener.cpp Merge "liblp: fix host lpdump cannot work issue" 2020-09-02 17:36:00 +00:00
property_fetcher.cpp liblp: Add PropertyFetcher. 2019-08-06 17:39:37 -07:00
reader.cpp Use more inclusive language for #inclusivefixit 2020-07-23 11:13:37 -07:00
reader.h
super_layout_builder.cpp fs_mgr: IWYU include <algorithm> for std::sort 2023-11-27 14:55:19 -05:00
super_layout_builder_test.cpp liblp: Add a helper class for building sparse-compatible super image layouts. 2023-01-31 18:46:35 -08:00
TEST_MAPPING Promote HWASan tests to presubmit. 2022-05-06 19:14:15 +00:00
test_partition_opener.cpp
test_partition_opener.h
utility.cpp fs_mgr: IWYU include <algorithm> for std::sort 2023-11-27 14:55:19 -05:00
utility.h fs_mgr: Add one space between [libfs_mgr] tag and log msg 2023-01-31 09:41:43 +00:00
utility_test.cpp liblp: Add integer overflow checks when aligning. 2020-05-05 11:37:53 -07:00
writer.cpp Use more inclusive language for #inclusivefixit 2020-07-23 11:13:37 -07:00
writer.h