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>
This commit is contained in:
Jens Axboe
2020-01-08 17:59:24 -07:00
parent f8748881b1
commit cebdb98617
2 changed files with 64 additions and 6 deletions

View File

@@ -92,6 +92,7 @@ enum {
IORING_OP_MADVISE,
IORING_OP_SEND,
IORING_OP_RECV,
IORING_OP_OPENAT2,
/* this goes last, obviously */
IORING_OP_LAST,