IORING_OP_RENAMEAT behaves like renameat2(), and takes the same flags etc.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -42,6 +42,7 @@ struct io_uring_sqe { · 41 unmodified lines | |||
| 42 | __u32 statx_flags; | 42 | __u32 statx_flags; |
| 43 | __u32 fadvise_advice; | 43 | __u32 fadvise_advice; |
| 44 | __u32 splice_flags; | 44 | __u32 splice_flags; |
| 45 | __u32 rename_flags; | ||
| 45 | }; | 46 | }; |
| 46 | __u64 user_data; /* data to be passed back at completion time */ | 47 | __u64 user_data; /* data to be passed back at completion time */ |
| 47 | union { | 48 | union { |
| @@ -133,6 +134,7 @@ enum { · 85 unmodified lines | |||
| 133 | IORING_OP_REMOVE_BUFFERS, | 134 | IORING_OP_REMOVE_BUFFERS, |
| 134 | IORING_OP_TEE, | 135 | IORING_OP_TEE, |
| 135 | IORING_OP_SHUTDOWN, | 136 | IORING_OP_SHUTDOWN, |
| 137 | IORING_OP_RENAMEAT, | ||
| 136 | 138 | ||
| 137 | /* this goes last, obviously */ | 139 | /* this goes last, obviously */ |
| 138 | IORING_OP_LAST, | 140 | IORING_OP_LAST, |