summaryrefslogtreecommitdiff
path: root/include/uapi/linux/io_uring.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-09 03:59:24 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-21 03:04:04 +0300
commitcebdb98617ae3e842c81c73758a185248b37cfd6 (patch)
tree68263acb7a3b3060ab3edd983c73ce9e6466260a /include/uapi/linux/io_uring.h
parentf8748881b17dc56b3faa1d30c823f071c56593e5 (diff)
downloadlinux-cebdb98617ae3e842c81c73758a185248b37cfd6.tar.xz
io_uring: add support for IORING_OP_OPENAT2
Add support for the new openat2(2) system call. It's trivial to do, as we can have openat(2) just be wrapped around it. Suggested-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/io_uring.h')
-rw-r--r--include/uapi/linux/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 66772a90a7f2..fea7da182851 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -92,6 +92,7 @@ enum {
IORING_OP_MADVISE,
IORING_OP_SEND,
IORING_OP_RECV,
+ IORING_OP_OPENAT2,
/* this goes last, obviously */
IORING_OP_LAST,