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 | 42 | __u32 statx_flags; |
| 43 | 43 | __u32 fadvise_advice; |
| 44 | 44 | __u32 splice_flags; |
| 45 | + __u32 rename_flags; | |
| 45 | 46 | }; |
| 46 | 47 | __u64 user_data; /* data to be passed back at completion time */ |
| 47 | 48 | union { |
| @@ -133,6 +134,7 @@ enum { · 85 unmodified lines | ||
| 133 | 134 | IORING_OP_REMOVE_BUFFERS, |
| 134 | 135 | IORING_OP_TEE, |
| 135 | 136 | IORING_OP_SHUTDOWN, |
| 137 | + IORING_OP_RENAMEAT, | |
| 136 | 138 | |
| 137 | 139 | /* this goes last, obviously */ |
| 138 | 140 | IORING_OP_LAST, |