* [folded-merged] mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix.patch removed from -mm tree
@ 2023-02-10 0:46 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-02-10 0:46 UTC (permalink / raw)
To: mm-commits, surenb, 42.hyeyoo, akpm, akpm
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@linux-foundation.org>
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@google.com>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
--- 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@linux-foundation.org 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-10 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 0:46 [folded-merged] mm-replace-vma-vm_flags-direct-modifications-with-modifier-calls-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.