IORING_OP_BIND provides the semantic of bind(2) via io_uring. While this is an essentially synchronous system call, the main point is to enable a network path to execute fully with io_uring registered and descriptorless files.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -257,6 +257,7 @@ enum io_uring_op { · 256 unmodified lines | ||
| 257 | 257 | IORING_OP_FUTEX_WAITV, |
| 258 | 258 | IORING_OP_FIXED_FD_INSTALL, |
| 259 | 259 | IORING_OP_FTRUNCATE, |
| 260 | + IORING_OP_BIND, | |
| 260 | 261 | |
| 261 | 262 | /* this goes last, obviously */ |
| 262 | 263 | IORING_OP_LAST, |