commit | e8137e35bd8fe2e684ae6460977fa8216e00dfac | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Fri Feb 11 22:14:12 2022 +0000 |
committer | Victor Hsieh <victorhsieh@google.com> | Fri Feb 11 22:21:30 2022 +0000 |
tree | 6d75dcaf8e6a8dc9764d8a88b0f98d92461fc2e7 | |
parent | e3ee1c9d6d1e1bf15aecd677f258b25424190b1e [diff] |
authfs: instantiate read-only files lazily The earlier implementation instantiates all remote files (defined in the build manifest) at start. The instantiation includes 1) asking fd_server to create the actual FDs, and 2) fetch the file's Merkle tree. The instantiation of all files happens during AuthFS start, even if many files aren't/won't be used. This change makes the instnaitation lazy, i.e. 1) and 2) will only happen when the file is first used. Bug: 205883847 Test: atest AuthFsHostTest ComposHostTestCases Change-Id: I2e4ee48b5442b56937e212505526b2f26eaadd91
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.