]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: accept directly into fixed file table
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 25 Aug 2021 11:25:47 +0000 (12:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Aug 2021 12:36:56 +0000 (06:36 -0600)
commit06a82b1da7157823d5910a642fc6b16ddf5079bd
treeaeb9649085109bd1637398e46548fea5612b8c45
parentace715a9cf91c2bebab0f6bdb2cf39fef99cf6fc
io_uring: accept directly into fixed file table

As done with open opcodes, allow accept to skip installing fd into
processes' file tables and put it directly into io_uring's fixed file
table. Same restrictions and design as for open.

Suggested-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/6d16163f376fac7ac26a656de6b42199143e9721.1629888991.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c