cvs commit: src/libexec/rtld-elf rtld.c
Alexander Kabaev
kan at FreeBSD.org
Wed Sep 3 01:05:51 UTC 2008
kan 2008-09-03 01:05:32 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf rtld.c
Log:
SVN rev 182698 on 2008-09-03 01:05:32Z by kan
Make sure internal rtld malloc routines are not called from unlocked
contexts as rtld's malloc is not thread safe and is only supposed to be
called with exclusive bind lock already held.
The originating PR submitted a patch on top of different pre-requisite
workaroud for unsafe dlopen calls, and the patch was midief slighlty to apply
to stock sources for the purpose of this commit. Running rtld malloc from
unlocked contexts is a bug on its own.
PR: 126950
Submited by: Oleg Dolgov
Revision Changes Path
1.127 +17 -14 src/libexec/rtld-elf/rtld.c
More information about the cvs-src
mailing list