commit | 45636230226c7d6a710f4fe6eb2cafcf93a26d8b | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Fri Oct 15 17:52:51 2021 -0700 |
committer | Victor Hsieh <victorhsieh@google.com> | Fri Nov 05 08:21:14 2021 -0700 |
tree | c4e8403c187b9ecca6c32c4004bb63e5605dea7f | |
parent | 4390a9240eb5a1825dc9bdf10a909f72c451184a [diff] |
authfs: support remote output directory This change contains 3 major groups: - authfs/{aidl, fd_server}: new AIDL API and the service implementation - authfs/src: implement FUSE APIs for creating directory and file, by interact with the new service API as a client - authfs/tests, tests/: test coverage A few notable changes that might help reviewing: - Now that both AuthFs and FdService struct is no longer immutable (in order to allow writable directory), their BTreeMap are now guarded by Arc<Mutex<_>>. * AuthFs::insert_new_inode and FdService::insert_new_fd are designed specifically to allow querying then mutating the map, which isn't trivial. - File and directory modes from the user program / VFS are currently ignored (just not to grow the change size). - Some shuffling of test paths to make it easy to clean up in tearDown. Bug: 203251769 Test: AuthFsHostTest Change-Id: I50f3f1ba8a3ebd969cf0f25a8feab2ec8cb1a2dc
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.