From: Jens Axboe <axboe@kernel.dk>
To: linux-block@vger.kernel.org, Ming Lei <ming.lei@redhat.com>
Subject: Re: [PATCH] ublk: don't allow user copy for unprivileged device
Date: Wed, 16 Oct 2024 08:08:34 -0600 [thread overview]
Message-ID: <172908771463.7156.1054660987028664043.b4-ty@kernel.dk> (raw)
In-Reply-To: <20241016134847.2911721-1-ming.lei@redhat.com>
On Wed, 16 Oct 2024 21:48:47 +0800, Ming Lei wrote:
> UBLK_F_USER_COPY requires userspace to call write() on ublk char
> device for filling request buffer, and unprivileged device can't
> be trusted.
>
> So don't allow user copy for unprivileged device.
>
>
> [...]
Applied, thanks!
[1/1] ublk: don't allow user copy for unprivileged device
commit: 42aafd8b48adac1c3b20fe5892b1b91b80c1a1e6
Best regards,
--
Jens Axboe
next prev parent reply other threads:[~2024-10-16 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-16 13:48 [PATCH] ublk: don't allow user copy for unprivileged device Ming Lei
2024-10-16 14:08 ` Jens Axboe [this message]
2024-10-16 14:08 ` Jens Axboe
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=172908771463.7156.1054660987028664043.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.