mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
fa159ee24a
"stdfd" replaces the dbus::arg::OwnedFd type with the OwnedFd from the standard library (std::os::fd::OwnedFd), which allows safe conversion. Also use SafeDescriptor::try_from() to clone the descriptor rather than base::clone_descriptor(), which returns an unmanaged RawDescriptor. BUG=b:327639547 Change-Id: Ifa1e6b783217e946c027e4db9a6202b39c92936e Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5354030 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
update_bindings.sh |
Crosvm version of ChromeOS's system_api
system_api is used by ChromeOS to interact with other system services and mainly contains automatically generated bindings for dbus services and proto types.
The ground truth for this crate is in the ChromeOS codebase at platform2/system_api.
To allow us to build ChromeOS features in upstream crosvm, we need to copy a subset of the generated
files into this repository. The update_bindings.sh
script can be used to update them.
Note: Originally, the ChromeOS build would replace this crate with the ChromeOS platform2/system_api crate. This is no longer the case and crosvm will always be built against the version in this directory.