aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/unset-madv_free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/unset-madv_free.patch')
-rw-r--r--community/chromium/unset-madv_free.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/community/chromium/unset-madv_free.patch b/community/chromium/unset-madv_free.patch
deleted file mode 100644
index 613d37c585..0000000000
--- a/community/chromium/unset-madv_free.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- base/allocator/partition_allocator/page_allocator.cc.orig
-+++ base/allocator/partition_allocator/page_allocator.cc
-@@ -17,6 +17,11 @@
- #include <errno.h>
- #include <sys/mman.h>
-
-+#if defined(OS_LINUX) && defined(MADV_FREE)
-+// Added in Linux 4.5, but it breaks the sandbox.
-+#undef MADV_FREE
-+#endif
-+
- #ifndef MADV_FREE
- #define MADV_FREE MADV_DONTNEED
- #endif