This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch] Define secure_getenv
On 7/13/2012 9:35 AM, Florian Weimer wrote:
> $ readelf -s --wide libc.so | grep secure_getenv
> 851: 00000000000378c0 27 FUNC GLOBAL DEFAULT 12 __secure_getenv@GLIBC_2.2.5
> 1702: 00000000000378c0 27 FUNC GLOBAL DEFAULT 12 secure_getenv@@GLIBC_2.16
> 4649: 00000000000378c0 27 FUNC LOCAL DEFAULT 12 __GI_secure_getenv
> 6819: 00000000000378c0 27 FUNC GLOBAL DEFAULT 12 __secure_getenv@GLIBC_2.2.5
> 6843: 00000000000378c0 27 FUNC GLOBAL DEFAULT 12 secure_getenv
> $ readelf -s --wide hesiod/libnss_hesiod.so | grep secure_getenv
> 25: 0000000000000000 0 FUNC GLOBAL DEFAULT UND secure_getenv@GLIBC_2.16 (7)
> 119: 0000000000000000 0 FUNC GLOBAL DEFAULT UND secure_getenv@@GLIBC_2.16
>
> Is this acceptable?
>
> (I'm using GLIBC_2.16 for testing because there isn't a GLIBC_2.17 or GLIBC_2.18 on the trunk. Eventually, it will be GLIBC_2.18.)
>
>
One last thing...
... it needs a testcase.
Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026