platform_system_core/fs_mgr/libsnapshot
Alessio Balsini aab166132a libsnapshot: COW size is computed within the container capability
Enforce the checking of what chunk/sector/byte is written to the COW
size calculator to avoid possible overflows in the container.
If an undesired behavior occurs, the COW computation is aborted and,
the class user will be notified with an empty returned value.

Bug: 176972301
Test: vts_libsnapshot_test
Change-Id: I29f7909780853434a09032c27c943f505c6d0d19
2021-02-16 11:08:21 +00:00
..
android/snapshot libsnapshot: Communicate compression status to update_engine. 2021-02-04 18:44:08 -08:00
corpus libsnapshot_fuzzer: add initial corpus 2020-05-06 17:10:34 -07:00
include/libsnapshot libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
include_test/libsnapshot libsnapshot: Add a test for when partitions shrink and grow simultaneously. 2021-01-26 14:48:09 -08:00
update_engine libsnapshot: Only enable compression when the corresponding bit is set in DeltaArchiveManifest. 2021-01-21 15:15:40 -08:00
Android.bp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
cow_api_test.cpp libsnapshot: Set default cluster size to 200 2021-01-12 20:06:20 -08:00
cow_decompress.cpp libsnapshot: Add support for brotli compression. 2020-09-15 16:15:33 -07:00
cow_decompress.h libsnapshot: Add support for brotli compression. 2020-09-15 16:15:33 -07:00
cow_format.cpp libsnapshot: Group CowOperations into clusters 2020-12-02 21:31:22 -08:00
cow_reader.cpp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
cow_snapuserd_test.cpp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
cow_writer.cpp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
device_info.cpp libsnapshot: Remove special-case code for first-stage init. 2020-11-23 04:14:08 +00:00
device_info.h libsnapshot: Remove special-case code for first-stage init. 2020-11-23 04:14:08 +00:00
dm_snapshot_internals.h libsnapshot: COW size is computed within the container capability 2021-02-16 11:08:21 +00:00
estimate_cow_from_nonab_ota.cpp reland: Rename Flush to Finalize 2020-10-22 02:34:26 -07:00
fuzz.sh Rename native code coverage paths env. variable in libsnapshot's fuzz test. 2020-06-10 13:04:53 +01:00
fuzz_utils.cpp libsnapshot_fuzzer: use protobuf 2020-04-30 23:05:36 -07:00
fuzz_utils.h Reland "libsnapshot_fuzzer: Add tests" 2020-05-15 14:34:01 -07:00
inspect_cow.cpp libsnapshot: Add decompression check to Inspect_Cow 2020-12-28 18:20:19 -08:00
make_cow_from_ab_ota.cpp libsnapshot: Support cluster_ops in make_cow_from_ab_ota 2020-12-02 21:31:23 -08:00
OWNERS Add balsini@ as libsnapshot owner 2020-01-09 10:11:45 +00:00
partition_cow_creator.cpp libsnapshot: COW size is computed within the container capability 2021-02-16 11:08:21 +00:00
partition_cow_creator.h libsnapshot: COW size is computed within the container capability 2021-02-16 11:08:21 +00:00
partition_cow_creator_test.cpp libsnapshot: COW size is computed within the container capability 2021-02-16 11:08:21 +00:00
power_test.cpp libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
PowerTest.md libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
return.cpp libsnapshot: delete WaitForMerge. 2020-03-03 13:19:49 -08:00
run_power_test.sh libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
snapshot.cpp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
snapshot_fuzz.cpp Use more inclusive language for #inclusivefixit 2020-07-23 11:13:37 -07:00
snapshot_fuzz_utils.cpp libsnapshot_fuzzer: Properly unmap images 2020-05-15 17:05:26 -07:00
snapshot_fuzz_utils.h libsnapshot: Remove special-case code for first-stage init. 2020-11-23 04:14:08 +00:00
snapshot_metadata_updater.cpp Merge "libsnapshot: Properly set partial_update_" 2020-07-31 23:02:05 +00:00
snapshot_metadata_updater.h Update libsnapshot to handle partial update 2020-06-09 12:53:45 -07:00
snapshot_metadata_updater_test.cpp libsnapshot_test: skip global setup on non-VAB devices. 2020-08-06 17:21:50 -07:00
snapshot_reader.cpp libsnapshot: Group CowOperations into clusters 2020-12-02 21:31:22 -08:00
snapshot_reader.h libsnapshot: Implement OpenReader for CompressedSnapshotWriter. 2020-10-26 22:30:21 -07:00
snapshot_reader_test.cpp libsnapshot: Add Initialize and InitializeAppend methods to ISnapshotWriter. 2020-10-26 22:30:21 -07:00
snapshot_stats.cpp libsnapshot: Communicate compression status to update_engine. 2021-02-04 18:44:08 -08:00
snapshot_stub.cpp libsnapshot: Communicate compression status to update_engine. 2021-02-04 18:44:08 -08:00
snapshot_test.cpp libsnapshot: Disable the update space swap test on non-VABC. 2021-02-04 14:09:00 -08:00
snapshot_writer.cpp libsnapshot: Remove Initialize(fd, APPEND) 2020-11-05 18:38:58 -08:00
snapshotctl.cpp libsnapshot: delete InitiateMergeAndWait. 2020-03-09 16:14:30 -07:00
snapuserd.cpp libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
snapuserd.h libsnapshot:snapuserd: Batch merge copy operation 2021-02-09 23:53:49 +00:00
snapuserd.rc Add support for compressed snapshot merges in fastboot. 2021-02-04 20:21:18 -08:00
snapuserd_client.cpp libsnaphot: Refactor cow_snapuserd test 2020-12-01 20:46:01 +00:00
snapuserd_daemon.cpp snapuserd: Add a no-socket mode. 2020-12-14 00:48:50 -08:00
snapuserd_daemon.h snapuserd: Add a no-socket mode. 2020-12-14 00:48:50 -08:00
snapuserd_server.cpp libsnapshot: No transition of snapuserd during second stage init 2021-02-09 22:45:29 +00:00
snapuserd_server.h libsnapshot: Fix a race condition in WaitForDelete. 2021-01-12 23:21:57 -08:00
test_helpers.cpp libsnapshot: Add a test for when partitions shrink and grow simultaneously. 2021-01-26 14:48:09 -08:00
utility.cpp libsnapshot: Pass the correct source device to snapuserd. 2021-01-20 18:17:08 -08:00
utility.h libsnapshot: Pass the correct source device to snapuserd. 2021-01-20 18:17:08 -08:00