[PATCH] Define secure_getenv (v2)

Roland McGrath roland@hack.frob.com
Mon Aug 6 21:05:00 GMT 2012


> It failed on Linux/x32 since the earliest glibc for x32 is
> 2.16.  If I understand it correctly, GLIBC_2_16 in
> 
> #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)
> compat_symbol (libc, __libc_secure_getenv, __secure_getenv, GLIBC_2_0);
> #endif
> 
> should be GLIBC_2_17.

Yes, sorry we didn't catch that.  The second version parameter in
SHLIB_COMPAT is the first version that did not intend to expose the old
symbol for application use, not the last one that did.



More information about the Libc-alpha mailing list