diff options
| author | Yi Xie <xieyi@kylinos.cn> | 2026-06-30 17:12:06 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-07-01 05:37:07 -0600 |
| commit | df645b745941ea829b39134ac342f730f4d9d978 (patch) | |
| tree | c1505f102d397c9d0053952d893fd789a6e3b184 /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | 3996771b8f759729cba0a28007438c085f814d61 (diff) | |
io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap
get_unmapped_area() returns -ENOMEM when io_uring_validate_mmap_request()
fails, but validation errors are -EINVAL. Propagate that errno to
userspace, like io_uring_mmap() already does.
Signed-off-by: Yi Xie <xieyi@kylinos.cn>
Link: https://patch.msgid.link/20260630091206.126206-1-xieyi@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
