io_uring: hand code io_accept() fd installing
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 25 Aug 2021 11:25:46 +0000 (12:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Aug 2021 12:36:56 +0000 (06:36 -0600)
commita7083ad5e30767ede4ff49d7471ea9c078702db2
tree2d7a5db66e52b07426c4a705f0789648b9557cb3
parentb9445598d8c60a1379887b957024b71343965f74
io_uring: hand code io_accept() fd installing

Make io_accept() to handle file descriptor allocations and installation.
A preparation patch for bypassing file tables.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/5b73d204caa0ce979ccb98136695b60f52a3d98c.1629888991.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c