diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-10 13:19:04 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-06-15 09:37:29 +0000 |
commit | eb90518961ca5f00bd832429be840600ce305fb4 (patch) | |
tree | 8415abc6314ac439b47d90305194cc88eca76146 /vm_control/src/lib.rs | |
parent | aa9ee49fdf908aef32d4363704099a0584834d4c (diff) | |
download | crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar.gz crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar.bz2 crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar.lz crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar.xz crosvm-eb90518961ca5f00bd832429be840600ce305fb4.tar.zst crosvm-eb90518961ca5f00bd832429be840600ce305fb4.zip |
three parts
Diffstat (limited to 'vm_control/src/lib.rs')
-rw-r--r-- | vm_control/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_control/src/lib.rs b/vm_control/src/lib.rs index 99fae7e..a9784b1 100644 --- a/vm_control/src/lib.rs +++ b/vm_control/src/lib.rs @@ -26,6 +26,7 @@ use sys_util::net::UnixSeqpacket; use sys_util::{error, Error as SysError, EventFd, GuestAddress, MemoryMapping, MmapError, Result}; /// A data structure that either owns or borrows a file descriptor. +// TODO: "Borrowed" should not be holding a raw file descriptor, it should be borrowing. #[derive(Debug, DeserializeWithFds, SerializeWithFds)] #[msg_socket2(strategy = "AsRawFd")] pub enum MaybeOwnedFd<Owned: AsRawFd + FromRawFd> { |