On Thu, Jan 22, 2026 at 04:06:19PM +0000, Lorenzo Stoakes wrote: > Now we have eliminated all uses of vm_area_desc->vm_flags, eliminate this > field, and have mmap_prepare users utilise the vma_flags_t > vm_area_desc->vma_flags field only. > > As part of this change we alter is_shared_maywrite() to accept a > vma_flags_t parameter, and introduce is_shared_maywrite_vm_flags() for use > with legacy vm_flags_t flags. > > We also update struct mmap_state to add a union between vma_flags and > vm_flags temporarily until the mmap logic is also converted to using > vma_flags_t. > > Also update the VMA userland tests to reflect this change. > > Signed-off-by: Lorenzo Stoakes <[email protected]>
Reviewed-by: Pedro Falcato <[email protected]> -- Pedro
