make fsync, fdatasync, and msync cancellation points

these are mandatory cancellation points per POSIX, so their omission
was a conformance bug.
This commit is contained in:
Trutz Behn 2015-01-28 18:46:54 +01:00 committed by Rich Felker
parent 2d67ae923d
commit 0b21a07c78
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -3,5 +3,5 @@
int fdatasync(int fd)
{
return syscall(SYS_fdatasync, fd);
return syscall_cp(SYS_fdatasync, fd);
}

View File

@ -3,5 +3,5 @@
int fsync(int fd)
{
return syscall(SYS_fsync, fd);
return syscall_cp(SYS_fsync, fd);
}