[roll] Roll fuchsia [sdk][fdio] Migrate `fdio_*connect()` variants to open3
Transition `fdio_ns_service_connect` off of `fdio_ns_open` which is
deprecated, and use `fdio_ns_open3` instead with the fuchsia.io
`Flags.PROTOCOL_SERVICE` flag. This implicitly transitions
`fdio_service_connect` which uses `fdio_ns_service_connect`. Transition
`fdio_service_connect_at` to also use `fdio_open3_at` similarly.
This has two notable consequences:
1. The fdio connect functions will now *only* work with protocol
connectors. Attempts to connect to other node types will result in
the channel being closed with `ZX_ERR_WRONG_TYPE`.
2. Opening "/svc" must use `fdio_ns_open3` or another `open` function
variant, and a set of flags/permissions *must* be specified.
Typically for service directories, this is `PERM_READABLE` (r* in
component manifests) to allow all expected operations, such as
enumeration of service instances.
Original-Bug: 324111518
Original-Bug: 376575307
Test: fx test //sdk/lib/fdio //sdk/lib/sys
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1122312
Original-Revision: bb29dff14b1756d3fe8f6e97f6562e1e8955b06f
GitOrigin-RevId: 818dd9fb879526f9d94fbff23f6734e54e3e38e7
Change-Id: Ibf5af4bc3affbf58730c9dd32144a54f9c95d362
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.