Sheaf · fuchsia · Fuchsia OS — fuchsia.io

Generated 2026-05-22 07:20 PDT · 212 elements · 248 findings

fuchsia.io/File.GetBackingMemory

METHOD fuchsia.io sdk/fidl/fuchsia.io/file.fidl:192

Acquires a [`zx.Handle:VMO`] representing this file, if there is one, with the requested access rights. Implementations are not required to implement files backed by VMOs so this request may fail. Additionally, implementations may only support a certain subset of the flags. Clients should be prepared with fallback behavior if this request fails. If a client specifies neither `PRIVATE_CLONE` nor `SHARED_BUFFER`, the implementation is free to choose the semantics of the returned VMO. + request `flags` a [`VmoFlags`] indicating the desired mode of access. - response `vmo` the requested [`zx.Handle:VMO`]. * error a [`zx.Status`] value indicating the failure. This method requires the following rights: * [`Rights.READ_BYTES`] if `flags` includes [`VmoFlags.READ`]. * [`Rights.WRITE_BYTES`] if `flags` includes [`VmoFlags.WRITE`]. * [`Rights.EXECUTE`] if `flags` includes [`VmoFlags.EXECUTE`].

Relationships

Documentation (1)

Tests (0)

No test references.

Examples (0)

No example references.

Gaps

Missing categories:

Findings (2)

← back to elements