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
1 file changed
tree: 40027d45ee54da36c6586e10cb3b2e83d61601b0
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. binder_common/
  6. compos/
  7. demo/
  8. docs/
  9. idsig/
  10. javalib/
  11. launcher/
  12. libs/
  13. microdroid/
  14. microdroid_manager/
  15. pvmfw/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmconfig/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. TEST_MAPPING
README.md

Virtualization

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.