commit | 3dccf709ad52914851c17e87dbabea7a0dbd0983 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Thu Dec 02 15:45:14 2021 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Mon Dec 06 17:40:03 2021 -0800 |
tree | 40027d45ee54da36c6586e10cb3b2e83d61601b0 | |
parent | cff72a25a79f348c66b5a6701e48e19d87c5ada0 [diff] |
Track inode reference count from handles With this change, we start to track all inodes' reference count by the handles. The reference count will be used when unlink/rmdir is implemented, but at this moment, there should be no behavior change / feature differences. The `inode_table` now stores `InodeState`, a new struct that contains the original `AuthFsEntry` and now the handle reference count. It will/can also be used to store metadata such as the file modes, xattrs and uid/gid (though some may not make sense on AuthFS). Bug: 208892249 Test: atest AuthFsHostTest ComposHostTestCases Change-Id: Ic48be15a8443c7cda0661ec0202151a3339a0319
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.