Re: [GIT PULL] selinux/selinux-pr-20261119
From: Linus Torvalds
Date: Thu Nov 19 2026 - 17:18:19 EST
On Thu, 19 Nov 2026 at 13:22, Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> A single SELinux fix for Linux v7.4 to fix a problem where we were not
> properly handling MAP_SHARED_VALIDATE. Please merge for the next v7.4-rcX
> release.
Bah. Horrendous, We should probably never have passed in the raw
flags, and instead passed in the flags we actually use and have
already generated (ie 'vma_flags'). There the test is just
if (vma_flags & (VM_SHARED | VM_MAYSHARE))
because we have already decoded the odd system call arguments.
Oh well. Pulled.
Linus