summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-09 01:18:09 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-30 01:46:09 +0300
commit3e4827b05d2ac2d377ed136a52829ec46787bf4b (patch)
treea3969e58dd0a55dde73d262cb771fef34bfa762c /include
parent39220e8d4a2aaab045ea03cc16d737e85d0817bf (diff)
downloadlinux-3e4827b05d2ac2d377ed136a52829ec46787bf4b.tar.xz
io_uring: add support for epoll_ctl(2)
This adds IORING_OP_EPOLL_CTL, which can perform the same work as the epoll_ctl(2) system call. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-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 98105ff8d3e6..3f7961c1c243 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -112,6 +112,7 @@ enum {
IORING_OP_SEND,
IORING_OP_RECV,
IORING_OP_OPENAT2,
+ IORING_OP_EPOLL_CTL,
/* this goes last, obviously */
IORING_OP_LAST,