Only read backing file if chunk index is in range

If the chunk index is out of range (which can be a valid read request),
simply return 0. Previously, we had to deal with fd_server when it
returned an unexpected result. Now we don't need to handle it (the
inconsistant state may still be on Android, but we don't care here).

Bug: 221847239
Test: atest AuthFsHostTest
Change-Id: I3450f496de58f2933fb3818b42e9510c56875061
1 file changed
tree: eb0c84e84f2830b4cace228ff22b940bb886acad
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. tests/
  15. virtualizationservice/
  16. vm/
  17. zipfuse/
  18. .clang-format
  19. .gitignore
  20. Android.bp
  21. OWNERS
  22. PREUPLOAD.cfg
  23. README.md
  24. 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.