mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
7e803c87ca
The SafeDescriptor type manages the lifetime of the file descriptor, which simplifies the socket wrappers (each wrapper no longer needs to manually implement Drop to close the descriptor, for example). Also remove unneeded RawFd-related functions, replacing them with RawDescriptor and SafeDescriptor equivalents. BUG=None TEST=tools/dev_container tools/presubmit Change-Id: I634a19922ec24d06071b21247c79761cfc21a79a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4322266 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |