Pass dir fd instead of path fd from composd to fd_server

It doesn't make sense for fd_server to receive a path FD, since it can
create by itself. It may not work when both processes are in different
SELinux domain, for example. Instead, pass a directory fd as capability.

Bug: 205750213
Test: composd_cmd forced-odrefresh
Test: atest AuthFsHostTest
Change-Id: I0baca8643858c3840efaa3023a5ec7b027c6a1d5
1 file changed
tree: 0126bb671133baee5ff973ce4fcc65b745007203
  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.