summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-06-08 13:27:57 +0000
committerglebius <glebius@FreeBSD.org>2013-06-08 13:27:57 +0000
commit9a02f3097ddccd309eb701a3492242b74427cc2b (patch)
tree74456d69981c688882dfa80e300e43d3cc2bb64c /sys/compat/freebsd32
parentbf96f17d6fd96b6131ace044bb51efb86a5b07b6 (diff)
downloadFreeBSD-src-9a02f3097ddccd309eb701a3492242b74427cc2b.zip
FreeBSD-src-9a02f3097ddccd309eb701a3492242b74427cc2b.tar.gz
Add new system call - aio_mlock(). The name speaks for itself. It allows
to perform the mlock(2) operation, which can consume a lot of time, under control of aio(4). Reviewed by: kib, jilles Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r--sys/compat/freebsd32/syscalls.master2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index e537bc9..bcca754 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -1044,3 +1044,5 @@
__socklen_t * __restrict anamelen, \
int flags); }
542 AUE_PIPE NOPROTO { int pipe2(int *fildes, int flags); }
+543 AUE_NULL NOSTD { int freebsd32_aio_mlock( \
+ struct aiocb32 *aiocbp); }
OpenPOWER on IntegriCloud