Ignore epoll syscalls

master
Harry Cheng 5 years ago
parent ac4e843133
commit 4731278a0b

@ -154,8 +154,10 @@ impl Syscall<'_> {
SYS_PPOLL => {
self.sys_ppoll(args[0] as *mut PollFd, args[1], args[2] as *const TimeSpec)
} // ignore sigmask
SYS_EPOLL_CREATE1 => self.unimplemented("epoll_create1", Err(SysError::ENOSYS)),
SYS_EPOLL_CREATE1 => self.unimplemented("epoll_create1", Ok(0)),
SYS_EPOLL_CTL => self.unimplemented("epoll_ctl", Err(SysError::EPERM)),
SYS_EPOLL_WAIT => self.unimplemented("epoll_wait", Ok(0)),
SYS_EPOLL_PWAIT => self.unimplemented("epoll_pwait", Ok(0)),
// file system
SYS_STATFS => self.unimplemented("statfs", Err(SysError::EACCES)),

Loading…
Cancel
Save