Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:7439
chromium.openSUSE_Leap_42.3_Update
chromium-sandbox.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-sandbox.patch of Package chromium.openSUSE_Leap_42.3_Update
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));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor