Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   joerg
Date:           Thu Apr 16 14:39:58 UTC 2020

Modified Files:
        src/lib/libc/gen: pthread_atfork.c
        src/libexec/ld.elf_so: rtld.c rtld.h symbols.map

Log Message:
Introduce intermediate locking for fork, so that the dynamic linker is
in a consistent state. This most importantly avoids races between dlopen
and friends and fork, potentially resulting in dead locks in the child
when it itself tries to acquire locks.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/pthread_atfork.c
cvs rdiff -u -r1.203 -r1.204 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.138 -r1.139 src/libexec/ld.elf_so/rtld.h
cvs rdiff -u -r1.2 -r1.3 src/libexec/ld.elf_so/symbols.map

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index