mseal-sysmap-uprobe-mapping.patch removed from -mm tree
The quilt patch titled
Subject: mseal sysmap: uprobe mapping
has been removed from the -mm tree. Its filename was
mseal-sysmap-uprobe-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: Jeff Xu <[email protected]>
Subject: mseal sysmap: uprobe mapping
Date: Wed, 5 Mar 2025 02:17:09 +0000
Provide support to mseal the uprobe mapping.
Unlike other system mappings, the uprobe mapping is not established during program startup. However, its lifetime is the same as the process's lifetime. It could be sealed from creation.
Test was done with perf tool, and observe the uprobe mapping is sealed.
---
kernel/events/uprobes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/events/uprobes.c renamed from kernel/events/uprobes.c~mseal-sysmap-uprobe-mapping +2 -1
@@ -1703,7 +1703,8 @@ static int xol_add_vma(struct mm_struct } vma =_install_special_mapping (mm, area->vaddr,PAGE_SIZE , -VM_EXEC |VM_MAYEXEC |VM_DONTCOPY |VM_IO , +VM_EXEC |VM_MAYEXEC |VM_DONTCOPY |VM_IO | +VM_SEALED_SYSMAP , &xol_mapping);if (IS_ERR (vma)) { ret =PTR_ERR (vma);
_
Patches currently in -mm which might be from [email protected] are