Re: [PATCH v2] io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap

Jens Axboe <[email protected]>
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-kernel
Message-ID <178290615011.198657.2277099553649847509.b4-ty@b4>
On Tue, 30 Jun 2026 17:12:06 +0800, Yi Xie wrote:
> 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.

Applied, thanks!

[1/1] io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap
      commit: df645b745941ea829b39134ac342f730f4d9d978

Best regards,
-- 
Jens Axboe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.