Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2017-10-30 21:18:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Mon Oct 30 21:18:31 2017 rev:168 rq:537391 version:62.0.3202.75 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2017-10-28 14:23:00.400651550 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new/chromium.changes 2017-10-30 21:18:31.367114356 +0100 @@ -1,0 +2,6 @@ +Sun Oct 29 08:18:37 UTC 2017 - [email protected] + +- Add patch to fix sandbox crashes wrt bsc#1064298 + * chromium-sandbox.patch + +------------------------------------------------------------------- New: ---- chromium-sandbox.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.y6wkte/_old 2017-10-30 21:18:44.554634877 +0100 +++ /var/tmp/diff_new_pack.y6wkte/_new 2017-10-30 21:18:44.562634587 +0100 @@ -71,6 +71,7 @@ Patch15: chromium-gcc5.patch Patch16: chromium-60.0.3112.113-breakpad-ucontext.patch Patch17: chromium-62.0.3202.62-correct-cplusplus-check.patch +Patch18: chromium-sandbox.patch # GN buildsystem related patches Patch200: chromium-last-commit-position-r0.patch Patch201: fix-gn-bootstrap.diff @@ -259,6 +260,7 @@ %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 # Copy the toolchain settings mkdir toolchain ++++++ chromium-sandbox.patch ++++++ diff --git a/sandbox/linux/services/namespace_sandbox.cc b/sandbox/linux/services/namespace_sandbox.cc index 3e5bba3bd43c..53d530ca0af5 100644 --- a/sandbox/linux/services/namespace_sandbox.cc +++ b/sandbox/linux/services/namespace_sandbox.cc @@ -105,8 +105,7 @@ struct glibc_pthread { }; pid_t GetGlibcCachedTid() { - pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; - CHECK_EQ(0, pthread_mutex_init(&lock, nullptr)); + pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; CHECK_EQ(0, pthread_mutex_lock(&lock)); pid_t tid = lock.__data.__owner; CHECK_EQ(0, pthread_mutex_unlock(&lock));
