]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb26589fc6630097caba490f8eda5c47dc79b5ec2
tree2d7a5db66e52b07426c4a705f0789648b9557cb3
parent169f4949e2dc59d114f1f3c9a4ceb9f6bd1a6cba
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