[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 06/13] selinuxfs: convert mmap hooks to mmap_prepare



On Tue, Nov 24, 2026 at 9:04 AM Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
> ---
>  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.

-- 
paul-moore.com



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.