This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch] Define secure_getenv
On 7/17/2012 10:21 AM, Andreas Schwab wrote:
> Florian Weimer <fweimer@redhat.com> writes:
>
>> Does this mean I should switch to three names? Or should I try to get
>> __secure_getenv exported under GLIBC_PRIVATE and use that from those other
>> libraries?
>
> The method used for sunrpc to produce compat symbols that are only
> linkable during build could be extended to the __secure_getenv symbol,
> so that the reference in libnss_hesiod.so could remain as-is.
That sounds like a largish project and we should let Florian decide if he
wants to tackle that class of problem.
As an intermediate solution we could use an additional symbol name to use
for inter-library calls.
Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026