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

Paul Moore paul at paul-moore.com
Wed Dec 2 03:49:16 UTC 2026


On Tue, Nov 24, 2026 at 12:11 PM Lorenzo Stoakes (ARM) <ljs at kernel.org> 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 at kernel.org>
> Acked-by: Paul Moore <paul at paul-moore.com>
> Reviewed-by: Lance Yang <lance.yang at linux.dev>
> ---
>  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



More information about the Linux-security-module-archive mailing list