summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-08-09 16:26:31 -0700
committerDavid Anderson <dvander@google.com>2019-08-12 17:10:21 -0700
commit3c0fea923b233641640b73b6f3593e6f5509bd91 (patch)
tree228c0adcf4c442d1b3cd5a222a1511322a60f2aa /libutils/ProcessCallStack_fuzz.cpp
parent92a3594b12717cadc563bfd227a255dc9f8cc92c (diff)
libsnapshot: Track the source slot across reboots.
The purpose of this is twofold. First, we need a way to detect whether the device has booted into the new slot after an update. Second, we need a quick-and-dirty test for first-stage init so it can avoid searching for snapshots if it doesn't need to. We can solve both of these problems by storing the source slot in /metadata/ota/snapshot-boot. The existence of the file implies a more complex check is needed, and the file stores the source slot. Test: libsnapshot_test gtest Bug: 139204329 Bug: 139089801 Change-Id: I919dd1c27a65734c61f3a9bdffefb32bdebd723b
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions