mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +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>
12 lines
282 B
TOML
12 lines
282 B
TOML
[package]
|
|
name = "system_api"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/system_api.rs"
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
dbus = { version = "0.9.7", features = ["stdfd"] }
|
|
protobuf = "3.2"
|