mseal-sysmap-enable-s390.patch removed from -mm tree
The quilt patch titled
Subject: mseal sysmap: enable s390
has been removed from the -mm tree. Its filename was
mseal-sysmap-enable-s390.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: enable s390
Date: Tue, 11 Mar 2025 13:33:26 +0100
Provide support for CONFIG_MSEAL_SYSTEM_MAPPINGS on s390, covering the vdso.
[[email protected]: update supported architectures]
Signed-off-by Heiko Carstens <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Jeff Xu <[email protected]>
Cc Liam Howlett <[email protected]>
Cc Sven Schnelle <[email protected]>
Cc Thomas Weißschuh <[email protected]>
Cc Vasily Gorbik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
Documentation/userspace-api/mseal.rst | 3 ++- arch/s390/Kconfig | 1 + arch/s390/kernel/vdso.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
arch/s390/Kconfig renamed from arch/s390/Kconfig~mseal-sysmap-enable-s390 +1 -0
@@ -137,6 +137,7 @@ config S390 select ARCH_SUPPORTS_DEBUG_PAGEALLOC select ARCH_SUPPORTS_HUGETLBFS select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && CC_IS_CLANG + select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS select ARCH_SUPPORTS_NUMA_BALANCING select ARCH_SUPPORTS_PER_VMA_LOCK select ARCH_USE_BUILTIN_BSWAP
arch/s390/kernel/vdso.c renamed from arch/s390/kernel/vdso.c~mseal-sysmap-enable-s390 +1 -1
@@ -80,7 +80,7 @@ static int map_vdso(unsigned long addr, vdso_text_start = vvar_start +VDSO_NR_PAGES *PAGE_SIZE ;/* VM_MAYWRITE for COW so gdb can set breakpoints */ vma =_install_special_mapping (mm, vdso_text_start, vdso_text_len, -VM_READ |VM_EXEC | +VM_READ |VM_EXEC |VM_SEALED_SYSMAP |VM_MAYREAD |VM_MAYWRITE |VM_MAYEXEC , vdso_mapping);if (IS_ERR (vma)) {
Documentation/userspace-api/mseal.rst renamed from Documentation/userspace-api/mseal.rst~mseal-sysmap-enable-s390 +2 -1
@@ -143,7 +143,8 @@ Use cases the CONFIG_MSEAL_SYSTEM_MAPPINGS seals all system mappings of this architecture. - The following architectures currently support this feature: x86-64 and arm64. + The following architectures currently support this feature: x86-64, arm64, + and s390. WARNING: This feature breaks programs which rely on relocating or unmapping system mappings. Known broken software at the time
_
Patches currently in -mm which might be from [email protected] are