mm-mprotect-use-vm_access_flags.patch removed from -mm tree
The quilt patch titled
Subject: mm: mprotect: use VM_ACCESS_FLAGS
has been removed from the -mm tree. Its filename was
mm-mprotect-use-vm_access_flags.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: Kefeng Wang <[email protected]>
Subject: mm: mprotect: use VM_ACCESS_FLAGS
Date: Wed, 19 Oct 2022 11:49:43 +0800
Simplify VM_READ|VM_WRITE|VM_EXEC with VM_ACCESS_FLAGS.
Signed-off-by Kefeng Wang <[email protected]>
Cc Alex Deucher <[email protected]>
Cc "Christian König" <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Dave Hansen <[email protected]>
Cc David Airlie <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Jarkko Sakkinen <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mprotect.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/mprotect.c renamed from mm/mprotect.c~mm-mprotect-use-vm_access_flags +1 -2
@@ -756,8 +756,7 @@ static int do_mprotect_pkey(unsigned lon* If a permission is not passed to mprotect(), it must be * cleared from the VMA. */ - mask_off_old_flags =VM_READ |VM_WRITE |VM_EXEC | -VM_FLAGS_CLEAR ; + mask_off_old_flags =VM_ACCESS_FLAGS |VM_FLAGS_CLEAR ; new_vma_pkey =arch_override_mprotect_pkey (vma, prot, pkey); newflags =calc_vm_prot_bits (prot, new_vma_pkey);
_
Patches currently in -mm which might be from [email protected] are