Accepting request 348825 from Base:System
- reinitialize-dl_load_write_lock.patch: Reinitialize dl_load_write_lock on fork (BZ #19282) (forwarded request 348824 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/348825 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=198
This commit is contained in:
parent
52673bff02
commit
e83435778c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 14:46:21 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
- reinitialize-dl_load_write_lock.patch: Reinitialize dl_load_write_lock
|
||||||
|
on fork (BZ #19282)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -270,6 +270,8 @@ Patch2011: iconv-reset-input-buffer.patch
|
|||||||
Patch2012: tzset-tzname.patch
|
Patch2012: tzset-tzname.patch
|
||||||
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
||||||
Patch2013: resolv-mem-leak.patch
|
Patch2013: resolv-mem-leak.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Reinitialize dl_load_write_lock on fork (BZ #19282)
|
||||||
|
Patch2014: reinitialize-dl_load_write_lock.patch
|
||||||
|
|
||||||
# Non-glibc patches
|
# Non-glibc patches
|
||||||
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
||||||
@ -488,6 +490,7 @@ rm nscd/s-stamp
|
|||||||
%patch2011 -p1
|
%patch2011 -p1
|
||||||
%patch2012 -p1
|
%patch2012 -p1
|
||||||
%patch2013 -p1
|
%patch2013 -p1
|
||||||
|
%patch2014 -p1
|
||||||
|
|
||||||
%patch3000
|
%patch3000
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 14:46:21 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
- reinitialize-dl_load_write_lock.patch: Reinitialize dl_load_write_lock
|
||||||
|
on fork (BZ #19282)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -269,6 +269,8 @@ Patch2011: iconv-reset-input-buffer.patch
|
|||||||
Patch2012: tzset-tzname.patch
|
Patch2012: tzset-tzname.patch
|
||||||
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
||||||
Patch2013: resolv-mem-leak.patch
|
Patch2013: resolv-mem-leak.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Reinitialize dl_load_write_lock on fork (BZ #19282)
|
||||||
|
Patch2014: reinitialize-dl_load_write_lock.patch
|
||||||
|
|
||||||
# Non-glibc patches
|
# Non-glibc patches
|
||||||
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
||||||
@ -488,6 +490,7 @@ rm nscd/s-stamp
|
|||||||
%patch2011 -p1
|
%patch2011 -p1
|
||||||
%patch2012 -p1
|
%patch2012 -p1
|
||||||
%patch2013 -p1
|
%patch2013 -p1
|
||||||
|
%patch2014 -p1
|
||||||
|
|
||||||
%patch3000
|
%patch3000
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 14:46:21 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
- reinitialize-dl_load_write_lock.patch: Reinitialize dl_load_write_lock
|
||||||
|
on fork (BZ #19282)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
Wed Nov 18 15:09:30 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -270,6 +270,8 @@ Patch2011: iconv-reset-input-buffer.patch
|
|||||||
Patch2012: tzset-tzname.patch
|
Patch2012: tzset-tzname.patch
|
||||||
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
# PATCH-FIX-UPSTREAM Fix resource leak in resolver (BZ #19257)
|
||||||
Patch2013: resolv-mem-leak.patch
|
Patch2013: resolv-mem-leak.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Reinitialize dl_load_write_lock on fork (BZ #19282)
|
||||||
|
Patch2014: reinitialize-dl_load_write_lock.patch
|
||||||
|
|
||||||
# Non-glibc patches
|
# Non-glibc patches
|
||||||
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
||||||
@ -488,6 +490,7 @@ rm nscd/s-stamp
|
|||||||
%patch2011 -p1
|
%patch2011 -p1
|
||||||
%patch2012 -p1
|
%patch2012 -p1
|
||||||
%patch2013 -p1
|
%patch2013 -p1
|
||||||
|
%patch2014 -p1
|
||||||
|
|
||||||
%patch3000
|
%patch3000
|
||||||
|
|
||||||
|
15
reinitialize-dl_load_write_lock.patch
Normal file
15
reinitialize-dl_load_write_lock.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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)
|
||||||
|
/* Reset locks in the I/O code. */
|
||||||
|
_IO_list_resetlock ();
|
||||||
|
|
||||||
|
- /* 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)
|
Loading…
Reference in New Issue
Block a user