From: Jens Axboe <axboe@kernel.dk>
To: krisman@suse.de, Yi Xie <xieyi@kylinos.cn>
Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap
Date: Wed, 01 Jul 2026 05:42:30 -0600 [thread overview]
Message-ID: <178290615011.198657.2277099553649847509.b4-ty@b4> (raw)
In-Reply-To: <20260630091206.126206-1-xieyi@kylinos.cn>
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
prev parent reply other threads:[~2026-07-01 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 6:57 [PATCH] io_uring/memmap: return PTR_ERR() from get_unmapped_area() Yi Xie
2026-06-30 9:00 ` Gabriel Krisman Bertazi
2026-06-30 9:12 ` [PATCH v2] io_uring/memmap: return -EINVAL from get_unmapped_area() on bad mmap Yi Xie
2026-07-01 11:42 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178290615011.198657.2277099553649847509.b4-ty@b4 \
--to=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=krisman@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=xieyi@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox