From eb90518961ca5f00bd832429be840600ce305fb4 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 10 Apr 2020 13:19:04 +0000 Subject: three parts --- vm_control/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_control/src/lib.rs') 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 { -- cgit 1.4.1