commit | 5785f27eb591530e4bad231451114d8cb39b5ab2 | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@fuchsia.infra.roller.google.com> | Tue Mar 18 14:07:11 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 18 14:08:50 2025 -0700 |
tree | 8360257c01a8779ec3bbae2d1798c45745f1d772 | |
parent | 3437f2b0beacc07c42170b6df2ec3994e973fd11 [diff] |
[roll] Roll fuchsia [zxio] Update zxio_create() on unknown type to successfully wrap When zxio_create() is passed a valid handle to an object whose type it does not understand it wraps the handle in a "holder" object that can close the handle or provide it back to a caller. This allows zxio to wrap any sort of handle in a zxio object. This change updates the return value of this case to ZX_OK to make it easier for callers to understand that the object is still valid. This handle holder behavior is useful for transferring handles via zxio objects in some APIs - for example to wrap an arbitrary handle in an fd to pass it through a binder protocol. Previously this case returned ZX_ERR_NOT_SUPPORTED. This error case was used during the fdio to zxio transition so that fdio could first ask zxio to wrap a handle and if it was not something that zxio understood fdio could then apply its own wrapping logic. That transition was completed some time ago and so this confusing error handling is no longer needed. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1231204 Original-Revision: c8bef371ec81e410a7c91d7e8bd337dd6615c636 GitOrigin-RevId: c4718ef10d395d0da920e5e14a45c6287b369bb0 Change-Id: I1a2bb2599c2c4d8b2c26aeef4881e39f8b32693c
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
.