summaryrefslogtreecommitdiffstats
path: root/lib/libc/include
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-08-29 05:37:03 +0000
committerkib <kib@FreeBSD.org>2016-08-29 05:37:03 +0000
commit09b81d30ae629d75d03972b872eab71e24605bb6 (patch)
treef0c2fcd24a02aa2f753b25937950603a6eabf3be /lib/libc/include
parentfd2de0ec5da557cf8b56bdc4da12d66bbd506603 (diff)
downloadFreeBSD-src-09b81d30ae629d75d03972b872eab71e24605bb6.zip
FreeBSD-src-09b81d30ae629d75d03972b872eab71e24605bb6.tar.gz
MFC r304209:
The fdatasync(2) call must be cancellation point.
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/libc_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index 8c4d72d..cf346f1 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -228,6 +228,7 @@ enum {
INTERPOS_wait6,
INTERPOS_ppoll,
INTERPOS_map_stacks_exec,
+ INTERPOS_fdatasync,
INTERPOS_MAX
};
@@ -318,6 +319,7 @@ int __sys_clock_gettime(__clockid_t, struct timespec *ts);
int __sys_close(int);
int __sys_connect(int, const struct sockaddr *, __socklen_t);
int __sys_fcntl(int, int, ...);
+int __sys_fdatasync(int);
int __sys_fsync(int);
__pid_t __sys_fork(void);
int __sys_ftruncate(int, __off_t);
OpenPOWER on IntegriCloud