[folded-merged] memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings-fix
has been removed from the -mm tree.  Its filename was
     memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings-fix.patch

This patch was dropped because it was folded into memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings-fix

reflow comment, per Christoph

Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Cc: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
Cc: Nicolas Geoffray <ngeoffray@xxxxxxxxxx>
Cc: Shuah Khan <shuah@xxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/shmem.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/shmem.c~memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings-fix
+++ a/mm/shmem.c
@@ -2217,8 +2217,8 @@ static int shmem_mmap(struct file *file,
 		 * Since an F_SEAL_FUTURE_WRITE sealed memfd can be mapped as
 		 * MAP_SHARED and read-only, take care to not allow mprotect to
 		 * revert protections on such mappings. Do this only for shared
-		 * mappings. For private mappings, don't need to mask VM_MAYWRITE
-		 * as we still want them to be COW-writable.
+		 * mappings. For private mappings, don't need to mask
+		 * VM_MAYWRITE as we still want them to be COW-writable.
 		 */
 		if (vma->vm_flags & VM_SHARED)
 			vma->vm_flags &= ~(VM_MAYWRITE);
_

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

memfd-fix-cow-issue-on-map_private-and-f_seal_future_write-mappings.patch
mm-sparse-do-not-waste-pre-allocated-memmap-space-fix.patch
mm-vmscan-simplify-lruvec_lru_size-fix-fix.patch
hugetlb-remove-duplicated-code-checkpatch-fixes.patch
hugetlb-remove-unused-hstate-in-hugetlb_fault_mutex_hash-fix.patch
mm-madvise-replace-with-page_size-in-madvise_inject_error-fix.patch
mm-annotate-refault-stalls-from-swap_readpage-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