This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v4] dl-load: add memory barrier before updating the next



Hi Szabolcs,

Thanks for the comment,



>>>[BZ #21349]: race condition between dl_open and rtld lazy symbol resolve.
>>>
>>>Issue Fix: race condition between add_name_to_object  & _dl_name_match_p.
>>>One threads calling dlopen which further calls add_name_to_object &
>>>other thread trying to resolve RTLD_LAZY symbols through
>>>_dl_runtime_resolve which further calls.
>>>
> 
>this patch needs updated comments and description to
>follow the new concurrency documentation requirements.
> 
>the code looks acceptable to me.
> 
>i can try to provide comments that are acceptable and
>resubmit the patch for you if you want me to, or you
>can look at the concurrency wiki and try to come up
>with better documentation.
 
Can you please suggest the coment, I will update that one
and send the new patch, because we have updated the comment as
suggested by you in last mail.

https://sourceware.org/ml/libc-alpha/2017-03/msg00383.html

Or it would be great if you can submit the patch with acceptable comments :) .

We have updated testcase at below BugZilla link
https://sourceware.org/bugzilla/show_bug.cgi?id=21349

 
--------------------
Thanks and Regards,
Maninder Singh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]