Skip to content

Commit f212089

Browse files
committed
epoll: note a FIXME
1 parent 23fba86 commit f212089

File tree

1 file changed

+2
-0
lines changed
  • src/tools/miri/src/shims/unix/linux

1 file changed

+2
-0
lines changed

src/tools/miri/src/shims/unix/linux/epoll.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ impl FileDescriptor for Epoll {
3535
}
3636

3737
fn dup(&mut self) -> io::Result<Box<dyn FileDescriptor>> {
38+
// FIXME: this is probably wrong -- check if the `dup`ed descriptor truly uses an
39+
// independent event set.
3840
Ok(Box::new(self.clone()))
3941
}
4042

0 commit comments

Comments
 (0)