Miguel 786803bc70 [fuchsia] fdio_service_connect no longer provides rights which we need (flutter/engine#39374)
fdio_service_connect no longer provides rights. Since we need the READABLE right when opening the debug/ctrl/diagnostics directories, this change uses fdio_open_at.

This change also fixes the Clone to remove specific rights and instead use CLONE_SAME_RIGHTS.

Verified locally that we no longer get ACCESS_DENIED on the diagnostics directory when opening in component manager.
2023-02-03 17:03:36 -05:00
..