android_packages_modules_Vi.../zipfuse
Alan Stokes 60f82201e9 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
2022-10-07 16:43:15 +01:00
..
.cargo zipfuse: supports zip on block device 2021-05-24 08:18:19 +09:00
src Fix zipfuse race condition 2022-10-07 16:43:15 +01:00
testdata zipfuse: add a test for deflate 2021-05-24 07:51:32 +09:00
Android.bp Fix zipfuse race condition 2022-10-07 16:43:15 +01:00
AndroidTest.xml
Cargo.toml zipfuse: optimize for uncompressed zip entries 2021-08-31 08:45:07 +09:00
TEST_MAPPING Move AVF tests to avf-pre/postsubmit test group 2022-08-19 15:40:57 +00:00