diff options
author | Dmitry Kadashev <dkadashev@gmail.com> | 2021-07-08 13:34:46 +0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 13:48:33 -0600 |
commit | 7a8721f84fcb3b2946a92380b6fc311e017ff02c (patch) | |
tree | 37f17666ed6ea3b678f7777f1d5e5abe3998ef8e /include/uapi/linux/io_uring.h | |
parent | e34a02dc40c95d126bb6486dcf802bbb8d1624a0 (diff) | |
download | linux-7a8721f84fcb3b2946a92380b6fc311e017ff02c.tar.gz linux-7a8721f84fcb3b2946a92380b6fc311e017ff02c.tar.bz2 linux-7a8721f84fcb3b2946a92380b6fc311e017ff02c.zip |
io_uring: add support for IORING_OP_SYMLINKAT
IORING_OP_SYMLINKAT behaves like symlinkat(2) and takes the same flags
and arguments.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/io-uring/20210514145259.wtl4xcsp52woi6ab@wittgenstein/
Signed-off-by: Dmitry Kadashev <dkadashev@gmail.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20210708063447.3556403-11-dkadashev@gmail.com
[axboe: add splice_fd_in check]
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index a926407c230e..61fd347ab176 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -134,6 +134,7 @@ enum { IORING_OP_RENAMEAT, IORING_OP_UNLINKAT, IORING_OP_MKDIRAT, + IORING_OP_SYMLINKAT, /* this goes last, obviously */ IORING_OP_LAST, |