Re: [PATCH v2 08/11] selinux: convert VMA flag tests to use vma_flags_t

From: Paul Moore

Date: Tue Dec 01 2026 - 22:49:40 EST


On Tue, Nov 24, 2026 at 12:11 PM Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> wrote:
>
> Replace use of the legacy vm_flags_t flags with vma_flags_t values in the
> SELinux mmap backing file and mprotect LSM hooks.
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
> Acked-by: Paul Moore <paul@xxxxxxxxxxxxxx>
> Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>
> ---
> security/selinux/hooks.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

As it doesn't appear this has been picked up yet (?), I've gone ahead
and merged this patch into selinux/dev. If you would prefer this to
go up via some other means let me know so I can drop it.

--
paul-moore.com