chromium/third_party/ashmem/patches/0004-Fixup-ashmem_get_prot_region-for-memfd.patch

diff --git a/third_party/ashmem/ashmem-dev.c b/third_party/ashmem/ashmem-dev.c
index 399ea36ce3826..6bb4977bab28d 100644
--- a/third_party/ashmem/ashmem-dev.c
+++ b/third_party/ashmem/ashmem-dev.c
@@ -235,7 +235,7 @@ int ashmem_get_prot_region(int fd) {
   int result = PROT_READ;
   const size_t page_size = (size_t)sysconf(_SC_PAGESIZE);
   void* m = mmap(NULL, page_size, PROT_READ|PROT_WRITE,
-                 MAP_PRIVATE, fd, 0);
+                 MAP_SHARED, fd, 0);
   if (m != MAP_FAILED) {
     munmap(m, page_size);
     result = PROT_READ|PROT_WRITE;