]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
authorDylan Yudaken <dylany@fb.com>
Tue, 12 Apr 2022 16:30:40 +0000 (09:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Apr 2022 16:46:54 +0000 (10:46 -0600)
commitce1988df6a94fd12149eafc9c75aeff72a4e1673
treea27ecd001fffc8a6557e56f09c5167cbad545670
parentd597e13798a6255156ba61c5d6801736213fee51
io_uring: verify that resv2 is 0 in io_uring_rsrc_update2

Verify that the user does not pass in anything but 0 for this field.

Fixes: 3a809e9c3880 ("io_uring: change registration/upd/rsrc tagging ABI")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220412163042.2788062-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c