This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [V2 patch] Enhance comments in nsswitch.h
- From: Florian Weimer <fweimer at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: "Carlos O'Donell" <codonell at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 15 May 2019 08:01:11 +0200
- Subject: Re: [V2 patch] Enhance comments in nsswitch.h
- References: <xnbm04d8si.fsf@greed.delorie.com>
* DJ Delorie:
> + We define several types of pointers to try help identify the data:
> + - ptr-to-malloc'd: Pointer to data which needs freeing.
> + - ptr-to-persistent: Pointer to persistent object.
> + - ptr-to-unloadable: Pointer to unloadlable object. */
What is a pointer to an unloadable object? A DSO handle? Or is it a
heap pointer that is never freed?
Is ptr-to-persistent to a static object?
Thanks,
Florian