commit | 60f82201e9bd34ed9189fd9c2a494ffa66e08325 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Fri Oct 07 16:40:07 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Fri Oct 07 16:43:15 2022 +0100 |
tree | 65c924d189aac933c3551c9e578f0fccda7cfe7c | |
parent | 38d00f82a5b547e21059e012b06c869267843151 [diff] |
Fix zipfuse race condition We mount the APK by running zipfuse (asynchronously), and then try to run the payload from within it. There is a race condition - if the mount hasn't happened, the payload binary won't appear. This showed up when I switched to config-less VMs (so we no longer read the JSON configuration between the two operations) - but only on cuttlefish, and only in non-debug mode. Fix it by using a property to signal when the mount has completed. Bug: 243513572 Test: atest MicrodroidTests (locally & via acloud) Change-Id: Ib777e7f28afafebd128f8e0c149d485ab9351273
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.