From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Dominik Maier <dmnk@google.com>,
Miklos Szeredi <miklos@szeredi.hu>,
Amir Goldstein <amir73il@gmail.com>,
Alexander Viro <viro@zeniv.linux.org.uk>,
Christian Brauner <brauner@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
"Liam R . Howlett" <liam@infradead.org>,
Lorenzo Stoakes <ljs@kernel.org>
Cc: linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org,
linux-mm@kvack.org, dmnk+artist@google.com
Subject: Re: [PATCH] backing-file: enforce write seals and writable mapping in mmap
Date: Thu, 3 Dec 2026 09:33:34 +0100 [thread overview]
Message-ID: <e983d54f-bb4e-44ad-8aff-eb2c350082a6@kernel.org> (raw)
In-Reply-To: <20261203020416.3569911-1-dmnk@google.com>
On 12/3/26 03:04, Dominik Maier wrote:
> do_mmap() and mmap_region() check memfd write seals, FMODE_WRITE, and
> mapping_map_writable() on the outer file before calling ->mmap(). When
> backing_file_mmap() switches vma->vm_file onto a backing file,
Ehm, what?
Lorenzo am I daydreaming or is that completely shaky?
--
Cheers,
David
prev parent reply other threads:[~2026-12-03 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 2:04 [PATCH] backing-file: enforce write seals and writable mapping in mmap Dominik Maier
2026-12-03 8:33 ` David Hildenbrand (Arm) [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=e983d54f-bb4e-44ad-8aff-eb2c350082a6@kernel.org \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=amir73il@gmail.com \
--cc=brauner@kernel.org \
--cc=dmnk+artist@google.com \
--cc=dmnk@google.com \
--cc=liam@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-unionfs@vger.kernel.org \
--cc=ljs@kernel.org \
--cc=miklos@szeredi.hu \
--cc=viro@zeniv.linux.org.uk \
/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