diff options
Diffstat (limited to 'community/chromium/unset-madv_free.patch')
-rw-r--r-- | community/chromium/unset-madv_free.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/chromium/unset-madv_free.patch b/community/chromium/unset-madv_free.patch index f748179fc9..613d37c585 100644 --- a/community/chromium/unset-madv_free.patch +++ b/community/chromium/unset-madv_free.patch @@ -1,10 +1,10 @@ ---- third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp -+++ third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp -@@ -41,6 +41,11 @@ +--- 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 OS(LINUX) && defined(MADV_FREE) ++#if defined(OS_LINUX) && defined(MADV_FREE) +// Added in Linux 4.5, but it breaks the sandbox. +#undef MADV_FREE +#endif |