aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/capabilities.conf
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2021-01-02 23:34:20 +0000
committerAlan Somers <asomers@FreeBSD.org>2021-01-03 02:57:58 +0000
commit022ca2fc7fe08d51f33a1d23a9be49e6d132914e (patch)
tree3b757d6a22fe9ab1d6a9b8c7e98ee9c85b382877 /sys/kern/capabilities.conf
parent486580c44ce29c1e3b1d9b858a08d9df9428b699 (diff)
downloadsrc-022ca2fc7fe08d51f33a1d23a9be49e6d132914e.tar.gz
src-022ca2fc7fe08d51f33a1d23a9be49e6d132914e.zip
Add aio_writev and aio_readv
POSIX AIO is great, but it lacks vectored I/O functions. This commit fixes that shortcoming by adding aio_writev and aio_readv. They aren't part of the standard, but they're an obvious extension. They work just like their synchronous equivalents pwritev and preadv. It isn't yet possible to use vectored aiocbs with lio_listio, but that could be added in the future. Reviewed by: jhb, kib, bcr Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27743
Diffstat (limited to 'sys/kern/capabilities.conf')
-rw-r--r--sys/kern/capabilities.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/capabilities.conf b/sys/kern/capabilities.conf
index 3d552255d823..602ec7088fc6 100644
--- a/sys/kern/capabilities.conf
+++ b/sys/kern/capabilities.conf
@@ -100,6 +100,8 @@ aio_return
aio_suspend
aio_waitcomplete
aio_write
+aio_writev
+aio_readv
##
## audit(2) is a global operation, submitting to the global trail, but it is