linux/io_uring
Pavel Begunkov a1fbe0a121 io_uring/rsrc: check size when importing reg buffer
We're relying on callers to verify the IO size, do it inside of
io_import_fixed() instead. It's safer, easier to deal with, and more
consistent as now it's done close to the iter init site.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f9c2c75ec4d356a0c61289073f68d98e8a9db190.1743446271.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-03-31 12:41:49 -06:00
..
2025-01-28 15:10:40 -07:00
2025-02-17 05:34:45 -07:00
2025-02-17 16:43:04 -08:00
2025-03-28 17:11:20 -06:00
2025-03-07 13:41:08 -07:00
2025-02-28 19:35:37 -07:00
2025-03-28 14:55:32 -07:00
2025-03-28 13:45:52 -07:00
2025-03-28 15:07:04 -07:00
2025-01-20 13:27:58 -08:00
2024-11-13 11:44:30 -05:00
2025-03-26 17:56:00 -07:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2025-02-24 12:10:38 -07:00