mirror of
git://git.musl-libc.org/musl
synced 2025-02-02 03:51:41 +00:00
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:
parent
2d67ae923d
commit
0b21a07c78
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user