Add syscall eventfd and eventfd2

This commit is contained in:
Jianfeng Jiang
2023-12-04 07:21:31 +00:00
committed by Tate, Hongliang Tian
parent ccc4e6ec6b
commit 078f9a8891
12 changed files with 378 additions and 19 deletions

View File

@ -80,7 +80,7 @@ pub trait FileLike: Send + Sync + Any {
}
fn seek(&self, seek_from: SeekFrom) -> Result<usize> {
return_errno_with_message!(Errno::EINVAL, "seek is not supported");
return_errno_with_message!(Errno::ESPIPE, "seek is not supported");
}
fn clean_for_close(&self) -> Result<()> {