summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-12-18 12:42:41 -0700
committerJens Axboe <axboe@kernel.dk>2020-12-18 12:43:46 -0700
commit35ce1d50f8b224be8a1aea487062bc15df496de4 (patch)
tree7b302c87eaaa7a1e3ea770a06418fef862a135ba
parentb09d1d45c390c6567c1d6ac1e1615cff4e11f274 (diff)
downloadliburing-35ce1d50f8b224be8a1aea487062bc15df496de4.tar.gz
liburing-35ce1d50f8b224be8a1aea487062bc15df496de4.tar.bz2
man/io_uring_enter.2: document new opcodes
Add documentation for IORING_OP_SHUTDOWN, IORING_OP_RENAMEAT, and IORING_OP_UNLINKAT. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.256
1 files changed, 56 insertions, 0 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index dd33c38..da20451 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -701,6 +701,62 @@ must contain the number of buffers to remove, and
must contain the buffer group ID from which to remove the buffers. Available
since 5.7.
+.TP
+.B IORING_OP_SHUTDOWN
+Issue the equivalent of a
+.BR shutdown(2)
+system call.
+.I fd
+is the file descriptor to the socket being shutdown, no other fields should
+be set. Available since 5.11.
+
+.TP
+.B IORING_OP_RENAMEAT
+Issue the equivalent of a
+.BR renameat2(2)
+system call.
+.I fd
+should be set to the
+.I olddirfd,
+.I addr
+should be set to the
+.I oldpath,
+.I len
+should be set to the
+.I newdirfd,
+.I addr
+should be set to the
+.I oldpath,
+.I addr2
+should be set to the
+.I newpath,
+and finally
+.I rename_flags
+should be set to the
+.I flags
+passed in to
+.BR renameat2(2).
+Available since 5.11.
+
+.TP
+.B IORING_OP_UNLINKAT
+Issue the equivalent of a
+.BR unlinkat2(2)
+system call.
+.I fd
+should be set to the
+.I dirfd,
+.I addr
+should be set to the
+.I pathname,
+and
+.I unlink_flags
+should be set to the
+.I flags
+being passed in to
+.BR unlinkat(2).
+Available since 5.11.
+
.PP
The
.I flags