commit | dd99b46f9aeae384f58203c36ed44117765fb4e7 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Thu Dec 02 17:36:15 2021 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Mon Dec 06 18:09:47 2021 -0800 |
tree | 7dff11e24ed7eef77f08d5ceb3d4f0a95cd179e6 | |
parent | 3dccf709ad52914851c17e87dbabea7a0dbd0983 [diff] |
Support unlink and rmdir The change implements the regular unlink and rmdir logic like other filesystems. That is, assuming permission, - A file can always be removed from a directory. - A directory can only be removed from the parent directory if it contains no entries. - Even after a file is deleted from the directory, one can still read and/or write through the existing FDs. The filesystem will delete the actual entry when there is no active FDs. The change focuses to ensure the integrity of AuthFS as always. AuthFS should manage FD lifetime correctly by itself. On the contrary, AuthFS does not currently close remote FDs even if it should better to. Bug: 208892249 Test: atest AuthFsHostTest ComposHostTestCases Change-Id: Iab565e85bd7111bdfe423293c271d69ced4db2ea
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.