Revert "open_then_run: open directory as path fd"

This reverts commit 9646ebf8a7a2d8a78adc595a894c24776c6d1892.

fd_server actually expects a directory FD but not path FD, especially
since it may not have the privilege to open the directory by path.
Passing the path FD doesn't really help anyway, since fd_server could
simply create one by itself.

See also commit 168040291ca4cb18996f93582336825388c59680.

Test: atest AuthFsHostTest

Change-Id: I0f28a3990f514723a143d38ea89e5dc06f442a9b
2 files changed
tree: 17df1b31a5383c93efe841dea6c5454fd4f73dfd
  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.