[PATCH] libdl: rudimentary locking for dlopen/dlsym/dlclose

Carmelo Amoroso carmelo73 at gmail.com
Sun Dec 18 10:21:50 UTC 2011


On 17/12/11 13:30, Will Newton wrote:
> 2011/3/24 Timo Teräs <timo.teras at iki.fi>:
>> This implements big-dlfcn lock to allow multithreaded usage of
>> dlopen/dlsym/dlclose. We should really clean up the dl code so
>> we can use more fine grained locking or even RCU where appropriate.
>> But at least we won't crash now.
>>
>> Signed-off-by: Timo Teräs <timo.teras at iki.fi>
Acked-by: Carmelo Amoroso <carmelo.amoroso at st.com>

>> ---
>>  TODO               |    1 +
>>  ldso/libdl/libdl.c |   54 +++++++++++++++++++++++++++++++++++++++++++++++----
>>  2 files changed, 50 insertions(+), 5 deletions(-)
> Hi Timo,
>
> This patch fixes a crash in an app I have been seeing. Would it be
> possible to get it committed? Unless anyone has any objections of
> course.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc



More information about the uClibc mailing list