2015-12-14 13:41:06 +01:00
|
|
|
Index: glibc-2.22/sysdeps/nptl/fork.c
|
|
|
|
===================================================================
|
|
|
|
--- glibc-2.22.orig/sysdeps/nptl/fork.c
|
|
|
|
+++ glibc-2.22/sysdeps/nptl/fork.c
|
|
|
|
@@ -174,8 +174,9 @@ __libc_fork (void)
|
2016-08-08 14:56:22 +02:00
|
|
|
_IO_list_resetlock ();
|
|
|
|
}
|
2015-12-14 13:41:06 +01:00
|
|
|
|
|
|
|
- /* Reset the lock the dynamic loader uses to protect its data. */
|
|
|
|
+ /* Reset the locks the dynamic loader uses to protect its data. */
|
|
|
|
__rtld_lock_initialize (GL(dl_load_lock));
|
|
|
|
+ __rtld_lock_initialize (GL(dl_load_write_lock));
|
|
|
|
|
|
|
|
/* Run the handlers registered for the child. */
|
|
|
|
while (allp != NULL)
|