path: root/sys/bsm
diff options
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/bsm
parent486580c44ce29c1e3b1d9b858a08d9df9428b699 (diff)
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/bsm')
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/bsm/audit_kevents.h b/sys/bsm/audit_kevents.h
index 5b37329078a1..eeb928ecafdc 100644
--- a/sys/bsm/audit_kevents.h
+++ b/sys/bsm/audit_kevents.h
@@ -660,6 +660,8 @@
#define AUE_REALPATHAT 43264 /* FreeBSD-specific. */
#define AUE_CLOSERANGE 43265 /* FreeBSD-specific. */
#define AUE_SPECIALFD 43266 /* FreeBSD-specific. */
+#define AUE_AIO_WRITEV 43267 /* FreeBSD-specific. */
+#define AUE_AIO_READV 43268 /* FreeBSD-specific. */
* Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the