提交 0b21a07c 编写于 作者: T Trutz Behn 提交者: Rich Felker

make fsync, fdatasync, and msync cancellation points

these are mandatory cancellation points per POSIX, so their omission
was a conformance bug.
上级 2d67ae92
......@@ -3,5 +3,5 @@
int msync(void *start, size_t len, int flags)
{
return syscall(SYS_msync, start, len, flags);
return syscall_cp(SYS_msync, start, len, flags);
}
......@@ -3,5 +3,5 @@
int fdatasync(int fd)
{
return syscall(SYS_fdatasync, fd);
return syscall_cp(SYS_fdatasync, fd);
}
......@@ -3,5 +3,5 @@
int fsync(int fd)
{
return syscall(SYS_fsync, fd);
return syscall_cp(SYS_fsync, fd);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册