This is the v2 of userspace support for OP_BIND/OP_LISTEN with wrappers, manpages and tests. Beyond the requested fixes in v1, I completely rewrote the testcase to avoid pthreads and introduced more test cases. It also ensures the testcase is properly skipped for older kernels. Gabriel Krisman Bertazi (5): liburing: Add helper to prepare IORING_OP_BIND command liburing: Add helper to prepare IORING_OP_LISTEN command tests: Add test for bind/listen commands man/io_uring_prep_bind.3: Document the IORING_OP_BIND operation man/io_uring_prep_listen.3: Document IORING_OP_LISTEN operation man/io_uring_prep_bind.3 | 54 +++++ man/io_uring_prep_listen.3 | 52 +++++ src/include/liburing.h | 13 ++ src/include/liburing/io_uring.h | 2 + src/liburing-ffi.map | 2 + test/Makefile | 1 + test/bind-listen.c | 381 ++++++++++++++++++++++++++++++++ 7 files changed, 505 insertions(+) create mode 100644 man/io_uring_prep_bind.3 create mode 100644 man/io_uring_prep_listen.3 create mode 100644 test/bind-listen.c -- 2.45.2