[PATCHv5][PING^3][BZ #17833] _dl_close_worker() does not release inconsistent objects.

Pavel Kopyl p.kopyl@samsung.com
Thu Jul 2 22:53:00 GMT 2015



On 06/30/2015 06:12 PM, H.J. Lu wrote:
> On Tue, Jun 30, 2015 at 7:45 AM, Pavel Kopyl <p.kopyl@samsung.com> wrote:
> This patch changes DF_1_NODELETE path.  Do we have a testcase for
> sucessfully loading/unloading DF_1_NODELETE DSO with undefined
> symbols?
>
> It may have been asked before.  Can we reset unique symbols
> in _dl_open before calling _dl_close_worker?
>
Yes, I added testcases for three possible ways where we can get 
DF_1_NODELETE:
1. Unique symbols
2. Load with RTLD_NODELETE flag.
3. Link with '-z nodelete' option

 >Can we reset unique symbols in _dl_open before calling _dl_close_worker?
But I clear unique symbols exactly in 
_dl_close_worker.<https://slovari.yandex.ru/exactly/en-ru>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: delete_inconsistent_objs_v5.patch
Type: text/x-patch
Size: 8717 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150702/0c366217/attachment.bin>


More information about the Libc-alpha mailing list