This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Set NODELETE flag when opening already open objects with RTLD_NODELETE
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 16 Jul 2015 01:44:20 -0400
- Subject: Re: [PATCH] Set NODELETE flag when opening already open objects with RTLD_NODELETE
- Authentication-results: sourceware.org; auth=none
- References: <1436947597-3800-1-git-send-email-siddhesh at redhat dot com> <55A73AAB dot 80400 at redhat dot com> <20150716050936 dot GQ29227 at spoyarek dot pnq dot redhat dot com>
On 07/16/2015 01:09 AM, Siddhesh Poyarekar wrote:
> On Thu, Jul 16, 2015 at 01:01:31AM -0400, Carlos O'Donell wrote:
>>> + dlclose (h1);
>>> + dlclose (h2);
>>
>> How does the test verify the object was not unloaded?
>
> The *foo dereference will crash if the object was unloaded. I have
> added a comment that says this and pushed it as obvious.
>
>> Post v2?
>
> I already committed it!
Thanks. Looks good to me.
c.