aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-27 01:13:30 +0100
committerJens Axboe <axboe@kernel.dk>2022-10-07 12:25:30 -0600
commitd7cce96c449e35bbfd41e830b341b95973891eed (patch)
tree8e95e41c02cad381a5835910d1492a3bad221339 /include/linux
parentio_uring: remove io_register_submitter (diff)
downloadlinux-dev-d7cce96c449e35bbfd41e830b341b95973891eed.tar.xz
linux-dev-d7cce96c449e35bbfd41e830b341b95973891eed.zip
io_uring: limit registration w/ SINGLE_ISSUER
IORING_SETUP_SINGLE_ISSUER restricts what tasks can submit requests. Extend it to registration as well, so non-owning task can't do registrations. It's not necessary at the moment but might be useful in the future. Cc: <stable@vger.kernel.org> # 6.0 Fixes: 97bbdc06a444 ("io_uring: add IORING_SETUP_SINGLE_ISSUER") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f52a6a9c8a8990d4a831f73c0571e7406aac2bba.1664237592.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions