Hello community,

here is the log from the commit of package chromium for openSUSE:Factory 
checked in at 2016-09-20 13:26:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chromium (Old)
 and      /work/SRC/openSUSE:Factory/.chromium.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium"

Changes:
--------
--- /work/SRC/openSUSE:Factory/chromium/chromium.changes        2016-09-16 
11:02:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.chromium.new/chromium.changes   2016-09-20 
13:26:33.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Sep 17 11:36:18 UTC 2016 - tchva...@suse.com
+
+- Apply sandbox patch to fix crashers on tumbleweed bnc#999091
+  * chromium-sandbox.patch
+
+-------------------------------------------------------------------

New:
----
  chromium-sandbox.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chromium.spec ++++++
--- /var/tmp/diff_new_pack.Wxv9Qn/_old  2016-09-20 13:26:42.000000000 +0200
+++ /var/tmp/diff_new_pack.Wxv9Qn/_new  2016-09-20 13:26:42.000000000 +0200
@@ -50,6 +50,8 @@
 Patch7:         fix_network_api_crash.patch
 # PATCH-FIX-OPENSUSE gcc60-fixes.diff - Fix crashes due to the GCC6 
optimizations
 Patch8:         gcc60-fixes.diff
+# PATCH-FIX-UPSTREAM: sanbox crashers avoidance
+Patch9:         chromium-sandbox.patch
 # archlinux arm enhancement patches
 Patch100:       arm-webrtc-fix.patch
 Patch101:       arm_use_right_compiler.patch
@@ -257,6 +259,7 @@
 %if 0%{?suse_version} > 1320
 %patch8
 %endif
+%patch9 -p1
 
 # archlinux arm enhancements
 %patch100



++++++ chromium-sandbox.patch ++++++
diff -up 
chromium-52.0.2743.116/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp.madv_free
 
chromium-52.0.2743.116/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
--- 
chromium-52.0.2743.116/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp.madv_free
  2016-08-15 13:07:29.279655676 -0400
+++ 
chromium-52.0.2743.116/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
    2016-08-15 13:08:38.447317416 -0400
@@ -41,6 +41,11 @@
 #include <errno.h>
 #include <sys/mman.h>
 
+#if 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

Reply via email to