Add file RPC dup call
This commit is contained in:
parent
f7b105e11f
commit
2ad62a5ea6
@ -31,6 +31,10 @@ impl file_rpc::Server for Serv {
|
||||
fn size(&self, _fd: u64) -> Option<u64> {
|
||||
Some(self.initrd.len() as u64)
|
||||
}
|
||||
|
||||
fn dup(&self, fd: u64) -> Option<u64> {
|
||||
Some(fd)
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user