mbox series

[PATCHSET,0/2] io_uring: add support for connect()

Message ID 20191123212709.4598-1-axboe@kernel.dk
Headers show
Series io_uring: add support for connect() | expand

Message

Jens Axboe Nov. 23, 2019, 9:27 p.m. UTC
Pretty trivially done, now that we support file table inheritance.
This is done in a similar fashion to the accept4() support, by adding
a __sys_connect_file() helper and using that from io_uring.

 fs/io_uring.c                 | 37 +++++++++++++++++++++++++++++++++++
 include/linux/socket.h        |  3 +++
 include/uapi/linux/io_uring.h |  1 +
 net/socket.c                  | 30 ++++++++++++++++++++--------
 4 files changed, 63 insertions(+), 8 deletions(-)