summaryrefslogtreecommitdiff
path: root/scripts/lib/abi/helpers.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-03-31 21:40:21 +0300
committerJens Axboe <axboe@kernel.dk>2025-03-31 21:41:49 +0300
commita1fbe0a12178a006b04a7fa528457f9901d6c6d0 (patch)
tree2108cd46eda139ee07154c1076ac328562826b05 /scripts/lib/abi/helpers.py
parented344511c584479ce2130d7e01a9a1e638850b0c (diff)
downloadlinux-a1fbe0a12178a006b04a7fa528457f9901d6c6d0.tar.xz
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>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions