On Wed, Dec 2, 2026 at 11:47 AM Andrew Morton <ak…@linux-foundation.org> wrote:
> On Wed, 2 Dec 2026 11:45:40 +0000 "Lorenzo Stoakes (ARM)" <l…@kernel.org> wrote:
> > On Tue, Dec 01, 2026 at 10:53:18PM -0500, Paul Moore wrote:
> > > On Tue, Nov 24, 2026 at 9:04 AM Lorenzo Stoakes (ARM) <l…@kernel.org> wrote:
> > > >
> > > > Move from the deprecated mmap hook to the new mmap_prepare hook for the
> > > > policy and status files.
> > > >
> > > > The policy file only sets VMA flags and operations. The status file remaps
> > > > a single page, so use the PFN remap mmap action to do so.
> > > >
> > > > Acked-by: Paul Moore <pa…@paul-moore.com>
> > > > Signed-off-by: Lorenzo Stoakes (ARM) <l…@kernel.org>
> > > > ---
> > > > security/selinux/selinuxfs.c | 24 +++++++++++-------------
> > > > 1 file changed, 11 insertions(+), 13 deletions(-)
> > >
> > > Similar to the vma_flags_t patch, I didn't see this get picked up so I
> > > just merged it into the selinux/dev branch. If you are merging this
> > > via another route let me know so I can drop it.
> >
> > Andrew's taken it, but I guess similar to vma_flags_t stuff he can drop it so
> > you can keep this in your tree?
> >
> > Andrew?
>
> Yep, I've dropped "selinux: convert VMA flag tests to use vma_flags_t"
> and "selinuxfs: convert mmap hooks to mmap_prepare" "because it was
> merged into selinux/dev".
>
> - assumes that the patches weren't dependent on other things in that
> series
>
> - assumes that Paul doesn't lose the patch ;) Not a very trusting
> soul, sorry.
>
> Traditionally when this happens I hang on to the mm.git copy until broonie
> says "duplicate!", just to make sure it's safe. I'll come up with a
> less disruptive way of doing this check-it-didnt-get-lost thing.
I'm sure Andrew sent an email when he merged the patches into his
tree, but I didn't see any comments in the patchwork series saying
they had been picked up so I merged them last night while trying to
make a dent in the review backlog. My apologies for the confusion.
Regardless, both are now in the selinux/dev branch and will be sent up
to Linus during the next merge window. Please note the small tweak to
the selinuxfs/mmap patch's subject line.
7826de2fcd50 selinux: convert selinuxfs mmap hooks to mmap_prepare
cae5ac463902 selinux: convert VMA flag tests to use vma_flags_t
--
paul-moore.com