[roll] Roll fuchsia [fdio] Migrate fdio_open_fd/fdio_open_fd_at to io2

Reuse flag translation where possible and cleanup indirection when
making wire calls. Rename methods to better reflect our intention to
eventually remove them where possible, and defer to the new Open method
where possible.

Document that fdio open functions will return `ZX_ERR_BAD_HANDLE`
instead of `ZX_ERR_INVALID_ARGS` when the passed handle is invalid. This
matches what most callers already expect, with the exception of
//sdk/lib/svc which has been updated in this CL. Remove existing code in
fdio that handled returning `ZX_ERR_UNAVAILABLE` only for the
`fdio_service_connect_at` function also for //sdk/lib/svc.

Original-Bug: 324111518
Original-Bug: 376575307
Test: fx test //sdk/lib/fdio
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1212104
Original-Revision: 2aac80cb17fc40f32305cc40fd71edf6e36ea85b
GitOrigin-RevId: 9e9b48eb07d66cbd9f53ef8b19079ceba13c8939
Change-Id: I3b73c226fd2e15bafce889b50f6c95920cfb1036
1 file changed
tree: 8e7193f46056a8f0dba76614c2522fc71cd905b8
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.