DragonFly BSD
DragonFly commits List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: rtld: Add write-lock to case of filter loading


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Apr 2012 12:45:47 -0700 (PDT)

commit a44652e6e7953fd80cb852e7c3ec792ac7d333d3
Author: John Marino <draco@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



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