git: rtld: Add write-lock to case of filter loading
John Marino
marino at crater.dragonflybsd.org
Sat Apr 21 12:45:47 PDT 2012
commit a44652e6e7953fd80cb852e7c3ec792ac7d333d3
Author: John Marino <draco at marino.st>
Date: Sat Apr 21 20:52:45 2012 +0200
rtld: Add write-lock to case of filter loading
Propagate the current state of rtld_bind_lock to dlopen_object() calls
through the filter loading call chain. This fixes attempts to
write-lock the already locked rtld_bind_lock when filter loading is
initiated by relocation of dlopening dso.
Taken from: FreeBSD SVN 234170 (12 APR 2012)
Do not try to adjust stacks if dlopen_object is called too early. This
is a follow-up to FreeBSD SVN 233231 which fixed a similar issue with
object initialization code.
Taken from: FreeBSD SVN 233777 (02 APR 2012)
Summary of changes:
libexec/rtld-elf/rtld.c | 41 +++++++++++++++++++++++++----------------
1 files changed, 25 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a44652e6e7953fd80cb852e7c3ec792ac7d333d3
--
DragonFly BSD source repository
More information about the Commits
mailing list