Skip to contentSkip to conversation

mseal-sysmap-generic-vdso-vvar-mapping.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Apr 1, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mseal sysmap: generic vdso vvar mapping
has been removed from the -mm tree. Its filename was
mseal-sysmap-generic-vdso-vvar-mapping.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Heiko Carstens <[email protected]>
Subject: mseal sysmap: generic vdso vvar mapping
Date: Tue, 11 Mar 2025 13:33:25 +0100

With the introduction of the generic vdso data storage the VM_SEALED_SYSMAP vm flag must be moved from the architecture specific _install_special_mapping() call [1] [2] which maps the vvar mapping to generic code.

[1] https://lkml.kernel.org/r/[email protected]
[2] https://lkml.kernel.org/r/[email protected]

---

 lib/vdso/datastore.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
lib/vdso/datastore.c renamed from lib/vdso/datastore.c~mseal-sysmap-generic-vdso-vvar-mapping +2 -1
@@ -99,7 +99,8 @@ const struct vm_special_mapping vdso_vva
 struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr)
 {
 	return _install_special_mapping(mm, addr, VDSO_NR_PAGES * PAGE_SIZE,
-					VM_READ | VM_MAYREAD | VM_IO | VM_DONTDUMP | VM_PFNMAP,
+					VM_READ | VM_MAYREAD | VM_IO | VM_DONTDUMP |
+					VM_PFNMAP | VM_SEALED_SYSMAP,
 					&vdso_vvar_mapping);
 }
 

_

Patches currently in -mm which might be from [email protected] are