Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Paul Moore <paul@paul-moore.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	"Juergen Gross" <jgross@suse.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>,
	"Madhavan Srinivasan" <maddy@linux.ibm.com>,
	"Nicholas Piggin" <npiggin@gmail.com>,
	"Michael Ellerman" <mpe@ellerman.id.au>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
	"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
	"Shrikanth Hegde" <sshegde@linux.ibm.com>,
	"Haiyang Zhang" <haiyangz@microsoft.com>,
	"Wei Liu" <wei.liu@kernel.org>,
	"Dexuan Cui" <decui@microsoft.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Jason Wang" <jasowangio@gmail.com>,
	"Eugenio Pérez" <eperezma@redhat.com>,
	"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
	"Jarkko Sakkinen" <jarkko@kernel.org>,
	"Dave Hansen" <dave.hansen@linux.intel.com>,
	"Thomas Gleixner" <tglx@kernel.org>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Borislav Petkov" <bp@alien8.de>,
	x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	"Jan Kara" <jack@suse.com>,
	"Stephen Smalley" <stephen.smalley.work@gmail.com>,
	"Ondrej Mosnáček" <omosnacek@gmail.com>,
	"Joel Stanley" <joel@jms.id.au>,
	"Andrew Jeffery" <andrew@codeconstruct.com.au>,
	"Ryan Chen" <ryan_chen@aspeedtech.com>,
	"Billy Tsai" <billy_tsai@aspeedtech.com>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Abel Vesa" <abelvesa@kernel.org>,
	"Jens Wiklander" <jenswi@kernel.org>,
	"Sumit Garg" <sumit.garg@kernel.org>,
	"Scott Branden" <scott.branden@broadcom.com>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Richard Cochran" <richardcochran@gmail.com>,
	"David Woodhouse" <dwmw2@infradead.org>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org,
	linux-hyperv@vger.kernel.org, virtualization@lists.linux.dev,
	linux-sgx@vger.kernel.org, selinux@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-arm-msm@vger.kernel.org,
	op-tee@lists.trustedfirmware.org, netdev@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH v2 06/13] selinuxfs: convert mmap hooks to mmap_prepare
Date: Wed, 2 Dec 2026 21:05:53 +0000	[thread overview]
Message-ID: <axCIH8JzS6jRtFtg@gremlin> (raw)
In-Reply-To: <CAHC9VhQGnnoik9ZvD4mVcuvwCXg0pz-FCzP46Ado6bwoO3-i6g@mail.gmail.com>

On Wed, Dec 02, 2026 at 04:04:18PM -0500, Paul Moore wrote:
> On Wed, Dec 2, 2026 at 11:47 AM Andrew Morton <akpm@linux-foundation.org> wrote:
> > On Wed, 2 Dec 2026 11:45:40 +0000 "Lorenzo Stoakes (ARM)" <ljs@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) <ljs@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 <paul@paul-moore.com>
> > > > > Signed-off-by: Lorenzo Stoakes (ARM) <ljs@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

LGTM and thanks very much for taking these :)

>
> --
> paul-moore.com

--
Cheers, Lorenzo

  reply	other threads:[~2026-12-02 21:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 14:02 [PATCH v2 00/13] mm: convert further simple mmap hooks to mmap_prepare Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 01/13] xen/privcmd: convert mmap hook " Lorenzo Stoakes (ARM)
2026-11-24 15:13   ` Jürgen Groß
2026-11-24 14:02 ` [PATCH v2 02/13] KVM: PPC: Book3S: convert spapr TCE " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 03/13] mshv_vtl: convert mmap hooks " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 04/13] x86/sgx: convert vepc mmap hook " Lorenzo Stoakes (ARM)
2026-11-24 15:05   ` Dave Hansen
2026-11-24 14:02 ` [PATCH v2 05/13] udf: convert " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 06/13] selinuxfs: convert mmap hooks " Lorenzo Stoakes (ARM)
2026-12-02  3:53   ` Paul Moore
2026-12-02 11:45     ` Lorenzo Stoakes (ARM)
2026-12-02 16:47       ` Andrew Morton
2026-12-02 21:04         ` Paul Moore
2026-12-02 21:05           ` Lorenzo Stoakes (ARM) [this message]
2026-11-24 14:02 ` [PATCH v2 07/13] xen: convert xenstore interface " Lorenzo Stoakes (ARM)
2026-11-24 15:14   ` Jürgen Groß
2026-11-24 14:02 ` [PATCH v2 08/13] soc: aspeed: convert LPC and P2A control " Lorenzo Stoakes (ARM)
2026-11-24 18:53   ` Arnd Bergmann
2026-11-24 14:02 ` [PATCH v2 09/13] soc: qcom: rmtfs_mem: convert mmap hook " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 10/13] tee: convert shm " Lorenzo Stoakes (ARM)
2026-11-24 18:54   ` Arnd Bergmann
2026-11-24 14:02 ` [PATCH v2 11/13] misc: bcm-vk: convert " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 12/13] ptp: vmclock: " Lorenzo Stoakes (ARM)
2026-11-24 14:02 ` [PATCH v2 13/13] vhost-vdpa: " Lorenzo Stoakes (ARM)

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=axCIH8JzS6jRtFtg@gremlin \
    --to=ljs@kernel.org \
    --cc=abelvesa@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=andersson@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@codeconstruct.com.au \
    --cc=arnd@arndb.de \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=billy_tsai@aspeedtech.com \
    --cc=bp@alien8.de \
    --cc=chleroy@kernel.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=decui@microsoft.com \
    --cc=dwmw2@infradead.org \
    --cc=edumazet@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=haiyangz@microsoft.com \
    --cc=hpa@zytor.com \
    --cc=jack@suse.com \
    --cc=jarkko@kernel.org \
    --cc=jasowangio@gmail.com \
    --cc=jenswi@kernel.org \
    --cc=jgross@suse.com \
    --cc=joel@jms.id.au \
    --cc=konradybcio@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-sgx@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mingo@redhat.com \
    --cc=mpe@ellerman.id.au \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=npiggin@gmail.com \
    --cc=oleksandr_tyshchenko@epam.com \
    --cc=omosnacek@gmail.com \
    --cc=op-tee@lists.trustedfirmware.org \
    --cc=pabeni@redhat.com \
    --cc=paul@paul-moore.com \
    --cc=richardcochran@gmail.com \
    --cc=ritesh.list@gmail.com \
    --cc=ryan_chen@aspeedtech.com \
    --cc=scott.branden@broadcom.com \
    --cc=selinux@vger.kernel.org \
    --cc=sshegde@linux.ibm.com \
    --cc=sstabellini@kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    --cc=sumit.garg@kernel.org \
    --cc=tglx@kernel.org \
    --cc=virtualization@lists.linux.dev \
    --cc=wei.liu@kernel.org \
    --cc=x86@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xuanzhuo@linux.alibaba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox