mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2003-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__rtld_lock_initialize): Define. * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Call __rtld_lock_initialize for ld.so lock. Patch in part by Adam Li <adam.li@intel.com>.
This commit is contained in:
@ -151,6 +151,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. */
|
||||
__rtld_lock_initialize (GL(dl_load_lock));
|
||||
|
||||
/* Run the handlers registered for the child. */
|
||||
while (allp != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user