diff options
author | Trutz Behn <me@trutz.be> | 2015-01-28 18:46:54 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-30 22:05:40 -0500 |
commit | 0b21a07c783d18051d86b1d6ddc04a8ea716a12f (patch) | |
tree | 5f1a454bdb773129421c8a282aecaa47f61ba1c0 /src/mman | |
parent | 2d67ae923d11d766d9a6cea714fa487b52579f6a (diff) | |
download | musl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.gz musl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.xz musl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.zip |
make fsync, fdatasync, and msync cancellation points
these are mandatory cancellation points per POSIX, so their omission was a conformance bug.
Diffstat (limited to 'src/mman')
-rw-r--r-- | src/mman/msync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mman/msync.c b/src/mman/msync.c index bb20475b..fcd8cdf9 100644 --- a/src/mman/msync.c +++ b/src/mman/msync.c @@ -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); } |