[folded-merged] mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix
has been removed from the -mm tree.  Its filename was
     mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix.patch

This patch was dropped because it was folded into mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix
Date: Tue Jan 31 12:50:59 PM PST 2023

fix drivers/misc/open-dice.c, per Hyeonggon Yoo

Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx>
Cc: Hyeonggon Yoo <42.hyeyoo@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/drivers/misc/open-dice.c~mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix
+++ a/drivers/misc/open-dice.c
@@ -95,7 +95,7 @@ static int open_dice_mmap(struct file *f
 		if (vma->vm_flags & VM_WRITE)
 			return -EPERM;
 		/* Ensure userspace cannot acquire VM_WRITE later. */
-		vm_flags_clear(vma, VM_MAYSHARE);
+		vm_flags_clear(vma, VM_MAYWRITE);
 	}
 
 	/* Create write-combine mapping so all clients observe a wipe. */
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls.patch
kasan-infer-allocation-size-by-scanning-metadata-fix.patch
shmem-add-shmem_read_folio-and-shmem_read_folio_gfp-fix.patch
lib-stackdepot-mm-rename-stack_depot_want_early_init-fix.patch
lib-stackdepot-annotate-racy-slab_index-accesses-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux